<div dir="ltr">Hello<div>I have been running kamailio on local network including rtpengine and freeswitch.<br>Now i am configuring kamailio with my public IP(trying with stock kamailio configuration to get started)<br></div><div>#define WITH_NAT </div><div><br></div><div>listen=udp:<a href="http://192.168.3.32:5060">192.168.3.32:5060</a></div><div>listen=tcp:<a href="http://192.168.3.32:5060">192.168.3.32:5060</a></div><div>advertised_address= "122.xx.xx.xx"</div><div>advertised_port="5060"</div><div><br></div><div>and also using rtpengine module at udp:<a href="http://192.168.3.32:22222">192.168.3.32:22222</a></div><div><br></div><div>now the problems i am facing are </div><div>1.> UA can't register with UDP transport(not even recieving any packets at server ,testing with IMSdroid).</div><div>2.>TCP is registering the user, but users can't make calls .</div><div>i've also noticed this error in /var/log/syslog when tcp ca't make calls</div><div><br></div><div>ERROR: <core> [tcp_main.c:4250]: tcpconn_main_timeout(): connect <a href="http://100.68.181.111:50842">100.68.181.111:50842</a> failed (timeout)<br></div><div><br></div><div>please help me out </div></div>