[Kamailio-Users] Nethelper Causes Kamailio to Crash
Carlos A. Alvarez
carlos.alvarez at commxinc.com
Fri Apr 3 22:31:13 CEST 2009
I am running into a situation where the nathelper module is causing openser/kamailio to crash. The crash occurs when opensbc sends and invite to openser with an extra CR in the message body. I already contacted the opensbc folks about this. I just wanted you all to be aware that this could cause serious service interruptions.
Error log:
kernel: [599650.771067] kamailio[25461]: segfault at 18 ip b7a0a6c7 sp bfbaaa70 error 4 in nathelper.so[b79f7000+18000]
Sample invite sent to kamailio.. Please look at the extra CR/LF after Supported. The nathelper module crashes after this.
INVITE sip:phonenumber at chgw.commx.net SIP/2.0
From: "South Test" <sip:phonenumber at orig.domain.com;user=phone>;tag=392385664-1238777567965-
To: <sip:phonenumber at chgw.commx.net>
Via: SIP/2.0/UDP opensbc:5060;branch=z9hG4bKdec1a187dd1ede1193b6b6f3163a7dda;uas-addr=openser;rport
CSeq: 913493359 INVITE
Call-ID: BW1252479650304091860611707 at orig.domain.com-0x000a
Contact: <sip:+18135146513 at opensbc>
Max-Forwards: 9
Accept: multipart/mixed, application/dtmf-relay, application/media_control+xml, application/sdp
Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE
Proxy-Require: privacy
Supported: 100rel
Content-Type: application/sdp
Content-Length: 214
v=0
o=BroadWorks 3675 1 IN IP4 gw1.domain.com
s=-
c=IN IP4 opensbc
t=0 0
m=audio 10074 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090403/25bcab55/attachment.htm>
More information about the sr-users
mailing list