Hello Rik,
The simplest approach is :
1) get into a variable the body of the Refer-To hdr
2) run a subst over the variable to make the change
3) remove the Refer-To hdr
4) add a new one with the body from the variable
:)
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 13.05.2014 15:41, Rik Broers wrote:
Hi,
I'm working on a setup with opensips+rtpproxy as a Lan-Wan bridge.
The basic scenario's work but I keep having trouble with a refer
(transfer).
Refer is initiated on the Lan side, and relayed to a public Asterisk
machine. Asterisk is then having trouble sending out the invite to the
transfertarget. (this never happens)
After looking around in asterisk I think I have it narrowed down to
the Refer-To header containing a LAN-IP. (seems obvious J)
This header contains a lot of other stuff.. Refer-To:
\"CTI+\"<sip:[email protected];user=phone?Replaces=x-ippbx-transferid%3Bto-tag%3D144%3Bfrom-tag%3D144>
How should I rewrite this header? Replacing the IP but keep all the
other information.
Vriendelijke groet,
*Rik Broers*
Voice Engineer
_______________________________________________
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