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

Sergey Basov sergey.v.basov at gmail.com
Fri Aug 5 11:47:54 CEST 2016


Hi.

As I remember this INFO because after conversion to multipart your
header in SIP message now Content-Type:
multipart/mixed;boundary="2123894789_1257887457" not Content-Type:
application/sdp
and next WARNING is normal too in this case.

For me it works normal, I make conversion from pure sip SIP with
Content-Type: application/sdp to SIP-I with Content-Type:
multipart/mixed;boundary="2123894789_1257887457" and 2 parts inside
it,
first is Content-Type: application/sdp
second is Content-Type: application/isup;version=itu-t92+
Content-Disposition: signal;handling=optional

But for conversion between SIP and SIP-I I using 2 kamailio instances/
One main for pure SIP and managing rtpengines, and second for
conversion between SIP and SIP-I.

--
Best regards,
Sergey Basov                     e-mail: sergey.v.basov at gmail.com

tel: (+38067) 403-62-54


2016-08-05 11:58 GMT+03:00 david <descartin at bts.io>:
> 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
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list