<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
you can play with t_set_fr() in an onreply_route[x] block for the
invite transaction:<br>
<br>
-
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_fr">http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_fr</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 09/10/14 21:29, Tobias wrote:<br>
</div>
<blockquote cite="mid:DUB110-W6A62F8090ED3CF8D27136F7A00@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
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>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>