<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Khaled,<br>
<br>
I suggest you use the recently patch i saw on the mailing list,
see :<br>
[OpenSIPS-Devel] Proposal: new timer in dialog module<br>
You will be able to add your own ACK's timeout which should be a
little better that stream_timeout.<br>
<br>
Regards<br>
elred_<br>
<br>
Le 13/12/2012 11:21, M.Khaled W Chehab a écrit :<br>
</div>
<blockquote cite="mid:004801cdd91b$a4cd6140$ee6823c0$@icucall.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
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";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Bogdan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Sure the caller
will not reply to the 487 since the transaction does not
exist on his system and the call been canceled from his
side,.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">What I want is
to hang-up the call from my side too directly and do not
wait the mediaproxy timeout , since my opensips consider the
call still active and you can find in the dialog module the
call with reason connected with no ACK .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Khaled Chehab<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Bogdan-Andrei Iancu [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br>
<b>Sent:</b> Wednesday, December 12, 2012 1:26 PM<br>
<b>To:</b> M.Khaled W Chehab<br>
<b>Cc:</b> 'OpenSIPS users mailling list'; Muhammad
Shahzad; Muhammad Shahzad<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Send 487 request
terminbated while a cancel recieved from UAC<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
Khaled,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>You mean why the 487 reply from callee (frame 21) is not
forwarded to the caller ?</tt><br>
<br>
<tt>Do you have opensips logs (in debug 4) for the entire
call ? </tt><br>
<br>
<tt>Regards,</tt><br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
On 12/11/2012 06:08 PM, M.Khaled W Chehab wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Dear Bogdan
,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I am not
trying to do something against RFC, but I have a problem you
can see it clear in the attached capture file,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">On wire
shark 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 wire shark 31.015333
time line you can see that the trunk sends a 200 OK ,then
487 request terminated and the billing stops from the trunk
provider .</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">The problem
is opensips didn’t hang-up the call and go for the
mediaproxy timeout stream_timeout = 40.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">-how to let
opensips cancel the call immediately and stop it with no
billing .</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Khaled</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid windowtext
1.0pt;padding:3.0pt 0in 0in
0in;border-color:-moz-use-text-color -moz-use-text-color">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Bogdan-Andrei Iancu [<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
<br>
<b>Sent:</b> Friday, December 07, 2012 7:31 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Cc:</b> M.Khaled W Chehab<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Send 487 request
terminbated while a cancel recieved from UAC</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
Khaled,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>That is a bit against RFC - a proxy must not process the
CANCEL (like terminating the INVITE), but to send it to
the callee party and let the callee decide if the call
should be canceled or not. So what you try to do is
against RFC.</tt><br>
<br>
<tt>Regards,</tt><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
On 12/06/2012 04:03 PM, M.Khaled W Chehab wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Any idea guys ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid windowtext
1.0pt;padding:3.0pt 0in 0in
0in;border-color:-moz-use-text-color">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a moz-do-not-send="true"
href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[<a moz-do-not-send="true"
href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>]
<b>On Behalf Of </b>M.Khaled W Chehab<br>
<b>Sent:</b> Wednesday, December 05, 2012 4:18 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Subject:</b> [OpenSIPS-Users] Send 487 request
terminbated while a cancel recieved from UAC<br>
<b>Importance:</b> High</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Dears ,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">How to send a 487 request terminated and
drop the call directly if the UA send a cancel ,since now I
am sending 200 canceling to UA and send a cancel for the
Trunk and wait for his reply .<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Regards<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 id="Picture_x0020_1"
src="cid:part7.03050702.09000509@andrexen.com"
alt="Description: icucall" border="0" height="75"
width="117"><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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.icucall.com">http://www.icucall.com</a><o:p></o:p></p>
<p class="MsoNormal"> <a
moz-do-not-send="true" href="http://www.allohi.com">http://www.allohi.com</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>