[arm-allstar] can't get localplay to play sound file

Doug Crompton wa3dsp at gmail.com
Wed Sep 19 02:12:35 EDT 2018


Gary,

 When you play any audio file in Asterisk you do not put the extent on the
end.  So test.ul should be just test when you call it. The actual file
wherever it is located does retain the proper extent. In this case  test.ul


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Wed, Sep 19, 2018 at 1:59 AM "Gary via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> 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?
>
>
>
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>


More information about the ARM-allstar mailing list