I am just starting to look into customizing, and really know nothing about the asterisk language. Anyways, looking into the extensions_custom.conf file I found this:
;1234,1,Playback(demo-congrats) ; extensions can dial 1234
;include => custom-recordme ; extensions can also dial 5678
I uncommented the first three lines in order to see how the extension 1234 would peform, saved the file, did a reload, and then when I dialed extension 1234 it do not work!
Of course knowing nothing about the language, I could not figure out why it was not working. After some reading thru the log files, I noticed a line that said “missing equal sign on line 13 of extension_custom.conf”. So looking at some other examples, I realized that these lines were missing the ‘exten =>’ in front of them.
I know this is really basic, but maybe it will help some other newbie that can’t figure out why extension 1234 won’t work!
Code should look like this:
exten => 1234,1,Playback(demo-congrats) ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()