<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>Dears,<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>How to drop the call when a cancel received from UA and a 200 OK from the trunk in the same second, note back the client cdr will be a canceled call and the trunk cdr will be 1 sec duration but on my cdr its the max daialog timeout duration<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>I am searching for a solution for this since two weeks as I tried all trick I know and all didn’t succeed ,<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>Find attached the scenario I have problem with, which you can find it at wireshark time line (30.877027) the Client with IP ( 74.114.101.170) sends a cancel ,and the opensips version 1.8.2 server with IP 89.207.133.144 send the client 200 canceling and in its terms forward the cancel to the trunk provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk sends a 200 OK then 487 request terminated and the billing stops from the trunk provider .<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go for the max call duration in the dialog module .<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>-how to let opensips cancel the call immediately and stop it with no billing .<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>Please find attached my opensips.cfg configuration file <o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Regards<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Khaled Chehab<o:p></o:p></p><p class=MsoNormal>Senior NGN Engineer<o:p></o:p></p><p class=MsoNormal><img width=117 height=75 id="Picture_x0020_1" src="cid:image001.png@01CDBDB4.4B6537E0" alt="Description: icucall"><o:p></o:p></p><p class=MsoNormal>Operations Office - Lebanon<o:p></o:p></p><p class=MsoNormal>Office : +961 1 515155 ext 300<o:p></o:p></p><p class=MsoNormal>Mobile : +961 3 045212<o:p></o:p></p><p class=MsoNormal>E-mail : <a href="mailto:kchehab@icucall.com">kchehab@icucall.com</a><o:p></o:p></p><p class=MsoNormal>MSN ID :khalidchehab@hotmail.com <o:p></o:p></p><p class=MsoNormal>Skype : k_chehab <o:p></o:p></p><p class=MsoNormal>Web Site: <a href="http://www.icucall.com">http://www.icucall.com</a><o:p></o:p></p><p class=MsoNormal> <a href="http://www.allohi.com">http://www.allohi.com</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>