[asterisk-users] Issues with Twilio number incoming call and context matching

Annus Fictus annusfictus at gmail.com
Wed Dec 2 09:35:31 CST 2015


Maybe is because now it's a different context:

from-twilio-remove-plus

before

from-internal

is right?

regards

El 02/12/2015 a las 10:22, Sonny Rajagopalan escribió:
> Yes, I have tried that too (i.e, exten => +17775551212,1,Log(WARNING, 
> TWILIO)). It does not work and NO error message in CLI.
>
> I have also tried 
> http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ 
> since I first emailed this group, but that does not seem to work either.
>
> Here is my log:
>
> [Dec  2 15:09:28] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: 
> Call from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060 
> <http://mysillyApp.pstn.twilio.com:5060>) to extension '+17775551212' 
> rejected because extension not found in context 'from-twilio-remove-plus'.
> [Dec  2 15:09:29] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: 
> Call from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060 
> <http://mysillyApp.pstn.twilio.com:5060>) to extension '+17775551212' 
> rejected because extension not found in context 'from-twilio-remove-plus'.
> ip-xxxx*CLI> dialplan show from-twilio-remove-plus
> [ Context 'from-twilio-remove-plus' created by 'pbx_config' ]
> '_[+1]XXXXXXXXXX' => 1. GotoIf($["${CALLERID(num):0:2}" != 
> "+1"]?noplusatstart) [pbx_config]
>         2. Log(WARNING,TWILIO)  [pbx_config]
>         3. Set(CALLERID(num)=${CALLERID(num):1})  [pbx_config]
>  [noplusatstart] 4. Goto(from-external,${EXTEN},1)       [pbx_config]
> ip-xxxx*CLI> dialplan show from-external
> [ Context 'from-external' created by 'pbx_config' ]
> '17775551212' =>  1. Log(WARNING,TWILIO)            [pbx_config]
>         2. Hangup() [pbx_config]
>
>
> On Wed, Dec 2, 2015 at 9:23 AM, Annus Fictus <annusfictus at gmail.com 
> <mailto:annusfictus at gmail.com>> wrote:
>
>     Hello,
>
>     try to change:
>
>     exten => 17775551212,1,Log(WARNING, TWILIO)
>     same =>      n,Hangup()
>
>     with:
>
>     exten => +17775551212,1,Log(WARNING, TWILIO)
>     same =>        n,Hangup()
>
>     Regards
>
>     --
>     _____________________________________________________________________
>     -- 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
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151202/0ff81d18/attachment.html>


More information about the asterisk-users mailing list