<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello<br>
      <br>
      anyone have some useful input on this ?<br>
      <br>
      <br>
      <br>
      Thanks.<br>
    </font><br>
    <br>
    <div class="moz-cite-prefix">On 03-04-17 10:25, Jonas Kellens wrote:<br>
    </div>
    <blockquote cite="mid:58E20717.8090706@telenet.be" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <font face="Helvetica, Arial, sans-serif">Hello<br>
        <br>
        how can I set the fromuser field of the SIP INVITE when using
        the Dial()-command in the dialplan ?<br>
        <br>
        None of the below Dial() command give the correct result :<br>
        <br>
        exten => _XX.,n,Dial(SIP/${<a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:EXTEN%7D:passwdk5j6::user762@myprovider.biz">EXTEN}:passwdk5j6::user762@myprovider.biz</a>)<br>
        exten => _XX.,n,Dial(SIP/${<a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:EXTEN%7D:passwdk5j6::user762@myprovider.biz/$">EXTEN}:passwdk5j6::user762@myprovider.biz/$</a>{EXTEN})<br>
        exten => _XX.,n,Dial(<a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:SIP/user762:passwdk5j6::user762@myprovider.biz/$">SIP/user762:passwdk5j6::user762@myprovider.biz/$</a>{EXTEN})<br>
        exten => _XX.,n,Dial(<a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:SIP/user762:passwdk5j6@myprovider.biz/$">SIP/user762:passwdk5j6@myprovider.biz/$</a>{EXTEN})<br>
        <br>
        The From part of the SIP INVITE always has the EXTEN in it in
        stead of the user (user762) :<br>
        <br>
        From: "the_extension" <a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E"
          href="mailto:sip:the_extension@my.ip.add.ress"><sip:the_extension@my.ip.add.ress></a>;tag=as224453ac<br>
        <br>
        How can I get :<br>
        <br>
        From: "the_extension" <sip:</font><font face="Helvetica,
        Arial, sans-serif"><font face="Helvetica, Arial, sans-serif">user762</font>@my.ip.add.ress>;tag=as224453ac<br>
        <br>
        ??<br>
        <br>
        <br>
        <br>
        I know about sip.conf. That is not the question. My question is
        clear : how to set this in dialplan ?<br>
        <br>
        <br>
        <br>
        Thank you for the feedback.<br>
        <br>
        <br>
        Kind regards.<br>
      </font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>