Re: [OpenSIPS-Users] NAT for in-dialog requests

2020-01-16 Thread Callum Guy
Hi Bogdan, Apologies for the late reply, I've been away on paternity leave but your response is very much appreciated as I resume work on the project. Thank you for the clarification, I didn't expect a one size fits all approach to NAT but wanted to confirm that I wasn't missing a trick. Callum

Re: [OpenSIPS-Users] NAT for in-dialog requests

2020-01-07 Thread Bogdan-Andrei Iancu
Hi Callum, I would say you are on the right tracks. For detecting different NAT situation, there is no other way than to play with the flags of the `nat_uac_test()`. For the in-dialog NAT handling, during the initial request you need to learn the NAT status of the parties involved (for t

[OpenSIPS-Users] NAT for in-dialog requests

2019-12-13 Thread Callum Guy
Hi All, I am operating a registrar which proxies calls to an internal network of media servers. Most of my subscribers are operating using RFC1918 addresses behind NAT. We detect this configuration through nat_uac_test() and patch the SIP using fix_nated_contact(). By rewriting the requests the m