<div dir="ltr">Thank you so much. I will test it!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 1:55 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">An alternative, which I haven't tried it to be 100% sure, but it should<br>
work as the accounting should happen when a reply is sent out -- anyhow,<br>
the idea is:<br>
<br>
- set an onreply_route for the BYE requests and inside it, if the code<br>
is 481, the reset the accounting flag(ie., resetflag(FLT_ACC)).<br>
<br>
If someone tries it, would be good to know the results whether it works<br>
or not.<br>
<br>
Cheers,<br>
Daniel<br>
<span class="im HOEnZb"><br>
On 01/11/16 09:32, Alex Balashov wrote:<br>
> On 11/01/2016 02:58 AM, Gholamreza Sabery wrote:<br>
><br>
>> Is there an option in the ACC module for this, or I should handle<br>
>> dialog tracking using dialog module?<br>
><br>
> No, there's no option for it in the ACC module.<br>
><br>
> Using dialog tracking is one option. Adding a database constraint or<br>
> trigger that would prevent it is another; that's my preferred approach.<br>
><br>
> The ACC module is stateless. Think of it as a relatively unintelligent<br>
> logger. As with all loggers, it's your choice what to log, and to<br>
> devise means by which to prevent certain things from being logged.<br>
><br>
<br>
--<br>
</span><span class="HOEnZb"><font color="#888888">Daniel-Constantin Mierla<br>
<a href="http://twitter.com/#!/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a><br>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>