Hello Users,
Can I use the Stun server to Support the NAT.
I tried a lot , My UAC's are Not Hungupping in Behind the NAT/Router
My SIP ip is 192.168.2.75 My Public IP is xx.xx.xx.xx
I didn't get any Bye request to SIP server, except the Bye all the other Messages are Requested to MY SIP Server
in openser.cfg i I'm using X-lites for testing in that RTP port 12222 NAT firewall ip is 192.168.2.1 Sip domain is xx.xx.xx.xx Sip proxy xx.xx.xx.xx ______________________________________________ modparam ("nathelper",rtpproxy_sock","udp:192.168.2.75:12222"
if(nat_uac_test("19")) { if(method=="REGISTER") { fix_nated_register(); force_rport(); setflag(6); } else {
if(method=="INVITE") { fix_nated_sdp("3") }; fix_nated_contact(); }; }; ______________________________________________
Hello,
stun is recommended when the client properly implements it and does not sit behind a symmetric NAT (like linux box). For these cases you need to use server side nat traversal, look at nathelper/rtpptoxy or mediaproxy/mediaproxy.
Cheers, Daniel
On 11/13/06 16:29, raviprakash sunkara wrote: