exactly.  write a shell script, assign it to a dtmf sequence, then call that sequence from the startup macro line in rpt.conf for the node.
--
Bryan
Sent from my iPhone 5...No electrons were harmed in the sending of this message.



On Aug 15, 2014, at 18:57, <mike@midnighteng.com> wrote:


Doug,

The way I do it is to describe the CMD as a xxxx=command and call it from the SU macro string.

...mike/kb8jnm
-------- Original Message --------
Subject: [App_rpt-users] startup_macro
From: Doug Crompton <doug@crompton.com>
Date: Fri, August 15, 2014 6:45 pm
To: "app_rpt-users@ohnosec.org" <app_rpt-users@ohnosec.org>

I have a question on the startup_macro and calling a system script. The following does not seem to work. How do you call a system command from startup_macro? Perhaps the cmd, is left off? This does not seem clear in the documentation. I never really had a need to use this until lately.

startup_macro=cmd,/etc/asterisk/some_script

73 Doug
WA3DSP
http://www.crompton.com/hamradio


_______________________________________________
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.
_______________________________________________
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.