Does anybody know why I can NOT hear the MusicOnHold - using SJphone on
another PC in our network (normal playback is not a problem) .
See the * output and the line configured in extension.conf below (also
mp3player does not function)
Any suggestions?
*Asterisk output:*
*CLI> -- Executing WaitMusicOnHold("SIP/jeroen-bf54",
"30") in
new stack
-- Started music on hold, class 'default', on SIP/jeroen-bf54
-- Stopped music on hold on SIP/jeroen-bf54
-- Timeout on SIP/jeroen-bf54
-- Executing Goto("SIP/jeroen-bf54", "#|1") in new
stack
-- Goto (default,#,1)
-- Sent into invalid extension '#' in context 'default'
on
SIP/jeroen-bf54
-- Executing Playback("SIP/jeroen-bf54", "invalid")
in new stack
-- Playing 'invalid'
*Extension.conf
*
exten => 4000,1,WaitMusicOnHold,30
exten => 4001,1,mp3player(/var/lib/asterisk/mohmp3/sample-hold.mp3)
*musiconhold.conf*
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030819/577ae19a/attachment.htm
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Andrew Joakimsen (andrew@envisionstudio.net).vcf Type: text/x-vcard Size: 276 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030819/ddea1aba/AndrewJoakimsenandrewenvisionstudio.net.vcf
Despite my best efforts I am unable to get this to work. I have checked that mpg123 is correctly installed and that the symbolic link exists for the binary. I have also made sure that the REdhat9 does not have the older version mpg321 installed. When I invoke MusicOnHold from my dialplan i get the following message; Mar 15 15:01:10 WARNING[1225991360]: res_musiconhold.c:416 moh_alloc: No class: 30 Mar 15 15:01:10 WARNING[1225991360]: res_musiconhold.c:305 moh0_exec: Unable to start music on hold (class '30') on channel Zap/3-1 I have digium fxo and fxs cards installed and running properly. What is class 30? I cannot see it under classes in the musiconhold.conf file. Is there something trivial I am missing? Any help would be warmly appreciated. Brian
Hi, I installed mpg123 v0.59r without error and defined as defaut folder
/var/lib/asterisk/mohmp3. When i set a call on hold everythinghs seem ok
*CLI> -- Executing Dial("SIP/2339-4da6",
"SIP/2391|60|Thtr") in new
stack
-- Called 2391
-- SIP/2391-79a0 is ringing
-- Saved useragent "PA168S" for peer 2319
-- SIP/2391-79a0 answered SIP/2339-4da6
-- Attempting native bridge of SIP/2339-4da6 and SIP/2391-79a0
-- Started music on hold, class 'default', on SIP/2339-4da6
-- Stopped music on hold on SIP/2339-4da6
== Spawn extension (local, 2391, 1) exited non-zero on 'SIP/2339-4da6'
Anyone can help me
Thanks
Giordano
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050624/06d9e5fb/attachment.htm