Re: [asterisk-users] Toll free pattern matching

2016-08-05 Thread Tim S
Don't forget to handle the other special extension cases in a [context]. What I find is a good practice is to write a root "catch-all" (template), then I tag that onto any new [context](template). [Special-Extensions]

Re: [asterisk-users] Toll free pattern matching

2016-08-05 Thread D'Arcy J.M. Cain
On Fri, 5 Aug 2016 09:26:03 -0500 Richard Mudgett wrote: > Dialplan will stay on the current series of extensions until it runs > out. If there isn't an explicit hangup So glad I asked. I see now that it only worked because of the accident that the specific 800 extension

Re: [asterisk-users] Toll free pattern matching

2016-08-05 Thread Richard Mudgett
On Fri, Aug 5, 2016 at 9:06 AM, D'Arcy J.M. Cain wrote: > I have this in my config: > > exten => _800XXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) > same => n,Dial(SIP/tollfree/1${EXTEN}) > exten => _1800XXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) >

[asterisk-users] Toll free pattern matching

2016-08-05 Thread D'Arcy J.M. Cain
I have this in my config: exten => _800XXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) same => n,Dial(SIP/tollfree/1${EXTEN}) exten => _1800XXX,1,Verbose(0,${CHANNEL(peername)} Calling ${EXTEN}) same => n,Dial(SIP/tollfree/${EXTEN}) exten =>