[asterisk-users] Incoming Call by DID

David Duffett dduffett at digium.com
Wed Oct 26 16:27:57 CDT 2016


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.

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

All the best,
David

On 27 Oct 2016 5:21 am, "KyD" <kyd at lumac.com.ar> wrote:

Hi,

My sip provider gave me 2 numbers for the incoming call via pstn.

nro1 = 12341234
nro2 = 45674567

I have a dialplan for each.
if i put this on my dialplan:

exten => s,1,Dial(SIP/1001)
exten => Hangup()

Works!

But if i put one of them:

exten => 12341234,1,Dial(SIP/1001)
exten => _1234XXXX,1,Dial(SIP/1001)
exten => 45674567,1,Dial(SIP/1001)
exten => _4567XXXX,1,Dial(SIP/1001)

incoming calls do not arrive.

Any ideas?
--
KyD
GNU/Linux SysAdmin
Quanto mais você sabe, mais você percebe que você não sabe nada.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.
org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161026/6796f137/attachment.html>


More information about the asterisk-users mailing list