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: [email protected] 
[mailto:[email protected]] 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
​
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to