Hello,

The R-URI domain is a R/W variable, $rd ( http://www.opensips.org/Documentation/Script-CoreVar#toc65 )

For the FROM and TO headers, you need to use the uac_replace_from / uac_replace_to functions from the UAC module ( see http://www.opensips.org/html/docs/modules/1.11.x/uac.html#id293640 )

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

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.

Thus:
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to