[OpenSIPS-Users] NAT_Traversal not removing maddr from contact

Bogdan-Andrei Iancu bogdan at opensips.org
Fri May 23 11:58:47 CEST 2014


Craig,

Please keep the list to CC.

Unfortunately I cannot help with mediaproxy as I never used it :(....But 
for sure you can find other people on the list to do that.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 23.05.2014 12:31, Craig Guy wrote:
> Ok,
>
> I've gone back now to nathelper and the maddr is good. My mediaproxy 
> issue is that the opensips mediaproxy module is forwarding private IP 
> addresses to the mediaproxy dispatcher which is breaking the audio. 
> I've called fix_nated_sdp prior to engage_mediaproxy to fix the o= and 
> c= attributes but for some reason mediaproxy is stubbornly using the 
> private IP rather than the received IP. The t_relay invite has the 
> corrected sdp attributes but I don't know where and when mediaproxy is 
> looking for the media IP address.
>
> I'll post logs and debug on Monday if I fail to work it out over the 
> weekend.
>
> Craig
>
>
> On 23 May 2014 16:53, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hello Craig,
>
>     As said, this is just side comment, not a try to cover the problem
>     - IMHO you are right (in regards to maddr handling in
>     nat_traversal) and that should be fixed.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 23.05.2014 04:38, Craig Guy wrote:
>>     Thanks Bogdan,
>>
>>     I'd seen in an older mailing list message that nat_traversal went
>>     with mediaproxy and nathelper went with rtpproxy. I'll switch
>>     back to nathelper and troubleshooting my mediaproxy nat issue.
>>
>>     Craig
>>
>>
>>     On 23 May 2014 00:25, Bogdan-Andrei Iancu <bogdan at opensips.org
>>     <mailto:bogdan at opensips.org>> wrote:
>>
>>         Hello Craig,
>>
>>         Not trying to deviate from the actual bug, but for  both
>>         cases (rtpproxy and mediaproxy) the signaling modules are
>>         completely different from the modules talking to the external
>>         media relays.
>>         So, you can use the mediaproxy relay (via the mediaproxy
>>         module) in combination with the nathelper module for the
>>         contact fixing.
>>
>>         Regards,
>>
>>         Bogdan-Andrei Iancu
>>         OpenSIPS Founder and Developer
>>         http://www.opensips-solutions.com
>>
>>         On 22.05.2014 12:44, Craig Guy wrote:
>>>         Hi,
>>>
>>>         I was using nathelper with fix_nated_contact and have
>>>         changed over to using nat_traversal and fix_contact as I am
>>>         having some other issues with mediaproxy but found that
>>>         calls are failing with the apparent difference being that
>>>         nathelper removes maddr from the initial INVITE Contact
>>>         whilst nat_traversal leaves it intact.
>>>
>>>         This is causing opensips to route the received PRACK to the
>>>         maddr private IP in the contact header and the call to fail.
>>>
>>>         Is this correct operation for the nat_traversal module and
>>>         is there another way to remove the maddr from the contact?
>>>
>>>         This is with opensips 1.10
>>>
>>>         Craig
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140523/6c7f2c93/attachment.htm>


More information about the Users mailing list