The dialplan:
[globals]
[general]
[default]
exten => s,1,Verbose(1,Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => 500,1,Verbose(1,Echo test application)
exten => 500,n,Playback(tt-weasels)
exten => 500,n,Hangup()
[phones]
include => internal
Some things to keep in mind:
-The book still uses the pipe | symbol as a delimiter. This has since been replaced with the comma, and the asterisk CLI will show a warning if you have a pipe in the dialplan.
-I turned off the various demo contexts from "make samples" by editing modules.conf with the following lines:
; Turns off the pbx_ael "demo"-created contexts in the dialplan(; precedes comments)
noload => pbx_ael.so
noload => app_queue.so
noload => app_dial.so
noload => features.so
-If you make a change to the dialplan you have to reload it in the asterisk CLI with dialplan reload.
No comments:
Post a Comment