<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Hi Oleg,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Is it normal your outgoing INVITE have twice « </span><span lang=EN-US style='color:black'>Content-Length: 205 » ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Regards</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>De : </span></b><span style='font-size:12.0pt;color:black'>Users <users-bounces@lists.opensips.org> au nom de Oleg Podguyko via Users <users@lists.opensips.org><br><b>Répondre à : </b>Oleg Podguyko <podguiko@mail.ru>, OpenSIPS users mailling list <users@lists.opensips.org><br><b>Date : </b>jeudi 7 novembre 2019 à 19:16<br><b>À : </b><users@lists.opensips.org><br><b>Objet : </b>[OpenSIPS-Users] Opensips generate two Content-lenth headers<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I’m using opensips as proxy. I got INVITE from one side, do some logics ,remove ISUP body and send INVITE to destination via dispatcher module.<o:p></o:p></p></div><div><p class=MsoNormal>And I see that outgoing INVITE has two content-lenth headers. Remote side after received such INVITE sends 400 <o:p></o:p></p></div><div><p class=MsoNormal>Bad Contenth-lenth header.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Incoming INVITE:<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><p class=MsoNormal>INVITE sip:9222992040@10.66.107.169;transport=sctp;user=phone SIP/2.0<br>Via: SIP/2.0/SCTP 10.111.18.3:7010;branch=z9hG4bKiz5cvz9x5v5zi4bg84g4vx4zs;X-DispMsg=1408<br>Route: <sip:10.66.107.169:5060;transport=sctp;lr><br>Call-ID: i44czbcvax4gabcdst4iavdbaisji94s@10.18.5.64<br>From: "9269918424"<sip:9269918424@10.111.18.3;transport=sctp;user=phone>;tag=i4z5545v-CC-1027-TRC-613805-OFC-14<br>To: "9222992040"<sip:9222992040@10.66.107.169;transport=sctp;user=phone><br>CSeq: 1 INVITE<br>P-Access-Network-Info: GEN-ACCESS;"area-number=+79262000601"<br>Max-Forwards: 70<br>Contact: <sip:10.111.18.3:7010><br>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE<br>P-Asserted-Identity: <tel:9269918424><br>History-Info: <sip:9254462587@anonymous.invalid?reason=SIP%3Bcause%3D503%3Btext%3D%22Subscriber%20Not%20Reachable%22&Privacy=history>;index=1<br>History-Info: <sip:9222992040@10.66.107.169:5060;transport=sctp>;index=1.1<br>P-Early-Media: supported<br>Supported: 100rel,timer,histinfo<br>Min-SE: 90<br>Session-Expires: 1800;refresher=uac<br>Content-Length: 477<br>Content-Type: multipart/mixed;boundary=ssboundary<o:p></o:p></p></div><div><p class=MsoNormal>--ssboundary<br>Content-Length: 205<br>Content-Type: application/sdp<o:p></o:p></p></div><div><p class=MsoNormal>v=0<br>o=xyz 1154444372 1154444373 IN IP4 10.111.18.3<br>s=SipCall<br>c=IN IP4 10.249.66.133<br>t=0 0<br>m=audio 28644 RTP/AVP 8 116<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:116 telephone-event/8000<br>a=ptime:20<o:p></o:p></p></div><div><p class=MsoNormal>--ssboundary<br>Content-Length: 100<br>Content-Type: application/isup;version=itu-t92+<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>)"<br>)HB()EdRx1Z<br>)EdRxa4}à§=?bñ£9<br>1À4À?ÀoÀuÀ<br>--ssboundary--<o:p></o:p></p></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Outgoing INVITE<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><p class=MsoNormal>INVITE sip:9222992040@10.66.107.169;transport=sctp;user=phone SIP/2.0<br>Record-Route: <sip:192.168.9.84;r2=on;lr;did=876.0b9c196><br>Record-Route: <sip:10.66.107.169;transport=sctp;r2=on;lr;did=876.0b9c196><br>Via: SIP/2.0/UDP 192.168.9.84:5060;branch=z9hG4bKfa6a.b4f80a51.0<br>Via: SIP/2.0/SCTP 10.111.18.3:7010;branch=z9hG4bKiz5cvz9x5v5zi4bg84g4vx4zs;X-DispMsg=1408<br>Call-ID: i44czbcvax4gabcdst4iavdbaisji94s@10.18.5.64<br>From: "9269918424"<sip:9269918424@10.111.18.3;transport=sctp;user=phone>;tag=i4z5545v-CC-1027-TRC-613805-OFC-14<br>To: "9222992040"<sip:9222992040@10.66.107.169;transport=sctp;user=phone><br>CSeq: 1 INVITE<br>P-Access-Network-Info: GEN-ACCESS;"area-number=+79262000601"<br>Max-Forwards: 69<br>Contact: <sip:10.111.18.3:7010><br>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE<br>P-Asserted-Identity: <tel:9269918424><br>History-Info: <sip:9254462587@anonymous.invalid?reason=SIP%3Bcause%3D503%3Btext%3D%22Subscriber%20Not%20Reachable%22&Privacy=history>;index=1<br>History-Info: <sip:9222992040@10.66.107.169:5060;transport=sctp>;index=1.1<br>P-Early-Media: supported<br>Supported: 100rel,timer,histinfo<br>Min-SE: 90<br>Session-Expires: 1800;refresher=uac<br>Content-Length: 205<br>Content-Length: 205<br>Content-Type: application/sdp<br>v=0<br>o=xyz 1154444372 1154444373 IN IP4 10.111.18.3<br>s=SipCall<br>c=IN IP4 10.249.66.133<br>t=0 0<br>m=audio 28644 RTP/AVP 8 116<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:116 telephone-event/8000<br>a=ptime:20<br> <o:p></o:p></p></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><div><p class=MsoNormal>--<br>Oleg Podguyko<o:p></o:p></p></div></div></div><p class=MsoNormal>_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users <o:p></o:p></p></div></body></html>