All pastes #107166 Raw Edit

Mine

public text v1 · immutable
#107166 ·published 2006-07-30 21:36 UTC
rendered paste body
[globals]

splitinfinity => SIP/splitinfinity

[default]

; US
; exten => _1X.,1,Set(CALLERID(all)=Pancho Villa <619-754-2988>)
exten => _1X.,1,Dial(${splitinfinity}/${EXTEN})
; INTL
exten => _011.,1,Dial(${splitinfinity}/${EXTEN})

; internal routing

exten => 600,1,Playback(demo-echotest)  ; Let them know what's going on
exten => 600,n,Echo                     ; Do the echo test
exten => 600,n,Playback(demo-echodone)  ; Let them know it's over
exten => 600,n,Goto(s,6)                ; Start over
exten => s,1,Wait,1                     ; Wait a second, just for fun
exten => s,n,Answer                     ; Answer the line
exten => s,n,Set(TIMEOUT(digit)=5)      ; Set Digit Timeout to 5 seconds
exten => s,n,Set(TIMEOUT(response)=10)  ; Set Response Timeout to 10 seconds
exten => s,n(restart),BackGround(demo-congrats) ; Play a congratulatory message
exten => s,n(instruct),BackGround(demo-instruct)        ; Play some instructions
exten => s,n,WaitExten          ; Wait for an extension to be dialed.

exten => 2,1,BackGround(demo-moreinfo)  ; Give some more information.
exten => 2,n,Goto(s,instruct)

exten => 3,1,Set(LANGUAGE()=fr)         ; Set language to french
exten => 3,n,Goto(s,restart)                    ; Start with the congratulations

exten => 1000,1,Goto(default,s,1)

[incoming]
exten => s,1,Dial(SIP/100)

; [outgoing]
; exten => _X.,1,Dial(${splitinfinity}/${EXTEN})