[asterisk-users] realtime sip peers : musiconhold class

Jonas Kellens jonas.kellens at telenet.be
Fri Aug 13 02:57:24 CDT 2010


Hello list,


I'm using asterisk 1.4.30 and realtime sip.


I notice that the field "musiconhold" is not working as when putting 
someone on hold, the default musiconhold class is always used.


musiconhold.conf :

[default]
mode=files
directory=/var/lib/asterisk/moh
random=yes
;
[106002]
mode=files
directory=/var/lib/asterisk/moh/106002
random=yes


my realtime sip peers have the following in the column '*musiconhold*' : 
*106002*


asterisk*CLI> moh show classes
Class: default
     Mode: files
     Directory: /var/lib/asterisk/moh
Class: 106002
     Mode: files
     Directory: /var/lib/asterisk/moh/106002


But always :

[Aug 13 09:47:57]     -- Started music on hold, class 'default', on 
SIP/test2-00000014
[Aug 13 09:48:05]     -- Stopped music on hold on SIP/test2-00000014



Can anyone help ?!


Kind regards,

Jonas.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100813/015e3975/attachment.htm 


More information about the asterisk-users mailing list