<action application="bridge" data="{sip_invite_req_uri=<a href="http://sip:61390009000@192.168.22.2:5061">sip:61390009000@192.168.22.2:5061</a>,sip_invite_to_uri=sip:61390009000@192.168.22.2:5061}sofia/external/56778977%${domain}"/><br>
<br><div class="gmail_quote">On Fri, Oct 8, 2010 at 7:44 AM, David Allen <span dir="ltr"><<a href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to send multiple Direct Indial Numbers down to a dynamically<br>
registered SIP User. I need to ensure that both the To and Target URI<br>
contain the direct Indial number. I'm able to modify the SIP TO Header<br>
of a call that is sent to them like below:<br>
<br>
<action application="bridge"<br>
data="sofia/external/56778977%${domain}^61390009000"/><br>
<br>
which sends the request as:<br>
<br>
------------------------------------------------------------------------<br>
<br>
INVITE <a href="http://sip:56778977@192.168.22.2:5061" target="_blank">sip:56778977@192.168.22.2:5061</a> SIP/2.0<br>
<br>
Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
<br>
Max-Forwards: 69<br>
<br>
From: "0390001000" <<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>>;tag=K4HHaZ9v1H07Q<br>
<br>
To: <<a href="mailto:sip%3A61390009000@192.168.2.200">sip:61390009000@192.168.2.200</a>><br>
<br>
But in order to maintain compatability with a number of PBX's/VoIP<br>
devices on the market, I need to be able to send the invite to the<br>
dynamically registered SIP user, however have it set the Target URI and<br>
To as the same contact number like below:<br>
<br>
------------------------------------------------------------------------<br>
<br>
INVITE <a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a> SIP/2.0<br>
<br>
Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
<br>
Max-Forwards: 69<br>
<br>
From: "0390001000" <<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>>;tag=K4HHaZ9v1H07Q<br>
<br>
To: <<a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a>><br>
<br>
Is there a way to do this setting via variables? I can't seem to find<br>
any details for it.<br>
<br>
Thanks<br>
<br>
David<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>