&lt;action application=&quot;bridge&quot; data=&quot;{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}&quot;/&gt;<br>
<br><div class="gmail_quote">On Fri, Oct 8, 2010 at 7:44 AM, David Allen <span dir="ltr">&lt;<a href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>&gt;</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&#39;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&#39;m able to modify the SIP TO Header<br>
of a call that is sent to them like below:<br>
<br>
&lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/external/56778977%${domain}^61390009000&quot;/&gt;<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: &quot;0390001000&quot; &lt;<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>&gt;;tag=K4HHaZ9v1H07Q<br>
<br>
    To: &lt;<a href="mailto:sip%3A61390009000@192.168.2.200">sip:61390009000@192.168.2.200</a>&gt;<br>
<br>
  But in order to maintain compatability with a number of PBX&#39;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: &quot;0390001000&quot; &lt;<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>&gt;;tag=K4HHaZ9v1H07Q<br>
<br>
    To: &lt;<a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a>&gt;<br>
<br>
Is there a way to do this setting via variables? I can&#39;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>