Hello,
I just noticed that the logged „start_time" as well as „end_time" of a canceled call is set to the „invite time“. If done this way, it is harder to calculate the „ringing time“. Is there an option to change this behaviour (i.e. to log the time of the received „bye“ instead)? (If done so, the ringing time would always be the time between start and invite …)
Or is there a special reason for this behaviour?
My CDR settings are as followed:
modparam("acc", "cdr_enable", 1) modparam("acc", "cdr_expired_dlg_enable", 1) # log unanswered / open dialogs modparam("acc", "cdr_on_failed", 1) # log also not answered calls modparam("acc", "cdr_extra", "inviteTime=$dlg_var(inviteTime)" modparam("acc", "cdr_log_enable", 1) # activate write to syslog modparam("acc", "cdr_facility", "LOG_LOCAL6") # syslog modparam("acc", "cdr_start_on_confirmed", 1) modparam("acc", "time_mode", 0) #syslog timestamp
modparam("acc", "early_media", 0) modparam("acc", "report_ack", 0) modparam("acc", "report_cancels", 0) modparam("acc", "detect_direction", 0) modparam("acc", "log_flag", FLT_ACC) # needed for syslog modparam("acc", "log_missed_flag", FLT_ACCMISSED) # need for logging missed calls in syslog
Regards Jan-Hendrik