<div dir="ltr"><div>Alex,</div><div><br></div><div>Sorry for the slow response, I have been out of town for a while.</div><div><br></div><div>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 <a href="http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html#audiofiles">Audio Files</a> section of the documentation explains how these files are setup.</div><div><br></div><div>Hope this helps, reach out again if you have more questions.</div><div>Bob</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 1:51 PM, Alexandru Raileanu <span dir="ltr"><<a href="mailto:sanduraileanu@gmail.com" target="_blank">sanduraileanu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>I'm trying to configure the mohqueue in order to use a Music on Hold. (in case Invite with recvonly). <br></div>I've added the module as specified in the documentation <a href="http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html" target="_blank">http://kamailio.org/docs/modules/4.3.x/modules/mohqueue.html</a><br><br></div><div>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. <br></div><div>I'm using a /etc/kamailio/moh/g711.8 <br><br></div><div>my config file:<br><br><b>modparam("rtpproxy", "rtpproxy_sock", "unix:/var/run/rtpproxy/rtpproxy.sock")<br>modparam ("mohqueue", "db_url", DBURL)<br>modparam ("mohqueue", "db_qtable", "mohqueues")<br>modparam ("mohqueue", "db_ctable", "mohqcalls")<br>modparam ("mohqueue", "mohdir", "/etc/kamailio/moh")<br><br></b></div><div>Any idea would be very useful! :D<br><br></div><div>Thanks<br><br></div><div>Alex<br></div><div><b><br></b></div></div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank" rel="noreferrer">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>