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