Hi list,
I have made a small patch to the nathelper module, that allows to configure the "a=nortpproxy:yes\r\n" string.
Basically, as noticed in user documentation, you can add this to your configuration file, once the patch is applied and OpenSER recompiled :
% modparam("nathelper", "nortpproxy_str", "a=sdpmangled:yes")
I needed to do this because I have the following setup:
SoftPhone1_ ____ ____NATing Proxy_______Registrar Proxy_______(outside) _/ SoftPhone2
For some reason, the registrar also uses nathelper/rtpproxy. I first used the "f" flag for force_rtp_proxy() in my NATing proxy, in order to circumvent the nortpproxy flag that the registrar proxy has set. This worked perfectly except if softphone1 tries to call softphone2. In this case my NATing proxy would replace the SDP twice. With my patch, I simply turn the nortpproxy string to something else that only my NATing proxy cares about.
Please, commit it if you find it worth enough.
Thank you. Best regards,