login | register
Sat 30 of Aug, 2008 [01:44 UTC]

voip-info.org

ianplain

User Page

UserPageianplain

PortraitHi 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

Select Content Type
You can restrict the content listing to a given content type or apply a filter on content title.
Available Content [ 14 ]
IDTitle ascendingContent TypeAuthorMost recent editorLast Modified
12410Fri 13 of Jan, 2006CommentianplainianplainFri 13 of Jan, 2006
17507????? Is this about the Thomson phone?????CommentianplainianplainMon 27 of Mar, 2006
36119Aastra 480I and MOH stoppingCommentianplainianplainTue 20 of Mar, 2007
21339Asterisk setup success 7Wiki PageianplainianplainWed 31 of May, 2006
1675Authenticate using CLI and passwordCommentianplainianplainSat 22 of Jan, 2005
1320Dial PlanCommentianplainianplainThu 16 of Dec, 2004
15284Mitel IntergrationCommentianplainianplainThu 23 of Feb, 2006
36120MOH stops to callers when put on holdCommentianplainianplainTue 20 of Mar, 2007
5012PBX Web-Based MACsWiki PageianplainianplainMon 07 of Feb, 2005
24748Re: Aastra 9133i Config questions...CommentianplainianplainWed 02 of Aug, 2006