[App_rpt-users] playing audio files
Robert A. Poff WB3AWJ
wb3awj at comcast.net
Wed Oct 9 15:00:40 UTC 2013
Here's a link to a ZIP file containing a script to play audio files.
It consults a "library" file to see what files are available. Then picks one randomly (OK PSEUDO randomly).
Then checks to see if the channel is busy. If it is, the script doesn't play. If it's idle it plays the file.
Also some basic logging, and some support for a weather alert script that I wrote.
The ZIP contains the script, and all the current supporting files in use on my repeater.
http://w3sba250.dyndns.org/YorkStar/playid_10_09_2013.zip
Sorry, no README for now.........
----- Original Message -----
From: "Geoff" <ars.w5omr at gmail.com>
To: "app_rpt mailing list" <app_rpt-users at ohnosec.org>
Sent: Wednesday, October 9, 2013 10:00:39 AM
Subject: [App_rpt-users] playing audio files
Does asterisk support a playlist?
I want to play random announcements out on the repeater, and those
linked, at various times of the day.
These files do not have to play in any order (and, they'd get old and
predictable, anyway). The easiest way, I think, would be a playlist,
then set a crontab for the command.
Is there a way to implement such a command as:
$> asterisk -rx "rpt playback [node] path/to/filename.pl"
??
How would you do something like this?
-Geoff/W5OMR
_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20131009/b5039483/attachment.html>
More information about the App_rpt-users
mailing list