16 lines
403 B
Text
16 lines
403 B
Text
|
[from-internal]
|
||
|
exten => 700,1,Answer()
|
||
|
same = n,Wait(1)
|
||
|
same = n,Playback(hello-world)
|
||
|
same = n,Wait(1)
|
||
|
same = n,Playback(tt-monkeys)
|
||
|
same = n,Hangup()
|
||
|
|
||
|
; 3-digit extensions dial their associated devices
|
||
|
exten => _XXX,1,Dial(PJSIP/${EXTEN})
|
||
|
same = n,Hangup()
|
||
|
|
||
|
; 7+ digit calls are routed outside via the PSTN
|
||
|
exten => _NXXXXXX.,1,Dial(PJSIP/pstn/${EXTEN})
|
||
|
same = n,Hangup()
|