ianplain
User Page
UserPageianplain
Hi Here is my simple speed dial system using the internal DBase
all this is added to the extensions.conf
<<<<<<<<<<<Start of file>>>>>>>>>>>>>>>>
; Speed dial application. This will store 99 speed dials in the bins 01 - 99
; The database family is called speed and the varible is called spnum
;Storing 11 digit numbers
exten => _*#XXXXXXXXXXXXX,1, DBput(speed/${EXTEN:2:2}=${EXTEN:-11:11})
exten => _*#XXXXXXXXXXXXX,2, Playback(val_sp)
exten => _*#XXXXXXXXXXXXX,3, Hangup
;Reading the stored number back.
exten => _*1XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the required bin number
exten => _*1XX,2, Playback(currently)
exten => _*1XX,3, SayNumber(${EXTEN:2:2})
exten => _*1XX,4, Playback(is-set-to)
exten => _*1XX,5, SayDigits(${spnum})
exten => _*1XX,6, Hangup
;Retreiving numbers for alog dialing
exten => _*9XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the required bin number
exten => _*9XX,2, Dial(${TRUNK1}/${spnum})
exten => _*9XX,3, Congestion
;Retreiving numbers for iax dialing
exten => _*8XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the required bin number
exten => _*8XX,2, Dial(${TRUNKiax}/44${spnum:${TRUNKMSD}})
exten => _*8XX,3, Congestion
;Retreiving numbers for alog Phonecoop dialing
exten => _*7XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the required bin number
exten => _*7XX,2, Dial(${TRUNK1}/184088${spnum})
exten => _*7XX,3, Congestion
<<<<<<<<<<<<<End of file>>>>>>>>>>>>>>>>
to store a number you dial *# then the number , and to retieve it its *9 or *8 depending on how you want it to route out
Hope its of use to someone.
User Information
ianplain
Login
ianplain
Real Name
Member since
Saturday 03 of July, 2004
Last Login
Tuesday 10 of June, 2008 [21:42:23 UTC]
Content List
| ID | Title | Content Type | Author | Most recent editor | Last Modified |
|---|---|---|---|---|---|
| 12410 | Fri 13 of Jan, 2006 | Comment | ianplain | ianplain | Fri 13 of Jan, 2006 |
| 17507 | ????? Is this about the Thomson phone????? | Comment | ianplain | ianplain | Mon 27 of Mar, 2006 |
| 36119 | Aastra 480I and MOH stopping | Comment | ianplain | ianplain | Tue 20 of Mar, 2007 |
| 21339 | Asterisk setup success 7 | Wiki Page | ianplain | ianplain | Wed 31 of May, 2006 |
| 1675 | Authenticate using CLI and password | Comment | ianplain | ianplain | Sat 22 of Jan, 2005 |
| 1320 | Dial Plan | Comment | ianplain | ianplain | Thu 16 of Dec, 2004 |
| 15284 | Mitel Intergration | Comment | ianplain | ianplain | Thu 23 of Feb, 2006 |
| 36120 | MOH stops to callers when put on hold | Comment | ianplain | ianplain | Tue 20 of Mar, 2007 |
| 5012 | PBX Web-Based MACs | Wiki Page | ianplain | ianplain | Mon 07 of Feb, 2005 |
| 24748 | Re: Aastra 9133i Config questions... | Comment | ianplain | ianplain | Wed 02 of Aug, 2006 |
Page 1 of 2 »