Ah, I was reading too much into that.<br><br>If I understand correctly you need to send the INVITE to the actual endpoint, but you need the target URI be the same as the URI in the To: field? Is that even legal in SIP? (Not that legal matters since vendors do whatever they want anyway...)<br>
<br>-MC<br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 3:59 PM, 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 Michael,<br>
<br>
Its a SIP UA that registers locally to Freeswitch.<br>
<br>
Regards,<br>
<font color="#888888">David<br>
</font><div><div></div><div class="h5"><br>
On Tue, Oct 12, 2010 at 9:51 AM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>
&gt; What is a &quot;dynamically registered SIP user&quot;?<br>
&gt; -MC<br>
&gt;<br>
&gt; On Thu, Oct 7, 2010 at 10:32 PM, David Allen &lt;<a href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;  Hi,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m trying to send multiple Direct Indial Numbers down to a dynamically<br>
&gt;&gt; registered SIP User. I need to ensure that both the To and Target URI<br>
&gt;&gt; contain the direct Indial number. I&#39;m able to modify the SIP TO Header<br>
&gt;&gt; of a call that is sent to them like below:<br>
&gt;&gt;<br>
&gt;&gt; &lt;action application=&quot;bridge&quot;<br>
&gt;&gt; data=&quot;sofia/external/56778977%${domain}^61390009000&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; which sends the request as:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt;    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>
&gt;&gt;<br>
&gt;&gt;    Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
&gt;&gt;<br>
&gt;&gt;    Max-Forwards: 69<br>
&gt;&gt;<br>
&gt;&gt;    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>
&gt;&gt;<br>
&gt;&gt;    To: &lt;<a href="mailto:sip%3A61390009000@192.168.2.200">sip:61390009000@192.168.2.200</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;  But in order to maintain compatability with a number of PBX&#39;s/VoIP<br>
&gt;&gt; devices on the market, I need to be able to send the invite to the<br>
&gt;&gt; dynamically registered SIP user, however have it set the Target URI and<br>
&gt;&gt; To as the same contact number like below:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt;    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>
&gt;&gt;<br>
&gt;&gt;    Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
&gt;&gt;<br>
&gt;&gt;    Max-Forwards: 69<br>
&gt;&gt;<br>
&gt;&gt;    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>
&gt;&gt;<br>
&gt;&gt;    To: &lt;<a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Is there a way to do this setting via variables? I can&#39;t seem to find<br>
&gt;&gt; any details for it.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt; David<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>
</div></div></blockquote></div><br>