All pastes #840 Raw Edit

Anonymous

public ini v1 · immutable
#840 ·published 2004-09-02 18:04 UTC
rendered paste body
[main];; We start with what to do when a call first comes in.;exten => s,1,Wait,1                     ; Wait a second, just for funexten => s,2,Answer                     ; Answer the lineexten => s,3,DigitTimeout,5             ; Set Digit Timeout to 5 secondsexten => s,4,ResponseTimeout,10         ; Set Response Timeout to 10 secondsexten => s,5,BackGround(bem-vindo)      ; Play a congratulatory messageexten => s,6,Hangup;# number (#) extensionexten => 9,1,Playback(auth-thankyou)            ; "Thanks for trying the demo"exten => 9,2,Hangup                     ; Hang them up.;; A timeout and "invalid extension rule";exten => t,1,Hangup                  ; If they take too long, give upexten => i,1,Playback(invalid)          ; "That's not valid, try again";exten => 9,1,Dial($TRUNKRJ)             ; this dials to my other server