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:phonenum...@chgw.commx.net SIP/2.0
                From: "South Test" 
<sip:phonenum...@orig.domain.com;user=phone>;tag=392385664-1238777567965-
                To:  <sip:phonenum...@chgw.commx.net>
                Via: SIP/2.0/UDP 
opensbc:5060;branch=z9hG4bKdec1a187dd1ede1193b6b6f3163a7dda;uas-addr=openser;rport
                CSeq: 913493359 INVITE
                Call-ID: bw1252479650304091860611...@orig.domain.com-0x000a
                Contact: <sip:+18135146...@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



_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to