<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#0b5394">Hello,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#0b5394"><br></div><div class="gmail_default" style=""><font face="verdana, sans-serif" style="" color="#0b5394"><span style="background-color:transparent;white-space:pre-wrap">version: opensips 2.4.6 (x86_64/linux)</span><br></font></div><div class="gmail_default" style=""><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">poll method support: poll, epoll, sigio_rt, select.</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">git revision: edef893c5</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" style="" color="#0b5394">main.c compiled on 23:26:34 Dec 14 2019 with gcc 4.8.5</font></span></p><font face="verdana, sans-serif" color="#0b5394"><br style="font-variant-numeric:normal;font-variant-east-asian:normal"></font></div><div class="gmail_default" style=""><p id="gmail-docs-internal-guid-4ab451a3-7fff-3b94-e268-c60019a0b5a8" style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">We want to remove the body part in this packet so that we used remove_body_part("application/vnd.etsi.pstn+xml") exported functions. It was removed successfully but the Content-Length was added. You can check we have two Content-Length headers in the packet.</font></span></p><font face="verdana, sans-serif" style="" color="#0b5394"><br style="font-variant-numeric:normal;font-variant-east-asian:normal"></font><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" color="#0b5394">Content-Length: 500</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;line-height:1.38;margin-bottom:0pt;margin-top:0pt" dir="ltr"><span style="background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" style="" color="#0b5394">Content-Length: 450</font></span></p><br style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:16px;font-variant-numeric:normal;font-variant-east-asian:normal"></div><div class="gmail_default" style=""><font color="#0b5394">INVITE <a href="mailto:sip%3A%2Bxxx1204037xxx@sip.provider.com">sip:+xxx1204037xxx@sip.provider.com</a> SIP/2.0</font><br><font color="#0b5394">Via: SIP/2.0/UDP 10.xxx.xxx.xxx:5060;branch=z9hG4bKysgyg576px7a357p5wyg4vawu;Role=3;Hpt=8ec2_36;TRC=ffffffff-ffffffff</font><br><font color="#0b5394">Call-ID: <a href="mailto:asbcehs9ekj9nle5h5q1ilqj5qs9f49ef9hb@B.5.281.sip.provider.com">asbcehs9ekj9nle5h5q1ilqj5qs9f49ef9hb@B.5.281.sip.provider.com</a></font><br><font color="#0b5394">From: <<a href="mailto:sip%3A123456789@sip.provider.com">sip:123456789@sip.provider.com</a>>;tag=8fe9f6cr</font><br><font color="#0b5394">To: <tel:xxx1204037xxx;phone-context=+x11x></font><br><font color="#0b5394">CSeq: 1 INVITE</font><br><font color="#0b5394">Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER</font><br><font color="#0b5394">Contact: <sip:10.xxx.xxx.xxx:5060;Dpt=ed2a-200;Hpt=8ec2_16;CxtId=4;TRC=ffffffff-ffffffff></font><br><font color="#0b5394">Max-Forwards: 62</font><br><font color="#0b5394">Supported: timer,100rel</font><br><font color="#0b5394">User-Agent: SBC UAC3000</font><br><font color="#0b5394">Session-Expires: 1800</font><br><font color="#0b5394">Min-SE: 600</font><br><font color="#0b5394">P-Asserted-Identity: <<a href="mailto:sip%3A%2B123456789@sip.provider.com">sip:+123456789@sip.provider.com</a>>,<tel:+123456789></font><br><font color="#0b5394">Privacy: none</font><br><font color="#0b5394">P-Charging-Vector: icid-value=agcf--20200226132711-100808435;orig-ioi=PA-NOIDAE;term-ioi=SIP_982312_ABCCLOUD_112233445566</font><br><font color="#0b5394">Content-Length: 1400</font><br><font color="#0b5394">Content-Type: multipart/mixed;boundary=ssboundary-1_</font><br><br><font color="#0b5394">--ssboundary-1_</font><br><font color="#0b5394">Content-Length: 523</font><br><font color="#0b5394">Content-Type: application/vnd.etsi.pstn+xml</font><br><font color="#0b5394">Content-Disposition: signal;handling=optional</font><br><br><font color="#0b5394"><?xml version="1.0" encoding="UTF-8"?></font><br><font color="#0b5394"><PSTN></font><br><font color="#0b5394">  <BearerCapability></font><br><font color="#0b5394">    <BCoctet3></font><br><font color="#0b5394">      <CodingStandard>00</CodingStandard></font><br><font color="#0b5394">      <InformationTransferCapability>00000</InformationTransferCapability></font><br><font color="#0b5394">    </BCoctet3></font><br><font color="#0b5394">    <BCoctet4></font><br><font color="#0b5394">      <TransferMode>00</TransferMode></font><br><font color="#0b5394">      <InformationTransferRate>10000</InformationTransferRate></font><br><font color="#0b5394">    </BCoctet4></font><br><font color="#0b5394">    <BCoctet5></font><br><font color="#0b5394">      <</font>Layer1Identification<font color="#0b5394">>01</</font>Layer1Identification<font color="#0b5394">></font><br><font color="#0b5394">      <UserInfoLayer1Protocol>00011</UserInfoLayer1Protocol></font><br><font color="#0b5394">    </BCoctet5></font><br><font color="#0b5394">  </BearerCapability></font><br><font color="#0b5394"></PSTN></font><br><font color="#0b5394">--ssboundary-1_</font><br><br><font color="#0b5394">Content-Length: 68</font><br><font color="#0b5394">Content-Type: application/vnd.etsi.pstn+xml</font><br><font color="#0b5394">Content-Disposition: signal;handling=optional</font><br><br><font color="#0b5394"><?xml version="1.0" encoding="UTF-8"?></font><br><font color="#0b5394"><sendingCompleteIndication/></font><br><br><font color="#0b5394">--ssboundary-1_</font><br><font color="#0b5394">Content-Length: 450</font><br><font color="#0b5394">Content-Type: application/sdp</font><br><br><font color="#0b5394">v=0</font><br><font color="#0b5394">o=- 373803451 373803451 IN IP4 10.xxx.xxx.xxx</font><br><font color="#0b5394">s=SBC call</font><br><font color="#0b5394">c=IN IP4 10.xxx.xxx.xxx</font><br><font color="#0b5394">t=0 0</font><br><font color="#0b5394">m=audio 60992 RTP/AVP 8 0 18 4 2 98 99 101 102 97</font><br><font color="#0b5394">a=rtpmap:8 PCMA/8000</font><br><font color="#0b5394">a=rtpmap:0 PCMU/8000</font><br><font color="#0b5394">a=rtpmap:18 G729/8000</font><br><font color="#0b5394">a=rtpmap:4 G723/8000</font><br><font color="#0b5394">a=rtpmap:2 G726-32/8000</font><br><font color="#0b5394">a=rtpmap:98 G726-40/8000</font><br><font color="#0b5394">a=rtpmap:99 G726-32/8000</font><br><font color="#0b5394">a=rtpmap:101 G726-24/8000</font><br><font color="#0b5394">a=rtpmap:102 G726-16/8000</font><br><font color="#0b5394">a=rtpmap:97 telephone-event/8000</font><br><font color="#0b5394">a=ptime:20</font><br><font color="#0b5394">a=fmtp:97 0-15</font><br><font color="#0b5394">a=fmtp:18 annexb=no</font><br><br><font color="#0b5394">--ssboundary-1_--</font><br><br><font color="#0b5394">------------------- AFTER ----------------------</font><br><br><font color="#0b5394">INVITE sip:101@5.xxx.xxx.xxx:54251;transport=UDP;rinstance=5b70c35c0dfbe4c8 SIP/2.0</font><br><font color="#0b5394">Record-Route: <sip:xx.xx.xx.xx:5070;r2=on;lr;ftag=8fe9f6cr;did=2af.57bfa951></font><br><font color="#0b5394">Record-Route: <sip:yy.yy.yy.yyy:5070;r2=on;lr;ftag=8fe9f6cr;did=2af.57bfa951></font><br><font color="#0b5394">Via: SIP/2.0/UDP xx.xx.xx.xx:5070;branch=z9hG4bK9df.30fa2b25.0</font><br><font color="#0b5394">Via: SIP/2.0/UDP 10.xxx.xxx.xxx:5060;rport=5060;received=10.xxx.xxx.xxx;branch=z9hG4bKysgyg576px7a357p5wyg4vawu;Role=3;Hpt=8ec2_36;TRC=ffffffff-f</font><br><font color="#0b5394">fffff</font><br><font color="#0b5394">Call-ID: <a href="mailto:asbcehs9ekj9nle5h5q1ilqj5qs9f49ef9hb@B.5.281.sip.provider.com">asbcehs9ekj9nle5h5q1ilqj5qs9f49ef9hb@B.5.281.sip.provider.com</a></font><br><font color="#0b5394">From: <<a href="mailto:sip%3A123456789@sip.provider.com">sip:123456789@sip.provider.com</a>>;tag=8fe9f6cr</font><br><font color="#0b5394">To: <sip:101@5.xxx.xxx.xxx></font><br><font color="#0b5394">CSeq: 1 INVITE</font><br><font color="#0b5394">Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER</font><br><font color="#0b5394">Contact: <sip:10.xxx.xxx.xxx:5060;Dpt=ed2a-200;Hpt=8ec2_16;CxtId=4;TRC=ffffffff-ffffffff></font><br><font color="#0b5394">Max-Forwards: 32</font><br><font color="#0b5394">Supported: timer,100rel</font><br><font color="#0b5394">User-Agent: SBC UAC3000</font><br><font color="#0b5394">Session-Expires: 1800</font><br><font color="#0b5394">Min-SE: 600</font><br><font color="#0b5394">P-Asserted-Identity: <<a href="mailto:sip%3A%2B123456789@sip.provider.com">sip:+123456789@sip.provider.com</a>>,<tel:+123456789></font><br><font color="#0b5394">Privacy: none</font><br><font color="#0b5394">P-Charging-Vector: icid-value=agcf--20200226132711-100808435;orig-ioi=PA-NOIDAE;term-ioi=SIP_982312_ABCCLOUD_112233445566</font><br><font color="#0000ff">Content-Length: 500<br>Content-Length: 450</font><br><font color="#0b5394">Content-Type: application/sdp</font><br><br><font color="#0b5394">v=0</font><br><font color="#0b5394">o=- 373803451 373803451 IN IP4 10.xxx.xxx.xxx</font><br><font color="#0b5394">s=SBC call</font><br><font color="#0b5394">c=IN IP4 xx.xx.xx.xx</font><br><font color="#0b5394">t=0 0</font><br><font color="#0b5394">a=rtpengine:087d0852c64e</font><br><font color="#0b5394">m=audio 11054 RTP/AVP 8 0 18 4 2 98 99 101 102 97</font><br><font color="#0b5394">a=rtpmap:8 PCMA/8000</font><br><font color="#0b5394">a=rtpmap:0 PCMU/8000</font><br><font color="#0b5394">a=rtpmap:18 G729/8000</font><br><font color="#0b5394">a=rtpmap:4 G723/8000</font><br><font color="#0b5394">a=rtpmap:2 G726-32/8000</font><br><font color="#0b5394">a=rtpmap:98 G726-40/8000</font><br><font color="#0b5394">a=rtpmap:99 G726-32/8000</font><br><font color="#0b5394">a=rtpmap:101 G726-24/8000</font><br><font color="#0b5394">a=rtpmap:102 G726-16/8000</font><br><font color="#0b5394">a=rtpmap:97 telephone-event/8000</font><br><font color="#0b5394">a=fmtp:18 annexb=no</font><br><font color="#0b5394">a=fmtp:97 0-15</font><br><font color="#0b5394">a=sendrecv</font><br><font color="#0b5394">a=rtcp:11055</font><br><font color="#0b5394">a=ptime:20</font><br></div><div class="gmail_default" style="color:rgb(11,83,148)"><br></div><div class="gmail_default" style="color:rgb(11,83,148)">Regards,</div><div class="gmail_default" style="color:rgb(11,83,148)">Kamlesh</div></div>

<br>
<p dir="auto" style="color:rgb(43,46,47);font-family:"Lucida Sans Unicode","Lucida Grande",Tahoma,Verdana,sans-serif;font-size:14px;background-color:rgb(255,255,255);line-height:22px;margin:15px 0px">Disclaimer :</p><p dir="auto" style="color:rgb(43,46,47);font-family:"Lucida Sans Unicode","Lucida Grande",Tahoma,Verdana,sans-serif;font-size:14px;background-color:rgb(255,255,255);line-height:22px;margin:15px 0px">This e-mail and any file transmitted with it are for exclusive use of the intended recipient(s)<br>and may contain confidential and privileged information. If you are not the intended recipient, <br>please contact the sender by replying this e-mail and destroy all copies and original message.<br>Any unauthorized review,use, disclosure, dissemination, forwarding, printing and copying of this<br>email or any action taken in reliance of this e-mail is strictly prohibited and may be unlawful.</p>