[SR-Users] Kamailio behind NAT

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 21 09:46:57 CET 2016


Hello,

do you have port 5060 forwarding from firewall to kamailio local IP address?

Cheers,
Daniel

On 17/03/16 08:24, Safdar Khan wrote:
> 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 <http://192.168.3.32:5060>
> listen=tcp:192.168.3.32:5060 <http://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
> <http://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 <http://100.68.181.111:50842> failed (timeout)
>
> please help me out 
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160321/b74101a4/attachment.html>


More information about the sr-users mailing list