[Freeswitch-users] 302 Redirect
Christian Jensen
Christian.Jensen at Teligence.Net
Fri Jul 10 09:32:08 PDT 2009
Hi everyone!
I have a question - I need to change the "From" SIP header during a
"Redirect" to make it look like the number that called is a different
number.
I need to be able to change it but it is not taking - I have tried just
about every combination of variable settings that I know of but the SIP
message is just not getting the data.
Here is my config:
<include>
<extension name="public_did">
<condition field="destination_number"
expression="^(\+12396897777)$">
<action application="set"
data="sip_from_user_stripped=false"/>
<action application="set"
data="sip_from_user=0445555555"/>
<action application="set"
data="sip_invite_domain=sip:0446666666 at 192.168.8.2"/>
<action application="set"
data="sip_h_Referred-By=sip:0447777777 at 192.168.8.2"/>
<action application="set"
data="From=sip:0448888888 at 192.168.8.2"/>
<action application="set" data="myani=0449999999"/>
<action application="redirect"
data="sip:7789964284 at 192.168.8.2"/>
</condition>
</extension>
</include>
In fact - it would appear that no channel variables are making it out
the door during a redirect.
Any help would be greatly appreciated.
Thanks!
Christian Jensen
Software Development Manager - Back Office
Teligence
T: 604-629-6055 Ext. 3304
M: 778-996-4283
F: 604-257-5578
christian.jensen at teligence.net
www.teligence.net <http://www.teligence.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090710/f6b41a3d/attachment-0002.html
More information about the FreeSWITCH-users
mailing list