1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
iiab/roles/pbx/templates/extensions_custom.conf
lemueldsouza baca7e9386 asterisk-test-script
A simple and basic script that creates extensions and a quick call from the console to help the user quickly test if asterisk is working (could add more tests in future).
2021-08-17 17:47:23 +05:30

19 lines
478 B
Text

;
; Added for IIAB's FreePBX test
; Refer asterisk documentation to for more details - https://wiki.asterisk.org/wiki/display/AST/Creating+Dialplan+Extensions
;
[general]
[iiab-test]
exten => 301,1,Dial(PJSIP/301)
exten => 302,1,Dial(PJSIP/302)
exten => 1000,1,Answer()
same => n,Wait(1)
same => n,Playback(sorry)
same => n,Playback(you-have-reached-a-test-number)
same => n,Playback(thanks-for-calling-today)
same => n,Wait(1)
same => n,Playback(goodbye)
same => n,Hangup()