<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I am not sure. Did you try "export" instead of "set"?<br>
    <br>
    <div class="moz-cite-prefix">Am 18.01.2019 um 11:16 schrieb Paul
      Muaddib:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEjNe_HwOHJv3TsxmJi9ohi_WzOuMRbTsTq9u4ehpqQNZH1ZnA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span
                lang="EN-US">Hi,<span></span></span></p>
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span
                lang="EN-US">I have a
                SIP Trunk account. From some companys that call me,
                which also have a SIP Trunk
                account, I can only see the main number in the phone
                display but not the
                extension. The correct number with the right extension
                is only inside the
                sip_P-Asserted-Identity variable and not the
                caller_id_number.<span></span></span><span lang="EN-US"><span><br>
                </span></span></p>
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span
                lang="EN-US"><span></span></span><span lang="EN-US">So I
                thought
                I could assign the sip_P-Asserted-Identity to
                effective_caller_id_number and
                all is fine but that is not working.<span></span></span><span
                lang="EN-US"><span> <br>
                </span></span></p>
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span
                lang="EN-US">conf/dialplan/public/voip_inbound.xml<span></span></span></p>
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span
                lang="EN-US"><extension
                name="telekom-voip-inbound-extension"><span></span></span><span
                lang="EN-US"><span><br>
                     </span><condition
                field="${sip_h_P-Called-Party-ID}"
                expression="(XXXXXXX(\d{2}))"><span></span></span><span
                lang="EN-US"><span><br>
                        </span><action application="set"
                data="domain_name=$${domain}"/><span></span></span><span
                lang="EN-US"><span> </span></span><span lang="EN-US"><span><br>
                        </span><action application="set"
data="effective_caller_id_number=${sip_P-Asserted-Identity}"/><span></span></span><span
                lang="EN-US"><span></span><span><br>
                        </span><action application="set"
data="effective_caller_id_name=${sip_P-Asserted-Identity}"/><span></span></span><span
                lang="EN-US"><span> </span></span><span lang="EN-US"><span><br>
                         </span><action application="transfer"
                data="$2 XML default"/><span></span></span><span
                lang="EN-US"><span><br>
                     </span></condition><span></span></span><span
                lang="EN-US"><br>
                </extension><span></span></span><span lang="EN-US"><br>
                <span></span></span></p>
            <span></span>
            What am I doing wrong?</div>
          <div dir="ltr"><br>
          </div>
          <div>Best regards<br>
          </div>
          <div dir="ltr">
            <p class="MsoNormal" style="margin:0cm 0cm
8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><br>
            </p>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_________________________________________________________________________
Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>

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="https://freeswitch.com">https://freeswitch.com</a></pre>
    </blockquote>
    <br>
  </body>
</html>