According to the template, user functions can start with *6, *8, *9, *0, and *A - *D. I cannot get my user functions to work at all. Example: I have functions *060 - *080. Some run a script, like ’ 060=cmd, etc/asterisk/scripts/myscript.sh ', and some play an audio file like ’ 903=localplay,test. The script runs fine from the terminal command line, but from a CLI prompt, ’ rpt fun 42690 *060 ’ does nothing. The original functions, like ’ rpt fun 42690 *721 ’ do work. What am I missing? All ARE located in the [functions] stanza.
While I can not give you any exact answer,
I will tell you when you loose entire function like this, it is normally due to a conflict in assignable commands.
Asterisk uses a ‘first match’
So if you have a command that is *0
then the command *01 will never run.
Quick remedy is to extend digits of all *0 commands to 2 or 3 digits to give you more possible commands without conflict.
*00
*01
*02
*03
for example.
You may have to study your file to eliminate the possibility. Sometimes hard to catch.
This is NOT the problem. I will further clarify in my next post.