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!
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.
···
On 12/23/2016 04:57 PM, Ramesh Dhami
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
To unsubscribe from this list please visit
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.
<-- 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.
···
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)
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!
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.