[Asterisk-Users] system wide speed dialing

Paul Crick web-asterisk-users at ivrl.com
Mon Apr 18 17:47:08 MST 2005


> the wiki is great, as long you know what magic word you
> should use. "speed dialing" found 22 pages, ...
> Can you guide me to a more specific place?
The wiki search kinda sucks doesn't it.. I had a search and couldn't find
the stuff I know I've seen before.. so here - go with a section from my
extensions.conf which is hopefully mostly self explanatory. It's in use on
a box with a PRI so you might need to change bits near the bottom if you
want to dial out via SIP or IAX etc.

Let me know if you have any problems with it.

Cheers
Paul



[app-system-speeddial]
; *91 <xx> <yyyy> - Set system speed dial <xx> to digits <yyyy>
; *91 <xx> 0      - Delete system speed dial <xx>
; *91 <xx>        - Review system speed dial <xx>
; *1xx            - Dial speed dial <xx>
exten => _*91XXX.,1,Answer
exten => _*91XXX.,2,DBput(SystemSpeedDial/${EXTEN:2:3}=${EXTEN:5})
exten => _*91XXX.,3,Wait(1)
exten => _*91XXX.,4,Playback(speed-dial)
exten => _*91XXX.,5,SayDigits(${EXTEN:2:3})
exten => _*91XXX.,6,Playback(has-been-set-to)
exten => _*91XXX.,7,SayDigits(${EXTEN:5})
exten => _*91XXX.,8,Hangup

exten => _*91XX0,1,Answer
exten => _*91XX0,2,DBdel(SystemSpeedDial/${EXTEN:2:3})
exten => _*91XX0,3,Wait(1)
exten => _*91XX0,4,Playback(speed-dial)
exten => _*91XX0,5,SayDigits(digits/${EXTEN:2:3})
exten => _*91XX0,6,Playback(has-been-cleared)
exten => _*91XX0,7,Hangup

exten => _*91XX,1,Answer
exten => _*91XX,2,DBget(SystemSpeedDial=SystemSpeedDial/${EXTEN:2:3})
exten => _*91XX,3,Wait(1)
exten => _*91XX,4,Playback(speed-dial)
exten => _*91XX,5,SayDigits(${EXTEN:2:3})
exten => _*91XX,6,Playback(is-set-to)
exten => _*91XX,7,SayDigits(${SystemSpeedDial})
exten => _*91XX,8,Hangup
exten => _*91XX,103,Playback(speed-dial)
exten => _*91XX,104,SayDigits(${EXTEN:2:3})
exten => _*91XX,105,Playback(is-not-set)
exten => _*91XX,106,Hangup

exten => _*1XX,1,DBget(NumberToCall=SystemSpeedDial/${EXTEN:1})
exten => _*1XX,2,Dial(${TRUNKGROUP}/${NumberToCall},20);
exten => _*1XX,3,Congestion
exten => _*1XX,102,Answer
exten => _*1XX,103,Wait(1)
exten => _*1XX,104,Playback(speed-dial)
exten => _*1XX,105,SayDigits(${EXTEN})
exten => _*1XX,106,Playback(is-not-set)
exten => _*1XX,107,Hangup




More information about the asterisk-users mailing list