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/[EMAIL PROTECTED]/[EMAIL PROTECTED]|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
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users