[OpenSIPS-Users] INVITE/FROM/TO Header change possible?
vladpaiu at opensips.org
Fri Dec 12 10:15:02 CET 2014
The R-URI domain is a R/W variable, $rd (
For the FROM and TO headers, you need to use the uac_replace_from /
uac_replace_to functions from the UAC module ( see
On 11.12.2014 21:34, bluerain wrote:
> I have Asterisk as media gateway and Opensip in front. So the issue I am
> running into is that, in reference to Asterisk, it send calls to Opensips,
> it is not aware of the carrier which Opensips is sending to.
> 1. "INVITE" header would be the IP address of the Opensips
> 2. "From" header would be IP of asterisk itself.
> 3. "To" header is also the IP of the Opensips.
> Now, when Opensips send the call out to the far end carrier, it doesn't
> manipulate any of these information. But then it cause the "far end"
> carrier not "liking" it. The far end carrier want to see:
> 1. "INVITE" header would be the IP address of the Carrier's SBC (which
> Opensips knows, but not asterisk)
> 2. "From" header would be IP of Opensips itself
> 3. "To" header is also the IP of the Caririer.
> I checked the core variable doc, It does not have "R/W" on these herader.
> So how can I change them?
> Thx in advance.
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/INVITE-FROM-TO-Header-change-possible-tp7594681.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
> Users mailing list
> Users at lists.opensips.org
More information about the Users