[OpenSIPS-Users] set_advertised_address suspected bug 1.9

Newlin, Ben Ben.Newlin at inin.com
Mon Mar 30 16:36:39 CEST 2015


Terrance,

I am doing something similar and have found the “topology hiding” feature of the dialog module will do this. The feature’s purpose is to re-write all IP information in SIP headers to hide network topology, but in the process it will also perform the type of translation you are looking for.

I am not sure if dialogs are something you want to use, but I thought I would mention it.

Ben Newlin


From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Terrance Devor
Sent: Monday, March 30, 2015 10:20 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] set_advertised_address suspected bug 1.9

Hello Razvan,

Thanks again for your input.

>> but only on requests, not on replies.

And that is the exact issue we are experiencing. If I understand correctly, we are unable
to modify the Contact HDR and RR for relay signalling such as "ACK, Session Progress
and 200 OKs"? Is this not capability not relevant when relaying messages?


What is strange is that when I inject test HDR messages (ie, append_hf("X-TEST: ACK $si\r\n");)
in the on_reply, I am able to hit the point where I need the modification of the RR and Contact
however, all attempts to use set_advertised_address in the on_reply have failed.

Your Help is greatly appreciate, I have struggled with this for a few weeks now :/

Terrance
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150330/37acec9e/attachment.htm>


More information about the Users mailing list