Thanks for the advice Flavio.
Currently I am actually pretty close with my NAT'ed OpenSIPS and NAT'ed clients. I am assuming this is because I have a simple NAT scenario with full-cone NATs. I get as far as making a call, but when I pick-up the call only one side gets RTP through. I traced the problem to the fact that a local address is being put in the "Record Route" section of an ACK response. I would like to try to get this more controllable scenario working first before I launch into new complexity with RTP proxies etc. I think that I just need to know how to get the fix_nat_sip() and fix_nat_contact() to work. Any pointers with that? Regards Mark From: [email protected] [mailto:[email protected]] On Behalf Of Flavio Goncalves Sent: 03 January 2013 12:27 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] NAT issues on client and server Hi Mark, There is no simple way to traverse NAT. Unless all your routers use a non symmetric NAT, you will have to use rtpproxy or mediaproxy (you can check this with a stun client). OpenSIPS behind NAT make things even more complicated. So I suggest that you follow an example with rtpproxy or media proxy and also use the OpenSIPS in a valid IP address. The setup you are trying to do with OpenSIPS behind NAT is possible, but it is even more complex. Flavio E. Goncalves 2013/1/3 Mark Currie <[email protected]> Hi, I have a very simple setup for a closed network of users (all NAT'ed) with one OpenSIPS server (also NAT'ed). I have managed to solve my first problem with registration by following previous posts and using fix_nat_register(), but I am still having problems with NAT issues during a call. I know that I probably need to use fix_nat_contact() and fix_nat_sip() but I can't figure out how to use these properly through the documentation. I have tried to search for examples of opensips.cfg that suit my scenario but all the ones I found are complicated with proxies etc. Can someone point me to simple example of opensips.cfg that takes care of NAT? Regards Mark Currie _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
