Bugs item #2817317, was opened at 2009-07-06 08:46
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2817317&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Kamailio crash completly when receiving empty Record-Route
Initial Comment:
Hello!
I found a serious bug: Our Kamailio 1.5.1 crashes, when it receives an empty Record-Route-Field. In my situation a SNOM-M3 with Firmware 2.2 produces this bug.
I attached a File where you can see the INVITE which produces the cash. The field "Record-Route" contains only a space.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-07-06 08:54
Message:
I forgot:
I am using the following modules:
loadmodule "/usr/local/lib/kamailio/modules/pv.so"
loadmodule "/usr/local/lib/kamailio/modules/sl.so"
loadmodule "/usr/local/lib/kamailio/modules/tm.so"
loadmodule "/usr/local/lib/kamailio/modules/rr.so"
loadmodule "/usr/local/lib/kamailio/modules/db_mysql.so"
loadmodule "/usr/local/lib/kamailio/modules/maxfwd.so"
loadmodule "/usr/local/lib/kamailio/modules/usrloc.so"
loadmodule "/usr/local/lib/kamailio/modules/registrar.so"
loadmodule "/usr/local/lib/kamailio/modules/auth.so"
loadmodule "/usr/local/lib/kamailio/modules/auth_db.so"
loadmodule "/usr/local/lib/kamailio/modules/siputils.so"
loadmodule "/usr/local/lib/kamailio/modules/uri_db.so"
loadmodule "/usr/local/lib/kamailio/modules/acc.so"
loadmodule "/usr/local/lib/kamailio/modules/textops.so"
loadmodule "/usr/local/lib/kamailio/modules/avpops.so"
loadmodule "/usr/local/lib/kamailio/modules/xlog.so"
loadmodule "/usr/local/lib/kamailio/modules/uac.so"
loadmodule "/usr/local/lib/kamailio/modules/alias_db.so"
loadmodule "/usr/local/lib/kamailio/modules/dialog.so"
loadmodule "/usr/local/lib/kamailio/modules/nathelper.so"
If you need more information please post what you need.
Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2817317&group_…
Bugs item #2817317, was opened at 2009-07-06 08:46
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2817317&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Kamailio crash completly when receiving empty Record-Route
Initial Comment:
Hello!
I found a serious bug: Our Kamailio 1.5.1 crashes, when it receives an empty Record-Route-Field. In my situation a SNOM-M3 with Firmware 2.2 produces this bug.
I attached a File where you can see the INVITE which produces the cash. The field "Record-Route" contains only a space.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2817317&group_…
i tried to play with s xmlrpc module, but got this erroe message on
startup:
Jul 4 15:33:33 localhost /usr/sbin/sip-router[8664]: ERROR: xmlrpc [xmlrpc.c:1989]: This module requires sl module
i do have k sl module loaded, because i use function send_reply that does
not exist in s version of the module. also, i use stats provided dby k
sl module.
is it possible to change xmlrpc module so that it accepts either s or k
version of sl module?
-- juha
at one point in my script i need to make this kind of domain_lookup:
xlog("L_INFO", "looking for domain $var(from_uri_domain)\n");
lookup_domain("$fd", "$var(from_uri_domain)");
looks like second argument is not understood. because i get into syslog
Jul 4 20:29:41 localhost /usr/sbin/sip-router[26491]: INFO: looking for domain test.fi
Jul 4 20:29:41 localhost /usr/sbin/sip-router[26491]: ERROR: domain [domain_mod.c:531]: Cannot get domain name to lookup
the latter line comes, when i changed in lookup_domain this DBG to ERR:
if (get_str_fparam(&domain, msg, (fparam_t*)fp) != 0) {
ERR("Cannot get domain name to lookup\n");
return -1;
}
i cannot replace $var(from_uri_domain) with a select.
so is this it? should i go back to the original plan and add attribute
support to k's domain module?
-- juha
line
if (is_local("@ruri.host")) {
in branch_route block that caused "Command cannot be used in the block"
parse error, also caused warning:
0(4462) WARNING: tm [tm.c:503]: WARNING: on_sl_reply("stateless_reply"): empty/non existing route
when i changed the above line to
if (1) {
both the parse error and the warning disappeared. looks like syntax
checking got somehow confused and produced warning on something that was
ok.
-- juha