Yes, thanks to help from Don, W9DRR I'm doing something similar to switch tail messages/courtesy tones. I have shell scripts that do a "sed" (stream editor) and module reload for the rpt.conf file. I would be willing to share these for the groups' benefit. Eventually these can be part of the standard build (a tail message/CT/PL select COP command set) if enough of us can help Jim with coding/testing. My eyes go cross when looking at the 87K lines of app_rpt.c, but I'm trying to understand it all! Anyone have a pseudo-code chart? There are mentions of Digital Squelch types in usbradio.conf, but I don't think its ever been developed. Tony --- On Wed, 6/15/11, Bryan D. Boyle <bdboyle@bdboyle.com> wrote:
From: Bryan D. Boyle <bdboyle@bdboyle.com> Subject: Re: [App_rpt-users] Rx disable command To: app_rpt-users@ohnosec.org Date: Wednesday, June 15, 2011, 8:54 AM On 6/15/11 7:34 AM, Tony KT9AC wrote:
Too bad you can't just switch the input PL required during those times.
write a shell script...that copies two different versions of the usbradio.conf file...say, usbradionormal.conf and usbradiolid.conf over the running usbradio.conf that has the pl codes differently set, maybe, if your users have the capability, of doing DPL, changing from audio to the digital pl mode...) and sending rasterisk a reload command after overwriting to reload the config...???
the DTMF=cmd,path to command function is pretty powerful.
I'll give it a try...thinking this would be a quick and dirty way of accomplishing it...???
Thoughts?
-- Bryan In this world, you must be oh so smart or oh so pleasant. Well, for years I was smart. I recommend pleasant. You may quote me.
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users