<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello list ?!<br>
<br>
Is there anyone that can point me to the documentation please ?<br>
<br>
I have added a new table like on </font><font
face="Helvetica, Arial, sans-serif"><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf">http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf</a><br>
<br>
With the following values :<br>
<br>
`musiconhold` (`name`, `directory`, `application`, `mode`, `digit`,
`sort`, `format`) VALUES<br>
('testmoh', '/var/lib/asterisk/moh/123456', '', 'files', '', '', '');<br>
<br>
<br>
Asterisk does not see the new MusicOnHold :<br>
<br>
asterisk*CLI> module reload extconfig<br>
[Jul 16 17:11:09] == Parsing '/etc/asterisk/extconfig.conf': [Jul 16
17:11:09] Found<br>
[Jul 16 17:11:09] == Binding voicemail to
mysql/asterisk/voicemail_users<br>
[Jul 16 17:11:09] == Binding sipusers to mysql/asterisk/sip_buddies<br>
[Jul 16 17:11:09] == Binding sippeers to mysql/asterisk/sip_buddies<br>
[Jul 16 17:11:09] == Binding queues to mysql/asterisk/queues<br>
[Jul 16 17:11:09] == Binding queue_members to
mysql/asterisk/queue_members<br>
[Jul 16 17:11:09] == Binding meetme to mysql/asterisk/conference<br>
<b>[Jul 16 17:11:09] == Binding musiconhold to
mysql/asterisk/musiconhold</b></font><font
face="Helvetica, Arial, sans-serif"><br>
asterisk*CLI> moh reload<br>
[Jul 16 17:12:53] == Parsing '/etc/asterisk/musiconhold.conf': [Jul
16 17:12:53] Found<br>
asterisk*CLI> moh show classes<br>
Class: default<br>
Mode: files<br>
Directory: /var/lib/asterisk/moh<br>
<br>
<br>
My SIPuser test2 has a value "testmoh" for the field 'musiconhold', but
when
I put a caller on hold, the musiconhold class stays "default".<br>
<br>
[Jul 16 17:17:27] -- Called test6<br>
[Jul 16 17:17:27] -- SIP/test6-0000000e is ringing<br>
[Jul 16 17:17:30] -- SIP/test6-0000000e answered SIP/test2-0000000d<br>
<b>[Jul 16 17:17:33] -- Started music on hold, class 'default', on
SIP/test6-0000000e</b><br>
<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
<br>
</font>
</body>
</html>