<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thank you, that did the trick!<br>
    <br>
    Would it be an option to alter 'sip_profiles/external/example.xml'
    and add the 'auto_to_user' tip, like in the wiki?<br>
    <br>
    <br>
    steveN<br>
    <br>
    On 07/23/2012 01:31 PM, Avi Marcus wrote:
    <blockquote
cite="mid:CALNZuw=Ruec4iMYbzjAAt9rEYM1hf5b20xq=4i-e493JaxhXUw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>You want:&nbsp;<span
style="background-color:rgb(249,249,249);font-size:11px;line-height:1.1em">&lt;param
            name="extension" value="</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">"/&gt;
            in your gateway config.</span></div>
        <div><br>
        </div>
        Via:&nbsp;<a moz-do-not-send="true"
          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">

&lt;!--/// extension for inbound calls: *optional* same as username, if blank. To use what's in ${sip_to_user}, set it to the value "auto_to_user" ///--&gt;
  &lt;!--&lt;param name="extension" value="cluecon"/&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 moz-do-not-send="true"
                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 'destination
              number' 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>
              'sip_req_user' does contain the true dialed number, but
              why doesn't the<br>
              'dialed number' field?<br>
              <br>
              Thanks!<br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" 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 moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>