Sure, make a macro that mutes telemetry ... cop 34 then enables or disables the repeater ...  cpo [23], set telemetry back to previous state ... cop 33 .  It works for me.

...STeve - KF5VH


On 5/28/2017 11:49 AM, Bob wrote:

The cop,2 and cop,3 DTMF approach works quickly, which is what I need. However, cop,2 reports "r p t e n a." Is there any way to quiet just this response, and not the others, or perhaps substitute "status,2?"

 

Thanks much all,

Bob

 


From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Tim Sawyer
Sent: Saturday, May 27, 2017 19:56 PM
To: Users of Asterisk app_rpt
Subject: Re: [App_rpt-users] Temporary stop, then restart asterisk

 

What? That's a weird way to do it when you could just:

 

85 = cop,2

86 = cop,3 

 

Besides calling scripts when you don't have to is bad form and dangerous. 

 

On Fri, May 26, 2017 at 10:26 AM, Bryan D. Boyle <bdboyle@bdboyle.com> wrote:

or...assign a couple DTMF functions in rpt.conf, for instance:

85 = cmd,/etc/asterisk/scripts/enable.sh
86 = cmd,/etc/asterisk/scripts/disable.sh

where, in a /scripts directory under /etc/asterisk, there are two scripts as above...
enable.sh:

#!/bin/bash
/usr/sbin/asterisk -rx "rpt cmd nodenumber cop 2 nodenumber"

disable.sh
(replace the 2 with a 3)

chmod 755 [enable.sh, disable.sh]

rasterisk
rpt reload

lots of ways to skin the cat.  Remember, not only is asterisk/allstar functionally rich...but you can also use the underlying OS to do many wonderful and various things both to itself as well as the application.  There are no limits to the creativity...



On 5/26/2017 12:43 PM, Steve Zingman wrote:

As you said, it was when DIAL first released for the RPi so it's 1.0
From the asterisk CLI:
rpt cmd 1999 cop 2 1999 <------------ system enable
rpt cmd 1999 cop 3 1999 <------------ system disable

 

_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.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.



 

--

--

Tim


Virus-free. www.avg.com


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.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.