Hi Daniel,<br><br>I use in the Failure Route the dispatcher to try in serial mode some gateways against a call. If I set in the failure route :<br> <br>setflag(1); # do accounting ...<br>
setflag(3); # ... even if the transaction fails<br> 
<br>then I get in the syslog the acc of the  last gateway that Dispatcher tried to terminate the call.<br><br>For the second you are asking(failure flag) I have:<br>modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, 6)<br>
<br>And setflag(6) int request route and in failure route but I don&#39;t get ACC for every try from failure route<br><br>I&#39;m I doing something wrong in the configuration script ?<br><br>Thank you<br>Alex<br><br><br><br>
<div class="gmail_quote">On Fri, Jan 22, 2010 at 3:33 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</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;">
Hello,<div><div></div><div class="h5"><br>
<br>
On 1/22/10 1:08 PM, alex pappas wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Friends,<br>
<br>
In case of a call failure I&#39;m trying from failure route to send the call through other gateways with Dispatcher module.<br>
I would like to have ACC for all failures that a call can possibly pass. If the call fails in the 3 first gateways  I want them also in my mysql ACC table. I tried that with AVPs in the syslog and it works fine BUT is there any way that I can simply setflag(1) for accounting and I can have ACC for 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&#39;m getting ACC only the last try.<br>
<br>
</blockquote></div></div>
last failed try? Or what you mean by &quot;the last try&quot;? IIRC, failed transaction flag should be set for each leg if you want all failures.<br>
<br>
Cheers,<br>
Daniel<br><font color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla<br>
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a><br>
<br>
</font></blockquote></div><br>