<div dir="ltr"><div>You want: <span style="background-color:rgb(249,249,249);font-size:11px;line-height:1.1em">&lt;param name=&quot;extension&quot; value=&quot;</span><span style="background-color:rgb(249,249,249);font-size:11px;line-height:1.1em">auto_to_user</span><span style="background-color:rgb(249,249,249);font-size:11px;line-height:1.1em">&quot;/&gt; in your gateway config.</span></div>

<div><br></div>Via: <a href="http://wiki.freeswitch.org/wiki/Clarification:gateways">http://wiki.freeswitch.org/wiki/Clarification:gateways</a><div><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47,111,171);border-right-color:rgb(47,111,171);border-bottom-color:rgb(47,111,171);border-left-color:rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em;font-size:11px">

<br>&lt;!--/// extension for inbound calls: *optional* same as username, if blank. To use what&#39;s in ${sip_to_user}, set it to the value &quot;auto_to_user&quot; ///--&gt;
  &lt;!--&lt;param name=&quot;extension&quot; value=&quot;cluecon&quot;/&gt;--&gt;</pre><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>BestFone<br>


<br><br><div class="gmail_quote">On Mon, Jul 23, 2012 at 10:29 AM, Systeembeheer <span dir="ltr">&lt;<a href="mailto:support@sping.nl" target="_blank">support@sping.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
Trying to get freeswitch to answer to a trunk with 10 different phone<br>
numbers. With all inbound calls however, the &#39;destination number&#39; in<br>
conditions in the dialplan contains the login name of the gateway (where<br>
the trunk comes from), not the dialed number. The variable<br>
&#39;sip_req_user&#39; does contain the true dialed number, but why doesn&#39;t the<br>
&#39;dialed number&#39; field?<br>
<br>
Thanks!<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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></div></div>