[SR-Users] Loading mohqueue stops kamailio from starting up

David Villasmil Govea david.villasmil at gmail.com
Sat Nov 14 01:32:14 CET 2015


Hello all,

I installed kamailio on debian from kamailio's apt repository. Configured
it with kamdbctl, started it up properly, no issues.
I configured mysql also, worked properly.

Next i loaded up "mohqueue" and everything went to hell :)

This is my config:

loadmodule "mohqueue.so"

# ----- moh-queue -----
modparam ("mohqueue", "db_url", "mysql://user:password@localhost/kamailio")
modparam ("mohqueue", "db_qtable", "mohqueue")
modparam ("mohqueue", "db_ctable", "mohqcalls")
modparam ("mohqueue", "mohdir", "/var/kamailio/MOH")

and my db table for mohqueue is:

+----+------------+-------------------------+--------------------+---------+-------+
| id | name       | uri                     | mohdir             | mohfile
| debug |
+----+------------+-------------------------+--------------------+---------+-------+
|  1 | test_queue | sip:1234 at 172.16.163.130 | /var/kamailio/MOH/ | test
 |     9 |
+----+------------+-------------------------+--------------------+---------+-------+

when starting, i get:

...
 0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_relay> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
 0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_forward_nonack> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
 0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_release> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
 0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <load_rr> in module rr
[/usr/lib/x86_64-linux-gnu/kamailio/modules/rr.so]
 0(5069) DEBUG: <core> [sr_module.c:695]: find_mod_export_record():
find_export_record: <rtpproxy_answer> not found
 0(5069) ERROR: mohqueue [mohq.c:390]: mod_init(): Unable to load
rtpproxy_answer
 0(5069) ERROR: <core> [sr_module.c:962]: init_mod(): Error while
initializing module mohqueue
(/usr/lib/x86_64-linux-gnu/kamailio/modules/mohqueue.so)
ERROR: error while initializing modules


Anyone can help?

Thanks!


-- 
DVG

-- 
Imagination is more important than knowledge
Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151114/29bc051a/attachment.html>


More information about the sr-users mailing list