<div dir="ltr">Thanks Sergey!</div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-25 3:51 GMT-03:00 Sergey Basov <span dir="ltr"><<a href="mailto:sergey.v.basov@gmail.com" target="_blank">sergey.v.basov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
It is normal in this case. I have same scenario and it work normal<br>
with this warning.<br>
I think it because after conversion first content type (in SIP<br>
headers) is "Content-Type: multipart/mixed;"  and "Content-Type:<br>
application/sdp" is inside multipart body.<br>
--<br>
Best regards,<br>
Sergey Basov                     e-mail: <a href="mailto:sergey.v.basov@gmail.com">sergey.v.basov@gmail.com</a><br>
<div><div class="h5"><br>
<br>
2017-04-24 21:11 GMT+03:00 Diego Nadares <<a href="mailto:dnadares@gmail.com">dnadares@gmail.com</a>>:<br>
> Hi list,<br>
><br>
> I'm converting body message to multipart. Calls establishes ok and Kamailio<br>
> it's not logging errors but I'm seeing some info and warnings that I don't<br>
> know it they are correct.<br>
><br>
> Maybe you could tell me if it's normal or if I'm doing something wrong in my<br>
> script.<br>
><br>
> kamailio[13428]: INFO: <script>: Original content type is application/sdp<br>
> kamailio[13428]: INFO: <core> [msg_translator.c:1693]: get_boundary():<br>
> Content-Type hdr has no params <application/sdp><br>
> kamailio[13428]: WARNING: <core> [msg_translator.c:1959]:<br>
> build_req_buf_from_sip_req(): check_boundaries error<br>
> kamailio[13428]: INFO: <script>: Appending GTD to body<br>
><br>
><br>
> I use the following sintax:<br>
><br>
> route{<br>
>           ...<br>
>           route(MANAGE_MULTIPART);<br>
>           ...<br>
> }<br>
> route[MANAGE_MULTIPART]{<br>
>     ....<br>
>     if (is_method("INVITE") && !has_totag() && has_body()){<br>
>      ...<br>
>       xlog("L_INFO", "Original content type is $cT");<br>
>       set_body_multipart();<br>
>       msg_apply_changes();<br>
>       xlog("L_INFO", "Appending GTD to body");<br>
><br>
>       ...<br>
>    }<br>
>     ...<br>
> }<br>
><br>
> Invite example:<br>
><br>
> INVITE <a href="http://sip:222222222@172.16.205.122:5060" rel="noreferrer" target="_blank">sip:222222222@172.16.205.122:<wbr>5060</a> SIP/2.0<br>
> Via: SIP/2.0/UDP 172.16.213.21:5060;branch=<wbr>z9hG4bK-28085-1-0<br>
> From: "111111111" <sip:<a href="tel:1111111111" value="+541111111111">1111111111</a>@172.16.213.21:5060;user=<wbr>phone>;tag=1<br>
> To: <<a href="http://sip:2222222222@172.16.205.122:5060" rel="noreferrer" target="_blank">sip:2222222222@172.16.205.<wbr>122:5060</a>><br>
> Call-ID: <a href="mailto:1-28085@172.16.213.21">1-28085@172.16.213.21</a><br>
> CSeq: 1 INVITE<br>
> Contact: "<a href="tel:1111111111" value="+541111111111">1111111111</a>" <<a href="http://sip:111111111@172.16.213.21:5060" rel="noreferrer" target="_blank">sip:111111111@172.16.213.21:<wbr>5060</a>><br>
> Max-Forwards: 70<br>
> Subject: Performance Test<br>
> Content-Type: application/sdp<br>
> Content-Length:   137<br>
><br>
> v=0<br>
> o=user1 53655765 <a href="tel:2353687637" value="+542353687637">2353687637</a> IN IP4 172.16.213.21<br>
> s=-<br>
> c=IN IP4 172.16.213.21<br>
> t=0 0<br>
> m=audio 6000 RTP/AVP 8<br>
> a=rtpmap:8 PCMA/8000<br>
><br>
> As you can see the log says that "Content-Type hdr has no params<br>
> <application/sdp>" but in the line before says "Original content type is<br>
> application/sdp".<br>
><br>
> I'm running kamailio 4.4 by the way.<br>
><br>
> Thanks in advance.<br>
><br>
> Diego.<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div><br></div>