<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
On 9/26/11 11:44 AM, Ozren Lapcevic wrote:
<blockquote
cite="mid:CAK1NKFv=omWWVMrS9RJB-K99CqKgWLNQF9VQFqRp-mOr5huCsA@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">On Sat, Sep 24, 2011 at 9:11 AM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
just to refresh in case you mentioned already, do you set
acc missed call flag in request route block?<br>
</div>
</blockquote>
<div><br>
<br>
No. I'm setting setflag(FLT_ACCMISSED) in failure route for
serially forked calls. <br>
</div>
</div>
</blockquote>
ok, so that caused not to register to TM for a callback on failure
events when the transaction for respective INVITE was created.<br>
<blockquote
cite="mid:CAK1NKFv=omWWVMrS9RJB-K99CqKgWLNQF9VQFqRp-mOr5huCsA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
(Also, I'm setting setflag(FLT_ACC); in main route for
INVITES. I'm setting setflag(FLT_ACC) and
setflag(FLT_ACCFAILED) in WITHINDLG route for loose routed
BYEs.)<br>
</div>
</div>
</blockquote>
This is different that what we looked after.<br>
<blockquote
cite="mid:CAK1NKFv=omWWVMrS9RJB-K99CqKgWLNQF9VQFqRp-mOr5huCsA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>
<br>
Previously, before starting this thread, and before any of
your patches, I've tried setting FLT_ACCMISSED in LOCATION
route and in RELAY route, but didn't help with properly
accounting only the 2nd branch. <br>
</div>
</div>
</blockquote>
<br>
Because it caused the first branch also to be recorded to missed
calls.<br>
<blockquote
cite="mid:CAK1NKFv=omWWVMrS9RJB-K99CqKgWLNQF9VQFqRp-mOr5huCsA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>
<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#FFFFFF" text="#000000"> I found another issue
that if this flag is no set in request route, the callback
to tm that is used for accounting missed calls is not
registered. Can you try with 3.2.0 (git master branch at
this moment) and set the acc_prepare_flag parameter, plus
the flag itself for invites?<br>
</div>
</blockquote>
<div><br>
<br>
I've installed new Kamailio with instructions from: <a
moz-do-not-send="true"
href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-devel-from-git">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-devel-from-git</a>.
However, default kamailio config file and kamctl file both
show 3.1 version. How can I check whether I have 3.2 version
installed?<br>
</div>
</div>
</blockquote>
Do:<br>
<br>
/usr/local/sbin/kamailio -V<br>
<br>
The config file kamailio.cfg is not overwritten if already exists,
to prevent mistakenly loss (no backup).<br>
<br>
<br>
<blockquote
cite="mid:CAK1NKFv=omWWVMrS9RJB-K99CqKgWLNQF9VQFqRp-mOr5huCsA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>
<br>
acc_prepare_flag should be set in main route, e.g. in the same
place as FLT_ACC for INVITES?<br>
</div>
</div>
</blockquote>
Yes, it has to be set in request route {...} block.<br>
<br>
Cheers,<br>
Daniel<br>
<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>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>