[asterisk-users] realtime music on hold
Jonas Kellens
jonas.kellens at telenet.be
Fri Jul 16 10:21:36 CDT 2010
Hello list ?!
Is there anyone that can point me to the documentation please ?
I have added a new table like on
http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf
With the following values :
`musiconhold` (`name`, `directory`, `application`, `mode`, `digit`,
`sort`, `format`) VALUES
('testmoh', '/var/lib/asterisk/moh/123456', '', 'files', '', '', '');
Asterisk does not see the new MusicOnHold :
asterisk*CLI> module reload extconfig
[Jul 16 17:11:09] == Parsing '/etc/asterisk/extconfig.conf': [Jul 16
17:11:09] Found
[Jul 16 17:11:09] == Binding voicemail to mysql/asterisk/voicemail_users
[Jul 16 17:11:09] == Binding sipusers to mysql/asterisk/sip_buddies
[Jul 16 17:11:09] == Binding sippeers to mysql/asterisk/sip_buddies
[Jul 16 17:11:09] == Binding queues to mysql/asterisk/queues
[Jul 16 17:11:09] == Binding queue_members to mysql/asterisk/queue_members
[Jul 16 17:11:09] == Binding meetme to mysql/asterisk/conference
*[Jul 16 17:11:09] == Binding musiconhold to mysql/asterisk/musiconhold*
asterisk*CLI> moh reload
[Jul 16 17:12:53] == Parsing '/etc/asterisk/musiconhold.conf': [Jul 16
17:12:53] Found
asterisk*CLI> moh show classes
Class: default
Mode: files
Directory: /var/lib/asterisk/moh
My SIPuser test2 has a value "testmoh" for the field 'musiconhold', but
when I put a caller on hold, the musiconhold class stays "default".
[Jul 16 17:17:27] -- Called test6
[Jul 16 17:17:27] -- SIP/test6-0000000e is ringing
[Jul 16 17:17:30] -- SIP/test6-0000000e answered SIP/test2-0000000d
*[Jul 16 17:17:33] -- Started music on hold, class 'default', on
SIP/test6-0000000e*
Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100716/e475ac16/attachment.htm
More information about the asterisk-users
mailing list