<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Maryam,</p>
<p>i quickly checked, the mohqueue module had some changes in git master recently. Just to get some more details:</p>
<p>- which version of Kamailio are you using?<br>
</p>
<p>- do you get any error message in the log related to this module?</p>
<p>- have you tried to debug the problem, e.g. with a SIP trace and observe what is happening on the network level?<br>
</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 17.08.19 um 08:20 schrieb Maryam Baghdadi:<br>
</div>
<blockquote type="cite" cite="mid:CAPrdAbBC+0X+UPHG=OuwGNTwotGxkEEP0O8f9cOC8STxYGYrEQ@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
Hello everyone,<br>
</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
<br>
</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
I need to setup Music on hold feature and I did all modifications in configuration file and did all steps for setup:</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
1- load MOH and all requirement modules .</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
2- rtpproxy setups and works correctly</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
3- mohqueue and mohqcalls tables created.</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
4-  audio file with type index (<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">novanet</span>.8) exists</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
5- parameters of MOH module setup and mohq_process() function called in request_route()‌.</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
6- table mohqueue initiated like this‌: </div>
+----+------+----------------------------+-------------------+---------+-------+<br>
| id | name | uri                        | mohdir            | mohfile | debug |<br>
+----+------+----------------------------+-------------------+---------+-------+<br>
|  1 | main | sip:main at 19<span class="gmail_default" style="font-family:"trebuchet
          ms",sans-serif;color:rgb(32,18,77)">1</span>.38.245.2 | /var/kamailio/MOH | novanet |     1 |<br>
+----+------+----------------------------+-------------------+---------+-------+
<div><br>
</div>
<div>
<div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif;color:rgb(32,18,77)">
Kamailio starts successfully and no error appears , call setup but on hold doesn't work and no audio file plays.</div>
<div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif;color:rgb(32,18,77)">
I review all previous mailing lists responses but no one answers completely and before me others had this problem.</div>
<div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif;color:rgb(32,18,77)">
<br>
</div>
<div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif;color:rgb(32,18,77)">
<br>
</div>
<br>
<div class="gmail_default" style="font-family:trebuchet
            ms,sans-serif;color:#20124d">
  </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>