[Asterisk-Users] system wide speed dialing

Ronald Wiplinger ronald at elmit.com
Fri Apr 22 08:51:47 MST 2005


Paul Crick wrote:

>>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
>
>  
>
I like that!

I got a problem though. I hope somebody can give me a hint!

My dialing plan has somewhere the line below, which is the real dialing 
command
[dial-out]
....
exten => _9011Z.,311,Dial(SIP/${EXTEN:${TRUNKMSD}}@sip-13)

Since we have dialed with Speeddialing    *91xx I need to re-write it 
with the result of the database and go to the chapter [dial-out] with 
the new value. How can I do that? (I need to do that, otherwise all my 
billing is gone)


bye

Ronald





More information about the asterisk-users mailing list