<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 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:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h1
{mso-style-priority:9;
mso-style-link:"Заголовок 1 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:24.0pt;
font-family:"Times New Roman","serif";}
h2
{mso-style-priority:9;
mso-style-link:"Заголовок 2 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:18.0pt;
font-family:"Times New Roman","serif";}
h3
{mso-style-priority:9;
mso-style-link:"Заголовок 3 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:13.5pt;
font-family:"Times New Roman","serif";}
h4
{mso-style-priority:9;
mso-style-link:"Заголовок 4 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h5
{mso-style-priority:9;
mso-style-link:"Заголовок 5 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
h6
{mso-style-priority:9;
mso-style-link:"Заголовок 6 Знак";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:7.5pt;
font-family:"Times New Roman","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:"ТекÑÑ‚ выноÑки Знак";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.1
{mso-style-name:"Заголовок 1 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 1";
font-family:"Cambria","serif";
color:#365F91;
font-weight:bold;}
span.2
{mso-style-name:"Заголовок 2 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 2";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.3
{mso-style-name:"Заголовок 3 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 3";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.4
{mso-style-name:"Заголовок 4 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 4";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;}
span.5
{mso-style-name:"Заголовок 5 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 5";
font-family:"Cambria","serif";
color:#243F60;}
span.6
{mso-style-name:"Заголовок 6 Знак";
mso-style-priority:9;
mso-style-link:"Заголовок 6";
font-family:"Cambria","serif";
color:#243F60;
font-style:italic;}
p.yiv1898747387msolistparagraph, li.yiv1898747387msolistparagraph, div.yiv1898747387msolistparagraph
{mso-style-name:yiv1898747387msolistparagraph;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.yiv1898747387msonormal, li.yiv1898747387msonormal, div.yiv1898747387msonormal
{mso-style-name:yiv1898747387msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.yiv1898747387msochpdefault, li.yiv1898747387msochpdefault, div.yiv1898747387msochpdefault
{mso-style-name:yiv1898747387msochpdefault;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.yiv1898747387msohyperlink
{mso-style-name:yiv1898747387msohyperlink;}
span.yiv1898747387msohyperlinkfollowed
{mso-style-name:yiv1898747387msohyperlinkfollowed;}
span.yiv1898747387emailstyle17
{mso-style-name:yiv1898747387emailstyle17;}
span.yiv18987473871
{mso-style-name:yiv18987473871;}
span.yiv18987473872
{mso-style-name:yiv18987473872;}
span.yiv18987473873
{mso-style-name:yiv18987473873;}
span.yiv18987473874
{mso-style-name:yiv18987473874;}
span.yiv18987473875
{mso-style-name:yiv18987473875;}
span.yiv18987473876
{mso-style-name:yiv18987473876;}
p.yiv1898747387msonormal1, li.yiv1898747387msonormal1, div.yiv1898747387msonormal1
{mso-style-name:yiv1898747387msonormal1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Arial","sans-serif";
color:black;}
span.yiv1898747387msohyperlink1
{mso-style-name:yiv1898747387msohyperlink1;
color:#660000;
text-decoration:underline;}
span.yiv1898747387msohyperlinkfollowed1
{mso-style-name:yiv1898747387msohyperlinkfollowed1;
color:#003399;
text-decoration:underline;}
p.yiv1898747387msolistparagraph1, li.yiv1898747387msolistparagraph1, div.yiv1898747387msolistparagraph1
{mso-style-name:yiv1898747387msolistparagraph1;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Arial","sans-serif";
color:black;}
span.yiv1898747387emailstyle171
{mso-style-name:yiv1898747387emailstyle171;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.yiv189874738711
{mso-style-name:yiv189874738711;
font-family:"Arial","sans-serif";
color:black;
font-weight:bold;}
span.yiv189874738721
{mso-style-name:yiv189874738721;
font-family:"Arial","sans-serif";
color:black;}
span.yiv189874738731
{mso-style-name:yiv189874738731;
font-family:"Arial","sans-serif";
color:black;}
span.yiv189874738741
{mso-style-name:yiv189874738741;
font-family:"Arial","sans-serif";
color:black;}
span.yiv189874738751
{mso-style-name:yiv189874738751;
font-family:"Arial","sans-serif";
color:black;}
span.yiv189874738761
{mso-style-name:yiv189874738761;
font-family:"Arial","sans-serif";
color:black;}
p.yiv1898747387msochpdefault1, li.yiv1898747387msochpdefault1, div.yiv1898747387msochpdefault1
{mso-style-name:yiv1898747387msochpdefault1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle47
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.a
{mso-style-name:"ТекÑÑ‚ выноÑки Знак";
mso-style-priority:99;
mso-style-link:"ТекÑÑ‚ выноÑки";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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=RU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am using “bye_on_timeout_flag†for each transaction in Opensips. The default timeout – 10 s. “Real timeout†rewriting after loose_routing() when routing ACK request on 200 </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ОК</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> and different for clients. The max timeout in Opensips for dialogs is 9999 s.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><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"'> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org] <b>On Behalf Of </b>Binan AL Halabi<br><b>Sent:</b> Monday, November 12, 2012 1:31 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] extra duration of a call in 1.6.4-2<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:black'><br><br>Hi </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Denis</span><span style='font-size:10.0pt;color:black'>,<br><br>The client must send BYE to end the dialog. but in case of timeout you can generate the local BYE to end the dialog:<br>create_dialog("B"); The string "B" activate the BYE on timeout behavior. In OpenSIPS 1.6 use "bye_on_timeout_flag".<br><br> // Binan<o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:black'><o:p> </o:p></span></p></div><div><div><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><hr size=1 width="100%" align=center></span></div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Från:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> dpa <<a href="mailto:denis7979@mail.ru">denis7979@mail.ru</a>><br><b>Till:</b> 'OpenSIPS users mailling list' <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> <br><b>Skickat:</b> måndag, 12 november 2012 7:30<br><b>Ämne:</b> [OpenSIPS-Users] extra duration of a call in 1.6.4-2</span><span style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p><div id=yiv1898747387><div><p class=MsoNormal style='background:white'><span style='color:black'><img border=0 width=39 height=38 id="_x0000_i1026" src="cid:image001.gif@01CDC0EB.CE4442C0"><o:p></o:p></span></p><div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hello, </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I have detected one call which has duration 255558 seconds. I found this call in ngrep log (you can get it from here <a href="http://files.mail.ru/CU4GGS">http://files.mail.ru/CU4GGS</a>).</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>1.1.1.1</span><span lang=EN-US style='font-size:7.0pt'> </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>– </span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>One UA</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>2.2.2.2 – Opensips 1.6.4-2</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>3.3.3.3 – Another UA</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>After analyze the log I cannot find a reason why this call has so big duration. In addition I control a duration of any calls and from this client the call shouldn`t be alive more than 1800 seconds. As you can see in log there is no local BYE for the session.</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thank you for any help</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><o:p></o:p></span></p></div></div></div></div></body></html>