Hello. I'm trying to understand the predictive call procedure. I'm trying to make a reliable cdr, I checked my call_log table and I found weird numbers, I enabled the cdr module and I got the same numbers. Apparently the call duration reports only untill the call is answered, still every manual call show's the right duration.
Reading the asterisk log, I found out what it appears to me, an unexpected behavior. Whenever the call goes to the conference with the agent, h extension is called and it write (with deadagi) to the call_log table and to the cdr log the call duration until said event. I'm wondering if this is normal and I'm supposed to parse the file so I can get the right duration.
Anyway, I'm using a clean install of vicibox 4
VERSION: 2.8-410a
BUILD: 130824-2319
asterisk 1.4.44
my dialplan is
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,n,Dial(sip/${EXTEN}@carrier,,tTo)
exten => _X.,n,Verbose(1,">>>|${UNIQUEID}|${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}|${EXTEN}|carrier|${DIALSTATUS}|${SIPURI}")
exten => _X.,n,Hangup
I'm sorry if this question has been answered before, I searched for it but couldn't find any information.