[SR-Users] Kamailio realtime fails to forward register with Asterisk.

Charles Chance charles.chance at sipcentric.com
Sat Sep 14 10:08:47 CEST 2013


Hi,

Could be something network related, or firewall? I know you stated phones
could register directly to Asterisk but if nothing is showing in Asterisk
SIP log, then the requests are never getting to it.

Was your trace performed on Kamailio server or Asterisk?

Cheers,

Charles



On 13 September 2013 17:12, imperium broadcast <imperium.broadcast at gmail.com
> wrote:

> Hi all I have been trying to figure out where Im going wrong with
> following this guide:
> http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb
>
> The only thing that is different is I am using Asterisk 1.8.22.0
>
> Kamailio works fine and I am able to register a phone to it but the
> forward register fails to register with Asterisk.
>
>
> Its like Asterisk doesn't see the request even running sip debug on the
> Asterisk Console it doesn't show the register attempts. I have to use ngrep
> to see any thing.
>
> Realtime works fine when I register the phone on Asterisk.
>
> Although I can get round the register using AGI I get the same issue when
> passing a call to asterisk, Asterisk doesn't see the invite.
>
> Am I missing something so obvious :-/
>
>
> This is what I have in sip.conf
> "IP change to protect the innocent!"
>
> [kamailio-2]
> type=peer
> host=1.1.1.1
> fromdomain=1.1.1.1
> context=outgoing
> insecure=invite,port
> directmedia=nonat
> qualify=yes
> disallow=all
> allow=all
>
> and this is the sip trace  for the register
>
>
> U 2013/09/13 16:54:50.697484 1.1.1.1:5060 -> 172.16.0.110:5080
> REGISTER sip:172.16.0.110:5080 SIP/2.0.
> Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bKd5d1.80da8915.0.
> To: sip:102 at 172.16.0.110.
> From: sip:102 at 172.16.0.110;tag=533cb9e91f4b999cf76861cbb9ed54ed-65e5.
> CSeq: 10 REGISTER.
> Call-ID: 4670378d1185f5b6-25000 at 127.0.0.1.
> Content-Length: 0.
> User-Agent: kamailio (3.3.1 (x86_64/linux)).
> Contact: <sip:102 at 172.16.0.112:5060>.
> Expires: 120.
> .
>
>
> U 2013/09/13 16:54:54.697484 1.1.1.1:5060 -> 172.16.0.110:5080
> REGISTER sip:172.16.0.110:5080 SIP/2.0.
> Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bKd5d1.80da8915.0.
> To: sip:102 at 172.16.0.110.
> From: sip:102 at 172.16.0.110;tag=533cb9e91f4b999cf76861cbb9ed54ed-65e5.
> CSeq: 10 REGISTER.
> Call-ID: 4670378d1185f5b6-25000 at 127.0.0.1.
> Content-Length: 0.
> User-Agent: kamailio (3.3.1 (x86_64/linux)).
> Contact: <sip:102 at 172.16.0.112:5060>.
> Expires: 120.
>
> and I have this for my
> Asterisk binds in kamamilio.cfg
>
> #!ifdef WITH_ASTERISK
> asterisk.bindip = "172.16.0.110" desc "Asterisk IP Address"
> asterisk.bindport = "5080" desc "Asterisk Port"
> kamailio.bindip = "172.16.0.112" desc "Kamailio IP Address"
> kamailio.bindport = "5060" desc "Kamailio Port"
> #!endif
>
>
> --
> Regards
> Mick
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
www.sipcentric.com

Follow us on twitter @sipcentric <http://twitter.com/sipcentric>

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham 
B7 4EJ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130914/04bd117b/attachment.html>


More information about the sr-users mailing list