[Asterisk-Users] Re: making * more like a normal pbx (cisco ata-186)
James H. Cloos Jr.
cloos at jhcloos.com
Tue Jun 15 10:51:42 MST 2004
I use DISA on the asterisk box and have the dialplan on the ata set
so that calls starting with 9 or 8 have only two digits.
disa extensions 90 -> 99 are for pstn calls via various providers.
Those in 80 -> 89 are for fwd and other similar services.
The ata's dialplan looks like:
DialPlan: *St4-|#St4-|9.|8.|7..|6..|5..|4..|3....|2...|1...
and an example from the extensions.conf is:
[local]
include => parkedcalls
exten => 91,1,Answer
exten => 91,2,DISA,no-password|disa-to-iaxtel
[disa-to-iaxtel]
include => to-iaxtel
[to-iaxtel]
exten => _1700XXXXXXX,1,SetCallerID("${Name}" <${IaxtelNumber}>|a)
exten => _1700XXXXXXX,2,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN}@iaxtel|60|r)
exten => _1700XXXXXXX,3,Busy
exten => _1700XXXXXXX,103,Congestion
(I actually include to-iaxtel in all of the 9X disa contexts, but
that will get one going.)
-JimC
More information about the asterisk-users
mailing list