<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
since it is about 0|1 state, it can be probably stored as a bit over
the dialog internal flags, which is iflags column.<br>
<br>
Also, for the patch, do it without reformatting a lot of code,
because it is not easy to track the real chances and review it. If
there is lot to reformat, do a separate patch before or after the
one that adds new features.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 06/01/14 13:31, Federico Cabiddu
wrote:<br>
</div>
<blockquote
cite="mid:CAFOaF_gCT_giLNdMs9RjrKsOPZMMvxnBGWRckBvT6rwc0QXLuQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div>we are using the dialog module to limit the duration of
users' calls.</div>
<div>We recently discovered (well, it's stated in the module
doc) that each subsequent in-dialog request resets the dialog
timeout. I can understand that this behavior can be useful in
some cases, but in our is causing the call duration limitation
to not work. I prepared a simple patch to introduce a new
parameter to make this behavior configurable (per module). I
would like to have it configurable per dialog, via means of an
AVP, but this would have implications on the dialog
save/restore mechanism and on the db schema, so for the moment
I left it simple.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Federico Cabiddu</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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>