[SR-Users] NAT Problem in Asterisk Realtime + Kamailio config
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Jan 27 12:49:20 CET 2011
Am 27.01.2011 12:42, schrieb andrzej.ciupek at asterisk.edu.pl:
> Hello
>
> I have started to use configuration like:
>
> http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb
>
> I works fine, but I have problem with dealing with NAT.
Make sure to add
#!define WITH_NAT
to the config
regards
klaus
>
> kamctl ul show gives me:
>
> AOR:: andrzej_104
> Contact::
> sip:andrzej_104 at 10.5.0.94:14368;rinstance=9c2b256a13210aa7 Q=
> Expires:: 46
> Callid::
> ZDUwYzIzMDNiZTI3MjkyNmFmOWEyOTI2ODcyNjVmNDg.
> Cseq:: 60
> User-agent:: eyeBeam release 1102q stamp 51814
> State:: CS_DIRTY
> Flags:: 0
> Cflag:: 0
> Socket:: udp:77.xx.yyy.zzz:5060
> Methods:: 5087
> AOR:: andrzej_103
> Contact:: sip:andrzej_103 at 10.5.0.165:5060 Q=
> Expires:: 926
> Callid:: 11631436-5060-1 at 10.5.0.165
> Cseq:: 2257
> User-agent:: Grandstream HT-502 V1.2A 1.0.3.10
> State:: CS_SYNC
> Flags:: 0
> Cflag:: 0
> Socket:: udp:77.xx.yyy.zzz:5060
> Methods:: 6879
>
> So when I have incomming call from Asterisk to Kamailio, Kamailio start
> to send call to LAN IP.
> I have tried to use help from:
> http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server
>
>
> But I have never get:
> Received:: and Cflag:: 192 it is always Cflag:: 0.
> field in my kamctl ul show.
>
> In my configuration Asterisk is Callweaver and is on the other server. I
> use rtpproxy-1.2.1 and kamailio-3.0.1 and mofified config from link:
>
> http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb
>
> Please help.
>
>
>
> _______________________________________________
> 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
More information about the sr-users
mailing list