[SR-Users] MOH setup

Henning Westerholt hw at skalatan.de
Mon Aug 19 08:49:31 CEST 2019


Hi Maryam,

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?

Cheers,

Henning

Am 19.08.19 um 08:09 schrieb Maryam Baghdadi:
I use kamailio-5.2.3 .
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 .

On Mon, Aug 19, 2019 at 12:46 AM Henning Westerholt <hw at skalatan.de<mailto:hw at skalatan.de>> wrote:

Hello Maryam,

i quickly checked, the mohqueue module had some changes in git master recently. Just to get some more details:

- which version of Kamailio are you using?

- do you get any error message in the log related to this module?

- have you tried to debug the problem, e.g. with a SIP trace and observe what is happening on the network level?

Cheers,

Henning


Am 17.08.19 um 08:20 schrieb Maryam Baghdadi:
Hello everyone,

I need to setup Music on hold feature and I did all modifications in configuration file and did all steps for setup:
1- load MOH and all requirement modules .
2- rtpproxy setups and works correctly
3- mohqueue and mohqcalls tables created.
4-  audio file with type index (novanet.8) exists
5- parameters of MOH module setup and mohq_process() function called in request_route()‌.
6- table mohqueue initiated like this‌:
+----+------+----------------------------+-------------------+---------+-------+
| id | name | uri                        | mohdir            | mohfile | debug |
+----+------+----------------------------+-------------------+---------+-------+
|  1 | main | sip:main at 191.38.245.2 | /var/kamailio/MOH | novanet |     1 |
+----+------+----------------------------+-------------------+---------+-------+

Kamailio starts successfully and no error appears , call setup but on hold doesn't work and no audio file plays.
I review all previous mailing lists responses but no one answers completely and before me others had this problem.







_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190819/aa86e9ed/attachment.html>


More information about the sr-users mailing list