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

2016-08-05 Thread Sergey Basov
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 SI

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

2016-08-05 Thread david
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 fin

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

2015-07-09 Thread Victor Seva
Hi, I was wrong. Your configuration is correct. after set_body_multipart() msg_appy_changes() is needed > if(has_body("application/sdp")) > { >set_body_multipart(); >if(msg_apply_changes()) >{ > $var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c"; >

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

2015-07-08 Thread andre second
Hi Victor, Many thanks for your reply. Here is what happens if I amend msg_apply_changes():  /usr/sbin/kamailio[1705]: ERROR: textops [textops.c:1854]: append_multibody_helper(): Cannot get boundary. Is body multipart?  /usr/sbin/kamailio[1705]: INFO:

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

2015-07-07 Thread Victor Seva
On 07/07/2015 04:07 PM, andre second wrote: > Hi, > > I am using Kamailio version: kamailio 4.3.0 (x86_64/linux) c6aa95 on > CentOS 6 > > I am trying to encapsulate ISUP in the INVITE: > > ... > if(has_body("application/sdp")) > { > set_body_multipart(); > if(msg_apply_changes()) >

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

2015-07-07 Thread andre second
Hi, I am using Kamailio version: kamailio 4.3.0 (x86_64/linux) c6aa95 on CentOS 6 I am trying to encapsulate ISUP in the INVITE: ...if(has_body("application/sdp")){      set_body_multipart();         if(msg_apply_changes())         {              $var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61