[SR-Users] MOH setup

Robert Boisvert rdbprog at gmail.com
Mon Aug 19 16:49:20 CEST 2019


Maryam,

If you aren't hearing any sounds then there is an issue with RTP.  Did you
turn on the mohqueue debug
<https://www.kamailio.org/docs/modules/stable/modules/mohqueue.html#rpc.debug>
parameter?  If so, the logs should show RTP connectivity messages.

Hope this helps,
Bob

On Mon, Aug 19, 2019 at 2:11 AM Maryam Baghdadi <maryam.baghdadi at gmail.com>
wrote:

> 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>
> 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 Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Henning Westerholt - https://skalatan.de/blog/
>> Kamailio services - https://skalatan.de/services
>>
>> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190819/d2c3d604/attachment.html>


More information about the sr-users mailing list