<div dir="ltr"><div>Gaurav,</div><div><br></div><div>Your request is a little vague but the following things may be helpful:</div><ol><li>Your configuration has commented out the module statements which disables it.</li><ul><li><font face="monospace,monospace">#loadmodule "mohqueue.so"</font></li><li><font face="Courier New">#modparam ("mohqueue", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")</font></li><li><font face="Courier New">#modparam ("mohqueue", "mohdir", "/var/kamailio/MOH")</font></li></ul><li>There is no <font face="monospace,monospace">mohq_process()</font> or <font face="monospace,monospace">mohq_send()</font> functions in the main loop to intercept INVITES to the queue. <a href="http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#proc.func">http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#proc.func</a></li><li>It is not clear if the configuration has loaded the rtpproxy module. <a href="http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#mod.depends">http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#mod.depends</a></li><li>Have you created and populated the MOHQUEUES and MOHQCALLS tables in the database? <a href="http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#database">http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#database</a></li><li>Did you create audio files and put them in the mohdir? <a href="http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#audiofiles">http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#audiofiles</a></li></ol><div>Bob</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 1:25 PM, Gaurav Bmotra <span dir="ltr"><<a href="mailto:saigauravmehra91@gmail.com" target="_blank">saigauravmehra91@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">hi i m a new user of kamailio <div>i have sertup kamailio SIP to SIP call going well </div><div>but now i m tring to impliment Music On Hold </div><div>i m this </div><div> <a href="http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#table.parms" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/mohqueue.html#table.parms</a></div><div>but unable to impliment plz help me </div><div><br></div><div>Hare i attache my kamailio config file </div><div><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br><br><br><br><br><br><br><font color="#999999"><b>Regards:</b><br>Gaurav Bmotra</font><br></div></div><div><font color="#999999">Smith Infotech </font></div><div><font color="#999999">E-46, phase 8 , Indus Area S.A.S Nagar Mohali 160071</font></div></div></div></div></div></div></div>
</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>