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?