Yes, it can be done... In rpt.conf in the functions stanza, add something like: 9977=cmd,/usr/bin/reboot then in the [macro] stanza, add macro like this: 77 = *9977# Then a DTMF *577 will execute the *9977 command and your PC should reboot The only reason is if you want to shutdown th PC to do maintenance on it and you dont want to login to the box and do a shutdown.... On 3/25/2015 8:47 PM, kk6ecm wrote:
Two questions:
1) Is there a way to perform a command line "reboot" from a radio using DTMF? It seems the COP are for controlling within Asterisk. I am aware of COP,1 to warm boot asterisk.
2) Is there a reason this is not a good idea?
Thanks, Bob kk6ecm
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.