Hello,

I am running Asterisk 13.6.0 in an AWS instance, and I set it up with
Twilio SIP trunk using pjsip_wizard.conf (nice feature!). I see that the
calls actually "reach" the PBX, but for some reason, they are not caught by
any of my extensions context.

Here's what I observe when I test this from a non-PBX connected E164 number
(a landline), say 555-666-1212. My Twilio number is 777-555-1212

Situation 1:
=========
extensions.conf:

[from-external]
exten => _.,1,Log(WARNING, TWILIO)

[from-internal]
...

Calling 555-666-1212 to Twilio number 777-555-1212:

On Asterisk CLI (core set debug on, logger set level WARNING on):

No logs at all. Call just ends. No friendly message saying why it will
hangup.

Situation 2:
===========
extensions.conf:

[from-external]

exten => 17775551212,1,Log(WARNING, TWILIO)
same =>              n,Hangup()

On Asterisk CLI:
Call from 'from-twilio' (UDP:mysillyapp.pstn.twilio.com:5060) to extension
'+17775551212' rejected because extension not found in context
'from-external'.

However, clearly, the extension is there (in extensions.conf). The call
hangs up, but with Twilio's "The number you dialed is not a working
number...." message.

What am I missing here? How do I fix this issue with the call not being
"caught" with my extensions.conf?

Any help is appreciated.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to