[SR-Users] Textops and Multipart Body - adding ISUP segfaults Kamailio

david descartin at bts.io
Fri Aug 5 10:58:14 CEST 2016


Hello all

i'm having the same error on kam 4.4 when doing
 set_body_multipart();
 msg_apply_changes();


i see in the logs
 5(17797) DEBUG: textops [textops.c:1577]: set_multibody_helper():
delimiter<17>:[unique-boundary-1]
 5(17797) DEBUG: textops [textops.c:1486]: generate_boundary(): adding
final CRLF+CRLF
 5(17797) DEBUG: textops [textops.c:1714]: set_multibody_helper():
content-type<44>:[multipart/mixed;boundary="unique-boundary-1"]
 5(17797) DEBUG: textops [textops.c:1768]: set_multibody_helper(): set
flag FL_BODY_MULTIPART
 5(17797) INFO: <core> [msg_translator.c:1692]: get_boundary():
Content-Type hdr has no params <application/sdp>
 5(17797) WARNING: <core> [msg_translator.c:1958]:
build_req_buf_from_sip_req(): check_boundaries error
 5(17797) DEBUG: <core> [msg_translator.c:422]: clen_builder():
content-length: 191 (191)


the original INVITE is like
....
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 104.
P-Asserted-Identity: "10707334" <sip:10707334 at 3.3.3.3>.
.
v=0.
o=user1 53655765 23536 IN IP4 79.170.68.171.
s=-.
c=IN IP4 2.2.2.2.
t=0 0.
m=audio 6001 RTP/AVP 8.
....

do you have any idea why these messages appear

thanks a lot and regards
david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160805/f557972f/attachment.html>


More information about the sr-users mailing list