Hi,
i have asterisk 1.6.2 installed with no hardware card
i want stream audio using mpg123 and musiconhold using SIP phone
i have REHL 6 64 bit
my musiconhold looks like
[rath]
mode=custom
application=/usr/local/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s sound17.mp3pk.com/indian/bhaagmilkhabhaag/[Songs.PK]%20Bhaag%20Milkha%20Bhaag%20-%2003%20-%20Mera%20Yaar.mp3
format=ulaw
and extensions.conf lokks like
[moh_reload]
exten => _X.,1,answer()
exten => _X.,n,wait(1)
exten => _X.,n,playback(hello-world)
exten => _X.,n,SetMusicOnHold(rath)
exten => _X.,n,Set(CHANNEL(musicclass)=rath)
exten => _X.,n,wait(10)
exten => _X.,n,Set(CHANNEL(musicclass)=radio)
exten => _X.,n,wait(10)
exten => _X.,n,hangup()
but when i dial to this context call get hangup with no error message
please help whats wrong???