[SR-Users] music on hold configuration

Robert Boisvert rdboisvert at gmail.com
Wed Jul 20 19:49:19 CEST 2016


Gaurav,

Your request is a little vague but the following things may be helpful:

   1. Your configuration has commented out the module statements which
   disables it.
      - #loadmodule "mohqueue.so"
      - #modparam ("mohqueue", "db_url",
      "mysql://kamailio:kamailiorw@localhost/kamailio")
      - #modparam ("mohqueue", "mohdir", "/var/kamailio/MOH")
   2. There is no mohq_process() or mohq_send() functions in the main loop
   to intercept INVITES to the queue.
   http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#proc.func
   3. It is not clear if the configuration has loaded the rtpproxy module.
   http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#mod.depends
   4. Have you created and populated the MOHQUEUES and MOHQCALLS tables in
   the database?
   http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#database
   5. Did you create audio files and put them in the mohdir?
   http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#audiofiles

Bob

On Wed, Jul 20, 2016 at 1:25 PM, Gaurav Bmotra <saigauravmehra91 at gmail.com>
wrote:

> hi i m a new user of kamailio
> i have sertup kamailio SIP to SIP call going well
> but now i m tring to impliment Music On Hold
> i m this
>
> http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#table.parms
> but unable to impliment plz help me
>
> Hare i attache my kamailio config file
>
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Bmotra
> Smith Infotech
> E-46, phase 8 , Indus Area S.A.S Nagar Mohali 160071
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160720/61fc87e7/attachment.html>


More information about the sr-users mailing list