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"><<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>></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>
> In case of a call failure I'm trying from failure route to send the call<br>
> through other gateways with Dispatcher module.<br>
> I would like to have ACC for all failures that a call can possibly pass. If<br>
> the call fails in the 3 first gateways I want them also in my mysql ACC<br>
> table. I tried that with AVPs in the syslog and it works fine BUT is there<br>
> any way that I can simply setflag(1) for accounting and I can have ACC for<br>
> every try?<br>
><br>
> I tryied to add in failure route :<br>
><br>
> setflag(1); # do accounting ...<br>
> setflag(3); # ... even if the transaction fails<br>
><br>
> but I'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>