On Sat, Sep 24, 2011 at 9:11 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

just to refresh in case you mentioned already, do you set acc missed call flag in request route block?


No. I'm setting setflag(FLT_ACCMISSED) in failure route for serially forked calls.

(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.)

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.


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?


I've installed new Kamailio with instructions from: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-devel-from-git. However, default kamailio config file and kamctl file both show 3.1 version. How can I check whether I have 3.2 version installed?

acc_prepare_flag should be set in main route, e.g. in the same place as FLT_ACC for INVITES?

Cheers
Ozren



Thanks,
Daniel


On 9/23/11 4:23 PM, Ozren Lapcevic wrote:
Hi Daniel,

sure, debug log is in attach.

Cheers
Ozren


On Fri, Sep 23, 2011 at 1:41 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

can you add a debug message to acc module, compile, reinstall and test again? Send again the debug messages with parameter debug=4

I am attaching the patch for master branch, should be easy to apply to 3.1 as well.

Cheers,
Daniel



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat http://linkedin.com/in/miconda -- http://twitter.com/miconda