<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi again,<div><br><div>Maybe I was to quick on my previous mail, after some more searching I found a very similar question:</div><div><a href="http://lists.sip-router.org/pipermail/sr-users/2012-November/075497.html" target="_blank">http://lists.sip-router.org/pipermail/sr-users/2012-November/075497.html</a></div><div><br></div><div>I guess this is still the way to go?</div><div><br></div><div>Thanks,</div><div>/Tobias<br><br><div><hr id="stopSpelling">From: the_fx@hotmail.com<br>To: sr-users@lists.sip-router.org<br>Date: Thu, 9 Oct 2014 21:29:30 +0200<br>Subject: [SR-Users] Best way to handle 100 but no 180/183?<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Dear Kamailio users,<div><br></div><div>I have an issue with some upstream carriers quickly replying with 100 Trying but then basically times out.</div><div><br></div><div>I'm looking for a good solution to distinguish between the 100 reply and any other replies, and alter the timeout values. My goal is to be able to re-route calls where the 180/183 is not received within a few seconds, and if the 180/183 is received I'd like to give the call a much longer timeout.</div><div><br></div><div>I realize there is a "fr_inv_timer" that would do this, but I would not like to set that to low since I fear it would affect many other call types, i.e. if a carrier would send 183 once but for some reason does not resend on regular intervals.</div><div><br></div><div>I'm on Kamailio 4.1 and my current settings are:</div><div>fr_timer : 2000</div><div>fr_inv_timer : 120000</div><div>restart_fr_on_each_reply : 1</div><div><br></div><div>The only solution I can think of is to update the fr_inv_timer in an on_reply-route if the reply code is 180/183 but I'm not sure that would even work? Is that the way to go or is there another way?</div><div><br></div><div>Thanks in advance!</div><div>/Tobias</div>                                    </div>
<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</div></div></div>                                         </div></body>
</html>