<p dir="ltr">Look for <a href="https://wiki.freeswitch.org/wiki/Variable_sip_invite_to_uri">https://wiki.freeswitch.org/wiki/Variable_sip_invite_to_uri</a></p>
<p dir="ltr">Send from mobile phone.</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, May 20, 2016, 18:47 Victor Chukalovskiy &lt;<a href="mailto:victor.chukalovskiy@gmail.com">victor.chukalovskiy@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day,<br>
<br>
The scenario is that FS receives INVITE with:<br>
 From = A, To = B, request line = C<br>
<br>
FS on an outgoing leg will change it so that To header inherits the<br>
value from the request line (essentially, destination number):<br>
 From = A, To = C, request line = C<br>
<br>
What should I do in the dial-plan to prevent FS from putting destination<br>
number &quot;C&quot; in the To header, and instead retain the value &quot;B&quot; from the<br>
incoming leg?<br>
<br>
Thank you!<br>
-Victor<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>