[arm-allstar] SayWeather

Jason Schollenberger jason at schollenberger.com
Sat Feb 19 19:20:28 EST 2022


I'm not familiar with SayWeather but I have a script that does something
similar.

Just add a function in your function stanza "[functions#####]" to call the
script, such as:

85=cmd,/etc/asterisk/local/your-script-name.sh

and at the end of your script, tell asterisk to play the generated file:

/usr/sbin/asterisk -rx "rpt localplay $NODE1 $file"

Hope that helps,

Jason


On Sat, Feb 19, 2022 at 6:44 PM "Rich Ball via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Has anyone played with the SayWeather script? I got it to download my local
> weather forecast to test. I have it converting the text to a ul file. Now I
> am looking to tie it all together and play it over my node with a DTMF
> command. Does anyone have a script to do that?
>
>
>
> Thanks,
>
>
>
> Rich
>
> _______________________________________________
>
> 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/4 web page - http://hamvoip.org
>


More information about the ARM-allstar mailing list