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 http://173.193.32.131:8360
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 173.193.32.131
from bash will be quite noisy, mpg123 needs that stream to output anything.