ansible/roles/asterisk/templates/extensions.conf.j2

16 lines
403 B
Text
Raw Normal View History

2024-11-25 01:06:18 +00:00
[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()