Hi, I am having difficulties getting streaming to work on Asterisk 1.2.5 for music on hold using streamplayer.
streamplayer – A utility for reading from a stream.
Written for use with Asterisk (asterisk.org)
Copyright © 2005 – Russell Bryant – Digium, Inc.
Usage: ./streamplayer
It appears to work but there is no sound; below is the output. I know the stream works as I have tested it with Windows Media player.
Connected to Asterisk 1.2.5 currently running on telco (pid = 1982)
UNIX connection
Verbosity is at least 3
– Executing Answer(“SIP/1055-b46f”, “”) in new stack
– Executing MusicOnHold(“SIP/1055-b46f”, “default”) in new stack
– Started music on hold, class ‘default’, on channel ‘SIP/1055-b46f’
All other music on hold works ok (native and mp3 (with madplay)).
Any Ideas?
Thanks
Brett
[default]
mode=custom
directory=/var/lib/asterisk/mohmp3
application=/usr/local/bin/madplay --mono -R 8000 --output=raw:-
[net-radio]
mode=custom
;application=/usr/sbin/streamplayer 24.38.34.98 8100
application=/usr/sbin/streamplayer 207.200.96.227 8040
;format=ulaw
[native]
mode=files
directory=/var/lib/asterisk/mohmp3/native