<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Ok, good it was sorted out.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 16.07.17 11:39, Nicolas Breuer
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HE1PR0401MB2585AD67D1A8022E7F516CAF89A30@HE1PR0401MB2585.eurprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
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:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
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:windowtext;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle29
{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;}
/* List Definitions */
@list l0
{mso-list-id:422338548;
mso-list-type:hybrid;
mso-list-template-ids:1724421904 988056622 135004163 135004165 135004161 135004163 135004165 135004161 135004163 135004165;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1644120427;
mso-list-template-ids:-1516061776;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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:windowtext">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">I
moved all the « code” from Branch Failure to Route Failure
and indeed it’s working as expected now<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">Thanks
for your help<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR"> Daniel-Constantin Mierla
[<a class="moz-txt-link-freetext" href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>]
<br>
<b>Envoyé :</b> jeudi 13 juillet 2017 10:36<br>
<b>À :</b> Nicolas Breuer
<a class="moz-txt-link-rfc2396E" href="mailto:Nicolas.Breuer@belcenter.biz"><Nicolas.Breuer@belcenter.biz></a>; Kamailio (SER) -
Users Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure Mode<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello,<o:p></o:p></p>
<p>408 has priority over 486, being a lower value. If you add
the second branch in a branch-failure-event-route, then you
have parallel forking and the lowest code is selected.<o:p></o:p></p>
<p>Anyhow, from your sip trace, it seems that the 486 was
forwarded, not local generated, because it has the to-tag from
callee side. The 408 is generated by kamailio.<o:p></o:p></p>
<p>Maybe you can enable cfgtrace for debugger an see what
actions are executed, to be sure it runs over the config parts
you expect to.<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 12.07.17 16:01, Nicolas Breuer wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Hello,</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"
lang="EN-US">Thanks for this feedback. I can for sure
remove the sl_send_reply from branch_failure_route and I
can trace that, if I remove that</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">And the destination is busy , the kamalio
will only send the 408 “time-out” reply.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR"> Daniel-Constantin Mierla [<a
href="mailto:miconda@gmail.com"
moz-do-not-send="true">mailto:miconda@gmail.com</a>]
<br>
<b>Envoyé :</b> mercredi 12 juillet 2017 15:13<br>
<b>À :</b> Nicolas Breuer <a
href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><Nicolas.Breuer@belcenter.biz></a>;
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><sr-users@lists.kamailio.org></a><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure Mode</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p>Hello,<o:p></o:p></p>
<p>do not send replies in branch failure route. At that phase,
the outgoing branches are not yet completed. More important,
do not use sl_send_reply() (this sends a stateless reply)
after the transaction has been created (which is the case of
branch failure route or failure route), use t_reply() if you
are sure that transaction was created or send_reply() if you
are not sure (so this option is the safest). Sending a
stateless reply when a transaction is active doesn't have
any effect on transaction state and tm module will send its
own reply once it considers the transaction to be completed.<o:p></o:p></p>
<p>Also, creating a new branch in branch failure route
(event_route[tm:branch-failure:...]) adds to parallel
forking. Serial forking is done only from
failure_route[...], when all branches sent out before were
completed.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hope these
are clarifying the behaviour you get there.<br>
<br>
Cheers,<br>
Daniel<o:p></o:p></p>
<div>
<p class="MsoNormal">On 12.07.17 11:47, Nicolas Breuer
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Hello Daniel,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">The 486 is send by « myself” in the branch
failure code.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">
##########################################################
486 busy</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> if (t_check_status("486")
&& $sht(branch=>$ci) != "" ) {</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> xlog("L_NOTICE",
"############################################ Error
received from the Carrier ----> Error
$var(errorcode)");</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:red" lang="EN-US">
sl_send_reply("486","Busy Here");</span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> exit;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> }</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">If I remove that, no “486” is send or put
in acc.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">So to be clear :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal"
style="color:windowtext;margin-left:0cm;mso-list:l0
level1 lfo3">
<span lang="EN-US">486 is send by branch failure</span><o:p></o:p></li>
<li class="MsoNormal"
style="color:windowtext;margin-left:0cm;mso-list:l0
level1 lfo3">
<span lang="EN-US">408 is send by route failure and the
winning reply</span><o:p></o:p></li>
</ul>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Normally I don’ t have to code to send a
“486” on the branch.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR"> Daniel-Constantin Mierla [<a
href="mailto:miconda@gmail.com"
moz-do-not-send="true">mailto:miconda@gmail.com</a>]
<br>
<b>Envoyé :</b> mercredi 12 juillet 2017 09:23<br>
<b>À :</b> Nicolas Breuer <a
href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><Nicolas.Breuer@belcenter.biz></a>;
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><sr-users@lists.kamailio.org></a><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure Mode</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p>Hello,<o:p></o:p></p>
<p>your latest sip trace shows that 486 is sent out to
caller (the acc record from syslog shows that the
transaction was completed with that code as well). An ACK
follows, but then I see also 408.<o:p></o:p></p>
<p>Can you check you config and see if there is some other
place that can generate the reply, like a send_reply(...)
or t_reply(...)?<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 10.07.17 12:02, Daniel-Constantin
Mierla wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p>Hello,<o:p></o:p></p>
<p>the new trace shows a serial forking, with the first
branch timing out, but the second branch is getting a
183 response, and that's all. It is not the same
scenario you described. I need the full trace, from
initial invite to the final response sent back to caller
to see what is the winning response code.<o:p></o:p></p>
<p>Cheers,<br>
Daniel<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 10.07.17 10:10, Nicolas Breuer
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Yes I’m sure the second branch is
launched from Branch Failure Route.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">If you check the timer trace, you can
see the second is send 4 seconds later than the
first ( I set the tm_inv to 4 seconds )</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">But in the trace I sent you the “last”
invite. The kamailio sent 4 invites.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">I will send you the complete trace</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"> Daniel-Constantin
Mierla [<a href="mailto:miconda@gmail.com"
moz-do-not-send="true">mailto:miconda@gmail.com</a>]
<br>
<b>Envoyé :</b> lundi 10 juillet 2017 09:20<br>
<b>À :</b> Nicolas Breuer <a
href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><Nicolas.Breuer@belcenter.biz></a>;
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><sr-users@lists.kamailio.org></a><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure Mode</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p><span lang="EN-US">Hello,</span><o:p></o:p></p>
<p><span lang="EN-US">looking at the trace, the routing
is parallel forking, because the two branches are
sent out at the same time, it is no final response
to the first branch before the second is sent out.</span><o:p></o:p></p>
<p><span lang="EN-US">Are you sure you sent out the
second branch from failure route? From the sip trace
is doesn't seem so.</span><o:p></o:p></p>
<p><span lang="EN-US">Cheers,<br>
Daniel</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 07.07.17
15:38, Nicolas Breuer wrote:</span><o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Hello Daniel,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Thanks !</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">I sent all the information’s to your
email address</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR"> Daniel-Constantin Mierla [</span><a
href="mailto:miconda@gmail.com"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE" lang="FR">mailto:miconda@gmail.com</span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR">]
<br>
<b>Envoyé :</b> vendredi 7 juillet 2017 13:21<br>
<b>À :</b> Nicolas Breuer </span><a
href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE" lang="FR"><Nicolas.Breuer@belcenter.biz></span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR">; Kamailio
(SER) - Users Mailing List </span><a
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE" lang="FR"><sr-users@lists.kamailio.org></span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR"><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure Mode</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p><span lang="EN-US">Can you get a ngrep trace
captured on kamailio server for such situation?</span><o:p></o:p></p>
<p><span lang="EN-US">Also, can you paste the
failure_route block here along with the log
messages from the syslog?</span><o:p></o:p></p>
<p><span lang="EN-US">Cheers,<br>
Daniel</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 07.07.17
12:42, Nicolas Breuer wrote:</span><o:p></o:p></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">I think serial because the new
branch is only created in case the first is
timeout.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR-BE"
lang="FR"> Daniel-Constantin Mierla [</span><a
href="mailto:miconda@gmail.com"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE"
lang="FR">mailto:miconda@gmail.com</span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR">]
<br>
<b>Envoyé :</b> vendredi 7 juillet 2017
12:40<br>
<b>À :</b> Kamailio (SER) - Users Mailing
List </span><a
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE"
lang="FR"><sr-users@lists.kamailio.org></span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR">; Nicolas
Breuer </span><a
href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><span
style="mso-fareast-language:FR-BE"
lang="FR"><Nicolas.Breuer@belcenter.biz></span></a><span
style="color:windowtext;mso-fareast-language:FR-BE" lang="FR"><br>
<b>Objet :</b> Re: [SR-Users] TR: Failure
Mode</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p><span lang="EN-US">Hello,</span><o:p></o:p></p>
<p><span lang="EN-US">are you doing parallel forking
or serial forking?</span><o:p></o:p></p>
<p><span lang="EN-US">Cheers,<br>
Daniel</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On
07.07.17 12:24, Nicolas Breuer wrote:</span><o:p></o:p></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><b><span
style="mso-fareast-language:FR-BE"
lang="EN-US"> </span></b><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Some help
here is needed</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">#
auto-discard branches from previous serial
forking leg</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">modparam("tm",
"failure_reply_mode", 3)</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I test a
call with two branches.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">1<sup>st</sup>
branch received a 408 timeout error</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">2nd branch
received a 486 busy.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Normally
the failure route should be with the 486.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">NOTICE:
<script>: Failure route
-----2---1--408----</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">We can see
the 408 is the winning reply but I understood
from the documentation that if</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Failure
reply mode is “3” , the winning reply is
always the reply from the last branch
</span><span style="font-family:Wingdings"
lang="EN-US">J</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">It’s a
problem because if the 1<sup>st</sup> is
timeout (because down), the second is OK but
callee is busy ; we don’t send the right reply
to the caller
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt" lang="EN-US"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre><span lang="EN-US">_______________________________________________</span><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio (SER) - Users Mailing List</span><o:p></o:p></pre>
<pre><a href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true"><span lang="EN-US">sr-users@lists.kamailio.org</span></a><o:p></o:p></pre>
<pre><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true"><span lang="EN-US">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span></a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"
lang="EN-US"><br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre><span lang="EN-US">-- </span><o:p></o:p></pre>
<pre><span lang="EN-US">Daniel-Constantin Mierla</span><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true"><span lang="EN-US">www.twitter.com/miconda</span></a><span lang="EN-US"> -- </span><a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true"><span lang="EN-US">www.linkedin.com/in/miconda</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio Advanced Training - </span><a href="http://www.asipto.com" moz-do-not-send="true"><span lang="EN-US">www.asipto.com</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio World Conference - </span><a href="http://www.kamailioworld.com" moz-do-not-send="true"><span lang="EN-US">www.kamailioworld.com</span></a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"
lang="EN-US"><br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre><span lang="EN-US">-- </span><o:p></o:p></pre>
<pre><span lang="EN-US">Daniel-Constantin Mierla</span><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true"><span lang="EN-US">www.twitter.com/miconda</span></a><span lang="EN-US"> -- </span><a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true"><span lang="EN-US">www.linkedin.com/in/miconda</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio Advanced Training - </span><a href="http://www.asipto.com" moz-do-not-send="true"><span lang="EN-US">www.asipto.com</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio World Conference - </span><a href="http://www.kamailioworld.com" moz-do-not-send="true"><span lang="EN-US">www.kamailioworld.com</span></a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"
lang="EN-US"><br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre><span lang="EN-US">-- </span><o:p></o:p></pre>
<pre><span lang="EN-US">Daniel-Constantin Mierla</span><o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true"><span lang="EN-US">www.twitter.com/miconda</span></a><span lang="EN-US"> -- </span><a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true"><span lang="EN-US">www.linkedin.com/in/miconda</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio Advanced Training - </span><a href="http://www.asipto.com" moz-do-not-send="true"><span lang="EN-US">www.asipto.com</span></a><o:p></o:p></pre>
<pre><span lang="EN-US">Kamailio World Conference - </span><a href="http://www.kamailioworld.com" moz-do-not-send="true"><span lang="EN-US">www.kamailioworld.com</span></a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - <a href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio World Conference - <a href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - <a href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio World Conference - <a href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - <a href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio World Conference - <a href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:FR-BE"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - <a href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio World Conference - <a href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a><o:p></o:p></pre>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>