Billsec and duration the same ..?

Hi Everyone.

I noticed the other day that our CDR is reporting the “duration” and “billsec” as the same.
I’m thinking the “billsec” is counting the time the call is in the queue. How would I get it to register the call as answered only AFTER the agent actually answered it from the queue?

I bill my customers by the minute, and don’t want to charge them for the time they are in the queue. Here’s my conf files:

extensions.conf

[quote][COMPANY-IN-PHO]
exten => _1NXXNXXXXXX,1,BackGround(/sounds/def-greeting)
exten => _1NXXNXXXXXX,2,Set(CALLERID(name)=Support)
exten => _1NXXNXXXXXX,3,Monitor(wav,Support-${UNIQUEID},m)
exten => _1NXXNXXXXXX,4,Queue(CSR1)[/quote]

queues.conf

[quote][general]
persistentmembers = yes
limitonpeer = yes

[CSR1]
musiconhold = main
wrapuptime=10
;announce = queue-tech
strategy = rrmemory
;context = qoutcon
timeout = 15
retry = 2
maxlen = 0
announce-frequency = 50
announce-holdtime = yes
queue-youarenext = queue-youarenext
queue-thereare = queue-thereare
queue-callswaiting = queue-callswaiting
queue-holdtime = queue-holdtime
queue-minutes = queue-minutes
queue-seconds = queue-seconds
queue-thankyou = queue-thankyou
queue-lessthan = queue-less-than
member => SIP/100
member => SIP/105
member => SIP/110
member => SIP/115
member => SIP/120
member => SIP/125[/quote]

Thanks in advance for your help!

You can use queue_log and CDR to compute duration of each bridged call.

Hi

Billsec is more an outgoing / answertime. thing

it is basicly the the call duration after answer supervision, So if you queue answers as soon as the call arrives the two wil be that same, You need to look at the queue log for detailed answer time.

Ian

Thanks for all the help guys.

I found other means of getting the billsec to be correct. I inserted a ResetCDR before it enters the queue.

[quote]exten => _1NXXNXXXXXX,1,BackGround(/sounds/def-greeting)
exten => _1NXXNXXXXXX,2,Set(CALLERID(name)=Support)
exten => _1NXXNXXXXXX,3,Monitor(wav,Support-${UNIQUEID},m)
exten => _1NXXNXXXXXX,4,ResetCDR()
exten => _1NXXNXXXXXX,5,Queue(CSR1)[/quote]

It seems to have done the trick.