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.
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)
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)).
application=/usr/local/bin/madplay --mono -R 8000 --output=raw:-
;application=/usr/sbin/streamplayer 22.214.171.124 8100
application=/usr/sbin/streamplayer 126.96.36.199 8040