<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>