[SR-Users] Kamailio behind NAT

Safdar Khan safdarkhan.khan at gmail.com
Thu Mar 17 08:24:22 CET 2016


Hello
I have been running kamailio on local network including rtpengine and
freeswitch.
Now i am configuring kamailio with my public IP(trying with stock kamailio
configuration to get started)
#define WITH_NAT

listen=udp:192.168.3.32:5060
listen=tcp:192.168.3.32:5060
advertised_address= "122.xx.xx.xx"
advertised_port="5060"

and also using rtpengine module at udp:192.168.3.32:22222

now the problems i am facing are
1.> UA can't register with UDP transport(not even recieving any packets at
server ,testing with IMSdroid).
2.>TCP is registering the user, but users can't make calls .
i've also noticed this error in /var/log/syslog when tcp ca't make calls

ERROR: <core> [tcp_main.c:4250]: tcpconn_main_timeout(): connect
100.68.181.111:50842 failed (timeout)

please help me out
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160317/d5c16972/attachment.html>


More information about the sr-users mailing list