[arm-allstar] can't get localplay to play sound file
nw4gt at nw4gt.com
nw4gt at nw4gt.com
Wed Sep 19 01:56:45 EDT 2018
Ok,
I have a script named test.sh in /etc/asterisk/local/playnews with the
following contents:
#!/bin/bash
/usr/sbin/asterisk -rx "rpt localplay 48013
/etc/asterisk/local/playnews/test.ul"
test.ul is a voice file saying something to the effect of "Newsline
will be played in 5 minutes"
The test.ul file plays fine on my laptop.
When I execute test.sh (./test.sh), my repeater keys up for a couple
of seconds with no audio.
If I use CLI:
rpt localplay 48013 /etc/asterisk/local/playnews/test.ul
I get a message saying:
file.c:602 ast_openstream_full: File
/etc/asterisk/local/playnews/test.ul does not exist in any format
and yet when I am in /etc/asterisk/local/playnews, and type in ls, I
definitely see test.ul
So what am I missing here?
More information about the ARM-allstar
mailing list