<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Maryam,</p>
<p>you activated debug for the module. Quickly looked into the code, is there some moqh debug output in your logs that might get some more hints? If not, maybe there is a problem with the syslog cfg on the machine?</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 19.08.19 um 08:09 schrieb Maryam Baghdadi:<br>
</div>
<blockquote type="cite" cite="mid:CAPrdAbBwmMtXa+XXV31M4Kv3Cg6VPhMz4TVEzFcShqn3Vpno=w@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
I use kamailio-5.2.3 .</div>
<div class="gmail_default" style="font-family:trebuchet
          ms,sans-serif;color:#20124d">
there isn't any error , I traced log files. call established and after matching RURI with URI in mohqueue table on hold state, mohq_process() function returns true but no sounds plays or I can't hear anything .</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2019 at 12:46 AM Henning Westerholt <<a href="mailto:hw@skalatan.de" moz-do-not-send="true">hw@skalatan.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div 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="gmail-m_5879362530718459126moz-cite-prefix">Am 17.08.19 um 08:20 schrieb Maryam Baghdadi:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:"trebuchet
                  ms",sans-serif;color:rgb(32,18,77)">
Hello everyone,<br>
</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)">
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:rgb(32,18,77)">
1- load MOH and all requirement modules .</div>
<div class="gmail_default" style="font-family:"trebuchet
                  ms",sans-serif;color:rgb(32,18,77)">
2- rtpproxy setups and works correctly</div>
<div class="gmail_default" style="font-family:"trebuchet
                  ms",sans-serif;color:rgb(32,18,77)">
3- mohqueue and mohqcalls tables created.</div>
<div class="gmail_default" style="font-family:"trebuchet
                  ms",sans-serif;color:rgb(32,18,77)">
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:rgb(32,18,77)">
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:rgb(32,18,77)">
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">1</span>.38.245.2 | /var/kamailio/MOH | novanet |     1 |<br>
+----+------+----------------------------+-------------------+---------+-------+
<div><br>
</div>
<div>
<div class="gmail_default">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">I review all previous mailing lists responses but no one answers completely and before me others had this problem.</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default"><br>
</div>
<br>
<div class="gmail_default" style="font-family:"trebuchet
                    ms",sans-serif;color:rgb(32,18,77)">
  </div>
</div>
</div>
<br>
<fieldset class="gmail-m_5879362530718459126mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_5879362530718459126moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_5879362530718459126moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="gmail-m_5879362530718459126moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_5879362530718459126moz-signature" cols="72">-- 
Henning Westerholt - <a class="gmail-m_5879362530718459126moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank" moz-do-not-send="true">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_5879362530718459126moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank" moz-do-not-send="true">https://skalatan.de/services</a></pre>
</div>
</blockquote>
</div>
</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>