Hi Ronald,
The crash happens on a reply and not a request - see the frame 14, where
"buf" (the buffer containing the
sip message) shows a reply like text.
But the is_method() should not crash at all....before diving into debugging:
1) can you reproduce this crash ?
2) before the crash, do you see any errors in the logs
Regards,
Bogdan
On 01/13/2012 01:16 PM, Ronald Cepres wrote:
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
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users