Hi,
I'm trying to configure the mohqueue in order to use a Music on Hold. (in case Invite with recvonly). I've added the module as specified in the documentation http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html
So after generation the tables, and fixing some init config issues, kamailio starts but I still don't understand ho I specify file has to play when a call is in HOLD mode. I'm using a /etc/kamailio/moh/g711.8
my config file:
*modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock")modparam ("mohqueue", "db_url", DBURL)modparam ("mohqueue", "db_qtable", "mohqueues")modparam ("mohqueue", "db_ctable", "mohqcalls")modparam ("mohqueue", "mohdir", "/etc/kamailio/moh")* Any idea would be very useful! :D
Thanks
Alex
Alex,
Sorry for the slow response, I have been out of town for a while.
The answer is to add audio files in the directory pointed to by the mohdir parameter and to adjust the MOHQUEUES table to provide the base name of each. The Audio Files http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html#audiofiles section of the documentation explains how these files are setup.
Hope this helps, reach out again if you have more questions. Bob
On Tue, Jun 16, 2015 at 1:51 PM, Alexandru Raileanu <sanduraileanu@gmail.com
wrote:
Hi,
I'm trying to configure the mohqueue in order to use a Music on Hold. (in case Invite with recvonly). I've added the module as specified in the documentation http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html
So after generation the tables, and fixing some init config issues, kamailio starts but I still don't understand ho I specify file has to play when a call is in HOLD mode. I'm using a /etc/kamailio/moh/g711.8
my config file:
*modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock")modparam ("mohqueue", "db_url", DBURL)modparam ("mohqueue", "db_qtable", "mohqueues")modparam ("mohqueue", "db_ctable", "mohqcalls")modparam ("mohqueue", "mohdir", "/etc/kamailio/moh")* Any idea would be very useful! :D
Thanks
Alex
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev