On 10/11/10 4:18 PM, MÉSZÁROS Mihály wrote:
Hello,
is there any other error message before this one.
Siptrace module
prints its own messages in error cases.
No!
The only error return without message was related to trace flag that
looks ok. I added a log message for it. Also, I discovered an issue in
binding to sl module API, but the symptoms should have been different.
Please pull last 3.1 branch and try again. Let me know if it still fails
to load. I tested and starts ok.
Thanks,
Daniel
You can see in this longer log what i cutted out, that no other error
message presented in near environment, no ERROR only DEBUG messages.
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql
[km_res.c:85]: allocate 8 bytes for RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql
[km_res.c:92]: RES_NAMES(0x8316a88)[3]=[weight]
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql
[km_res.c:100]: use DB1_INT result type
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql
[km_dbase.c:326]: no rows returned from the query
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: lcr
[lcr_mod.c:1344]: loading, cycle 0 with <0> rows
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:81]: freeing 4 columns
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:85]: freeing RES_NAMES[0] at 0x83147b0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:85]: freeing RES_NAMES[1] at 0x83147e8
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:85]: freeing RES_NAMES[2] at 0x8316a50
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:85]: freeing RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:94]: freeing result names at 0x8316a0c
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:99]: freeing result types at 0x8316ac0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_res.c:136]: freeing result set at 0x83162f4
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[db_pool.c:102]: removing connection from the pool
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[sr_module.c:871]: DEBUG: init_mod: tls
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[cfg/cfg.c:168]: DEBUG: register_cfg_def(): new config group has been
registered: 'tls' (num=27, size=140)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: <core>
[sr_module.c:871]: DEBUG: init_mod: siptrace
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: ERROR: <core>
[sr_module.c:875]: init_mod(): Error while initializing module
siptrace (/usr/lib/kamailio/modules_k/siptrace.so)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: presence_xml
[presence_xml.c:329]: start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm
[t_funcs.c:122]: DEBUG: tm_shutdown : start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm
[t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm
[t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm
[t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm
[t_funcs.c:132]: DEBUG: tm_shutdown : done
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tls
[tls_init.c:657]: tls module final tls destroy
Thanks,
Misi
Cheers,
Daniel
config:
loadmodule "siptrace.so"
# ----- siptrace params -----
modparam("siptrace", "db_url",
"mysql://openser:openserrw@localhost/openser")
modparam("siptrace", "table", "sip_trace")
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "traced_user_avp", "$avp(s:user)")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_sl_acks", 1)
modparam("siptrace", "trace_local_ip", "10.1.1.1:5064")
Any help appreciated.
Best Regards,
Misi
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com