<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello Chris<br>
    <br>
    The file ( generated by fusionpbx ) is located in
    /usr/local/freeswitch/conf/sip_profiles/external/v_0a96c3d3-0b0e-4864-b9ec-759fa4422429.xml,
    i also tried to force a number in this field but it did not change
    anything.<br>
    <br>
    Thanks<br>
    <br>
    <br>
    <br>
    On 01/05/2015 22:11, Chris Tunbridge wrote:
    <blockquote
cite="mid:CAO3hyzGW3BdSwXV4_2bnGQfhyzXLGFJojGxNV_+Haz6XyAvY7Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Tanguy,<br>
              <br>
            </div>
            setting the auto_to_user should set the destination number
            field to the correct one according to the wiki<br>
            <br>
            "Note: <i>extension</i> parameter influence the contents of
            channel variable <i>Caller-Destination-Number</i> and <i>destination_number</i>.
            If it is blank, <i>Caller-Destination-Number</i> will
            always be set to gateway's username. If it has a value, <i>Caller-Destination-Number</i>
            will always be set to this value. If it has value <i>auto_to_user</i>,
            <i>Caller-Destination-Number</i> will be populated with
            value <i>${sip_to_user}</i> which means the real dialed
            number in case of an inbound call."<br>
            <br>
          </div>
          from: <a moz-do-not-send="true"
            href="https://wiki.freeswitch.org/wiki/Sofia.conf.xml"
            target="_blank">https://wiki.freeswitch.org/wiki/Sofia.conf.xml</a><br>
          <br>
        </div>
        where is this config that you listed currently located? (full
        file path please)<br>
      </div>
      <div class="gmail_extra"><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>