Hi Daniel,<br><br>We make a call and the call tries from the Failure Route 5 times new gateway (with dispatcher) but  WITHOUT success in termination. In every try we get back 503 Congestion. In this case how many CDRs we should see in our LOG.<br>
 <br>We have the modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, 6) and we setflag(6) for every INVITE.<br><br>Thank you<br>Alex<br><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>