HI, i am trying to get moh working with a shoutcast stream, i have installed madplay and was using this in the music on hold:
[default]
mode=custom
dir=/var/lib/asterisk/mohmp3-empty
application=/root/moh.sh
and this is moh.sh
!/bin/bash
% wget -O - scfire-ntc-aa03.stream.aol.com:80/stream/1009 | madplay -
and when i do a moh reload i get:
res_musiconhold.c:917 moh_register: Unable to open pseudo channel for timing… Sound may be choppy.
and when the moh is supposed to start i get:
res_musiconhold.c:553 monmp3thread: Request to schedule in the past?!?!
I have been getting that musiconhold error no matter what i do, the regular stock moh works, but we need something different.
Any help is appreciated.
Alex