Hi Henning,<br><br>Since I cannot use directly acc in failure Route then I will try to add the AVPs you mentioned directly in mysql with SQLOPS.<br><br>Thank you <br>Alex<br><br><br><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 2:55 PM, Henning Westerholt <span dir="ltr">&lt;<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Friday 22 January 2010, alex pappas wrote:<br>
&gt; In case of a call failure I&#39;m trying from failure route to send the call<br>
&gt; through other gateways with Dispatcher module.<br>
&gt; I would like to have ACC for all failures that a call can possibly pass. If<br>
&gt; the call fails in the 3 first gateways  I want them also in my mysql ACC<br>
&gt; table. I tried that with AVPs in the syslog and it works fine BUT is there<br>
&gt; any way that I can simply setflag(1) for accounting and I can have ACC for<br>
&gt; every try?<br>
&gt;<br>
&gt; I tryied to add  in failure route :<br>
&gt;<br>
&gt; setflag(1); # do accounting ...<br>
&gt; setflag(3); # ... even if the transaction fails<br>
&gt;<br>
&gt; but I&#39;m getting ACC only the last try.<br>
<br>
</div></div>Hi alex,<br>
<br>
you could use AVPs to store certain attributes of the previous attempts, like<br>
target, result code or similar and then just log this in the normal (extra)<br>
accounting. This is the way we use at the moment. I think Daniel also did some<br>
acc extensions in the last year, not sure if they also could help you in this<br>
regards.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br>