Moh quits randomly

i have a streaming music on hold profile set up and i notice at times it quits streaming. i have to do an amportal restart to get it going again? is there something that I can do to fix this?

from bash

rasterisk -x ‘moh reload’

should suffice rather than amportal restart, post your streaming shell script, but probably just a flakey stream.

/usr/bin/mpg123 -q -r 8000 -f 8192 --mono -s
i dont think its an issue with the stream, i listen to it on my phone all the time for hours at times.

If you don’t think it’s the stream then it would have to be mpg123 or asterisk, but I know of no problems there. Just for giggles try another source . . .

Protocol timeout on firewall? Your cell phone will auto reconnect to stream. Linux not so smart.

If the stream is streaming, then

tcpdump host -nv

from bash will be quite noisy, mpg123 needs that stream to output anything.