Prepending a 1 on incoming calls breaks the dialplan

Hey All,

I’m sure I’m missing something small, hopefully this is an easy one for someone.

Incoming (111) 111-1111 works

I have

[from-twilio]
exten => _[+0-9]XXX.,1,Stasis(prospector,inbound,noAMD,${EXTEN})

shouldn’t this pick up 1(111) 111-1111 and (111) 111-1111 ?

Thanks for your time,

I believe your problem is with the +

Try it as

exten => _+[0-9]XXX.,1,Stasis(prospector,inbound,noAMD,${EXTEN})

Good info, seems the problem was our stasis app was routing funny between our pbx and Twilio.

Thanks for your time,

Cheers

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.