<p dir="ltr">It seems like your SIP provider is not sending and DID information, or that the information is not being sent in the same format you are using in your dialplan.</p>
<p dir="ltr">You can check this by looking at the SIP debug information for the inbound calls and/or by checking with your SIP provider (that they are sending the DID number and what format it is in).</p>
<p dir="ltr">All the best,<br>
David</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 27 Oct 2016 5:21 am, "KyD" <<a href="mailto:kyd@lumac.com.ar">kyd@lumac.com.ar</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
My sip provider gave me 2 numbers for the incoming call via pstn.<br>
<br>
nro1 = 12341234<br>
nro2 = 45674567<br>
<br>
I have a dialplan for each.<br>
if i put this on my dialplan:<br>
<br>
exten => s,1,Dial(SIP/1001)<br>
exten => Hangup()<br>
<br>
Works!<br>
<br>
But if i put one of them:<br>
<br>
exten => 12341234,1,Dial(SIP/1001)<br>
exten => _1234XXXX,1,Dial(SIP/1001)<br>
exten => 45674567,1,Dial(SIP/1001)<br>
exten => _4567XXXX,1,Dial(SIP/1001)<br>
<br>
incoming calls do not arrive.<br>
<br>
Any ideas?<br>
<font color="#888888">--<br>
KyD<br>
GNU/Linux SysAdmin<br>
Quanto mais você sabe, mais você percebe que você não sabe nada.<br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</font></blockquote></div><br></div>