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@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!
Hi,
Kamailio tells you, what's wrong.
On Sat, Nov 14, 2015 at 1:32 AM, David Villasmil Govea < david.villasmil@gmail.com> wrote:
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)
Just read the dependencies of the mohqueue module: http://www.kamailio.org/docs/modules/4.1.x/modules/mohqueue.html#mod.depends
You'll figure it out. :)
HTH Sebastian
Hello,
I had already gotten it to work, thanks!
David On Sat, Nov 14, 2015 at 7:15 AM Sebastian Damm damm@sipgate.de wrote:
Hi,
Kamailio tells you, what's wrong.
On Sat, Nov 14, 2015 at 1:32 AM, David Villasmil Govea < david.villasmil@gmail.com> wrote:
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)
Just read the dependencies of the mohqueue module:
http://www.kamailio.org/docs/modules/4.1.x/modules/mohqueue.html#mod.depends
You'll figure it out. :)
HTH Sebastian _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users