Displaying 2 results from an estimated 2 matches for "_91800".
2004 Sep 02
5
Any way to _always_ execute certain commands in a dialplan context?
I've got a need to do something like the following:
[foo-context]
exten => _.,1,SetCIDNum(123)
exten => _.,2,SetCIDName(XYZ)
include => local
include => tollfree
But of course, this example won't work. The goal here is this: if a call
ends up being handled by the "local" or "tollfree" contexts, I want
those SetCID*** commands executed. Otherwise, I
2006 Dec 29
0
Toll free numbers
...2020,1,Answer
exten=> 2020,2,Ringing
exten=> 2020,3,Wait(2)
exten=> 2020,4,Queue(queue1)
exten=> 2020,5,Hangup
It's a bit messy but it's mainly for testing.
In trunktollfree, I got this:
[trunktollfree]
;
; Long distance context accessed through trunk interface
;
exten => _91800.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
zaptel.conf:
span=1,0,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us...