Need Help Creating a Command for Execution in Allmon3

Hi Everyone,

I feel a bit stupid having to ask this one of the group but I have not found any instructions to help me otherwise. For background, I administer the server side of a repeater node in Southern Nevada while I am based in Southern California. There are occasions where I’d like the local control operator in the area to be able to send a restart command to the server. But, as they are not super computer-savy, I’d prefer not to give them access to the command line or the web-based server admin tool I use (Webmin).

That said, I’m trying to create a command that can be executed from Allmon to initiate a server restart. I have a DTMF function I’ve created to perform this action, which executes a super simple script. But, I’m not sure how to write the command for Allmon to execute it from the web interface. I tried writing it as if I were at the command line and asking it to execute a DTMF function, but no go.

Some guidance on this one would be appreciated.

Thanks in advance,

Tom Woodard, KI6GOA

For example, let's say you've defined *800 to call the script to reboot the system. Make sure that calling rpt fun 41310 *800 from the Asterisk CLI functions as expected. If that works, then Allmon3 should "just work" because all it's doing is passing the text into Asterisk. Then under [syscmds] in web.ini you should be able to simply have:

rpt fun @ 41310 *800 = Restart System

Make sure you're using the appropriate helper scripts.