Hi folks,
there seems to be a problem with siptrace module enabled in kamailio 3.1.0
(21a375).
Module parameters:
modparam("siptrace", "db_url",
"mysql://openser:123@[kamailio]localhost/openser")
# Database URL
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_flag", 22)
We are using the function siptrace() after setflag(22);
Oct 13 11:06:30 nod2 kernel: [765048.446793] kamailio[30762]: segfault at 0
ip b728413f sp bfede9f0 error 4 in sl.so[b7281000+c000]
#0 0xb735b13f in ?? ()
#1 0xb735b6b8 in ?? ()
#2 0x080fd4a7 in exec_pre_script_cb (msg=0x2, type=REQUEST_CB_TYPE) at
script_cb.c:173
#3 0x080d5733 in receive_msg ( buf=0x827e8a0 "ACK
sip:12345@test.sipserver.test SIP/2.0\r\nVia: SIP/2.0/UDP
192.168.28.210:5070;rport;branch=z9hG4bK1812616\r\nTo:
<sip:12345@test.sipserver.test
>;tag=b65c93bd0cbe55eef7f81a058b21e2ca.3137\r\nFrom:
\"Janko"..., len=396, rcv_info=0xbfceee4c) at receive.c:197
#4 0x0815b532 in udp_rcv_loop () at udp_server.c:532
#5 0x080a2917 in main_loop () at main.c:1554
#6 0x080a5142 in main (argc=2, argv=0xbfcef0e4) at main.c:2398
print pre_script_db
$5 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
after up, up:
print msg
$2 = (struct sip_msg *) 0x2
print flags
$3 = 3073786356
print cb
$4 = (struct script_cb *) 0x0
Regarding commit c53bc97968e4ac2ddf5b8a23af44942e8d50e7b3:
The commit annotation did not mention that the 'nid_pool_no' modparam
to 'auth' was removed. I had written a new configuration against the
tarball of v3.1.0 that I downloaded on Friday and it took me quite
some time to figure out why 'nid_pool_no' caused 'auth' to break when
I downloaded the 3.1.0 tarball again today.
Secondly, the option is still in the production documentation:
http://www.kamailio.org/docs/modules/3.1.x/modules/auth.html#nid_pool_no
I have two questions:
1. Why was it removed? What relation does it have to the substance of
this change?
2. If something like that is changed, is it much to ask to make a note
of it in the commit message at least? And if it's going to be
backported into the 3.1.0 branch and put into a new tarball, is it
much to ask that the official documentation on the web site be updated
to also reflect it?
Thanks!
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/