[OpenSIPS-Users] is_method crash when used on pike triggered route
Ronald Cepres
rbcepres at gmail.com
Fri Jan 13 12:16:30 CET 2012
Hi all,
I'm using OpenSIPS 1.7.1 and based from the attached back trace, it crashed
when it is trying to parse the method of a REGISTER message received by the
server, triggered by pike route.
Here is a snippet of my opensips.cfg:
...
loadmodule "pike.so"
modparam("pike", "sampling_time_unit", 30)
modparam("pike", "reqs_density_per_unit", 75)
modparam("pike", "check_route", "pike")
...
route[pike] {
if (($si == $Ri) || ($si == "192.168.1.60") || ($si == "
192.168.1.61") || ($si == " 192.168.1.65")) {
drop;
}
if (!is_method("REGISTER")) {
drop;
}
}
...
Basically, I just want to check REGISTER messages only on the pike route.
Does anyone have a workaround on this?
FWIW, should I also post this on the dev list?
Thanks!
Regards,
Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120113/8e55b44d/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opensips pike crash bt full.txt
URL: <http://lists.opensips.org/pipermail/users/attachments/20120113/8e55b44d/attachment.txt>
More information about the Users
mailing list