<p dir="ltr">Request URI unless otherwise specified afaik. Gateways have an extension option that can be set to auto_to_user to take it from the to header.</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, 22 Aug 2017, 17:37 Saeed Musani <<a href="mailto:saeedmusani@gmail.com">saeedmusani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I want to know whether FreeSwitch extracts destination number from Request-URI or from "To" header. I suspect that it extracts from "To" header. If this is the case, please guide me how we can configure FreeSwitch to extract destination number from Request-URI.</div><div><br></div><div>I have googled it but unable to find the solution.</div><div><br></div><div>Thanks for the support.<br><div><br clear="all"><div><div class="m_-3584459202753952028gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><font color="#000000">Best Wishes,</font></div><div><font color="#000000"> </font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Muhammad Saeed Musani</font></div><div><br></div></div></div></div></div>
</div></div></div>
_________________________________________________________________________<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></blockquote></div>