<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Alex,<br>
<br>
On 1/25/10 11:03 AM, alex pappas wrote:
<blockquote
 cite="mid:88b5e74c1001250203i6307b567vc20d60ec1fcbad5e@mail.gmail.com"
 type="cite">Hi Daniel,<br>
  <br>
We make a call and the call tries from the Failure Route 5 times new
gateway (with dispatcher) but&nbsp; 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>
&nbsp;<br>
We have the modparam("acc", "failed_transaction_flag", 6) and we
setflag(6) for every INVITE.<br>
</blockquote>
iirc, at some point was an option to get all failed legs accounted. I
don't remember using it so I have to check the sources (you are on
1.5.x, right?).<br>
<br>
For next version I plan to make acc functions available on rest of the
routes, should be few updates to take sip method from cseq header and
ignore r-uri if it is a reply processed, in failure route should work
by default, I see no reasons now what could be the problem.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:88b5e74c1001250203i6307b567vc20d60ec1fcbad5e@mail.gmail.com"
 type="cite"><br>
  <div class="gmail_quote">On Fri, Jan 22, 2010 at 3:33 PM,
Daniel-Constantin Mierla <span dir="ltr">&lt;<a moz-do-not-send="true"
 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 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'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 &nbsp;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 &nbsp;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>
    </blockquote>
    </div>
    </div>
last failed try? Or what you mean by "the last try"? 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 moz-do-not-send="true" href="http://www.asipto.com/"
 target="_blank">http://www.asipto.com/</a><br>
    <br>
    </font></blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>