Using scheduler to play custom (local) voice announcement
Hi Guys: I'd like to play a custom ulaw announcement over my repeater (at say an hourly interval). This custom announcement is different from my repeater ID. I see that I can call a macro from the scheduler; I'm not sure whether I can invoke Asterisk's System command directly from a macro, or whether I have to make a call to a local extension that invokes the System command (which then plays my announcement). Hopefully there's an easier way! Appreciate some guidance. Thanks! Ramesh, VA3UV
On 2016-12-24 3:37 AM, gregory wrote:
should just be able to add cron job adding following command (crontab -e adds cron jobs on my pi3)
asterisk -rx "rpt localplay <nodenumber> /directories.../audiofile"
i think though the audio file will have to be a gsm file, and leave the extension off the filename in the cron job.
<-- Hi Gregory: Thanks; I am familiar with this method... I was just hoping that I could have taken care of this through app_rpt / rpt.conf so that everything was in one place / backed up and easily recoverable. Thanks! Ramesh.
Ramesh, Have a look at tail messages. This is how I do it. http://ohnosec.org/drupal/node/160 N1XBM Apparare Scientor Paratus Communicare Allstar Node # 27086, 41540, 41812, 42086, 42658, 42657 www.radioguysrepeaternetwork.com On Dec 23, 2016 7:57 PM, "Ramesh Dhami" <Ramesh@va3uv.com> wrote:
Hi Guys:
I'd like to play a custom ulaw announcement over my repeater (at say an hourly interval).
This custom announcement is different from my repeater ID.
I see that I can call a macro from the scheduler; I'm not sure whether I can invoke Asterisk's System command directly from a macro, or whether I have to make a call to a local extension that invokes the System command (which then plays my announcement). Hopefully there's an easier way!
Appreciate some guidance.
Thanks!
Ramesh, VA3UV
_______________________________________________ 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/mai lman/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.
participants (3)
-
gregory -
Ramesh Dhami -
Robert Newberry