Sonny Rajagopalan
2015-Dec-02 15:22 UTC
[asterisk-users] Issues with Twilio number incoming call and context matching
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) 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) 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> 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/ec69db20/attachment.html>
Annus Fictus
2015-Dec-02 15:35 UTC
[asterisk-users] Issues with Twilio number incoming call and context matching
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>
Sonny Rajagopalan
2015-Dec-02 15:39 UTC
[asterisk-users] Issues with Twilio number incoming call and context matching
Thanks for your quick responses, Annus. As you can see, in my original post, I forward to context "from-external". I forward to "from-twilio-remove-plus" only to check if http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ will solve my problem. It did not. At no point do I point it to the from-internal context. On Wed, Dec 2, 2015 at 10:35 AM, Annus Fictus <annusfictus at gmail.com> wrote:> 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) 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) 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> > 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> >> 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 >> > > > > > > -- > _____________________________________________________________________ > -- 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/b8a2be82/attachment.html>