[Asterisk-Users] Music not on hold

Michael Manousos manousos at inaccessnetworks.com
Thu May 8 07:06:09 MST 2003


Hello Niclas,

Niclas Gustafsson wrote:
> Yep, it's version 0.59r.
> 
> But I shouldn't get the app MP3Player to work if there was some problem 
> with the player? 
> 
> In the below I hear the 'beep' and then nothing.
> 
> -- Executing StripMSD("H323:8284", "6") in new stack
> -- Executing Answer("H323:8284", "") in new stack
> -- Executing Playback("H323:8284", "beep") in new stack
> -- Playing 'beep'
> -- Executing Wait("H323:8284", "2") in new stack
> -- Executing MusicOnHold("H323:8284", "loud") in new stack
> -- Started music on hold, class 'loud', on H323:8284
> 
> ...(I hangup)...
> 
> -- Stopped music on hold on H323:8284
> == Spawn extension (cs-pbx, 5003, 5) exited non-zero on 'H323:8284'
> -- Hungup 'H323:8284'
> 
> I've tried numerous options to mpg123 (including copying the ones that
> work 
> for the app MP3Player) But no success. I believe that mpg123 is working
> fine.
> 
> Seems to be something stuck in the pipe between mpg123 and the
> oh323-channel?
> 
> Have anyone on the list got the oh323 channel driver to work with the
> music 
> on hold? If so could you send me some example configurations?

Music-on-Hold works fine with the oh323 channel driver.
Why don't you try it with a call transfer? (that's the actual
use of MOH)

[voip-h323]
...
exten => 111,1,SetMusicOnHold(default)
exten => 111,2,Dial(Phone/phone0,30,t)
...

 From a H.323 phone call 111 (registered H.323 alias of Asterisk).
The phone0 rings, the call is answered. From the phone0 you
press #700 (you are parking the caller). The caller will get
music while being parked.

NOTE: A hangup extension in the context will cause problems
to the operation of MOH.


> 
> Regards
> Niclas
> 
> 
> 

Regards,
Michael.





More information about the asterisk-users mailing list