[sr-dev] [kamailio/kamailio] set_body_multipart produce broken body (#1719)

Sergey Basov notifications at github.com
Mon Nov 19 08:42:26 CET 2018


Sorry for delay.
But according to doc for textops module:
Set multipart body to a SIP message. If called with **no parameters, will convert present body** to multipart. 

So if you have look at my part of CFG:
1. I use  **set_body_multipart(,"2123894789_1257887457");** to convert Corrent current body with SDP to multipart.
2. then do **msg_apply_changes()**
3. next do **append_body_part_hex("01");** to append new part to current multipart body
4. do **msg_apply_changes()** to save changes into current message structure

It works normally in this way.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1719#issuecomment-439798866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181118/3162f564/attachment.html>


More information about the sr-dev mailing list