[asterisk-users] realtime music on hold

Kyle Kienapfel doctor.whom at gmail.com
Fri Jul 16 11:35:44 CDT 2010


It looks like theres no much information out there about using realtime moh

Have you tried making an extension that goes to MusicOnHold(testmoh)

On Fri, Jul 16, 2010 at 8:21 AM, Jonas Kellens <jonas.kellens at telenet.be> wrote:
> 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.
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list