Queue billsec problem


Tthe call enters a queue and is transferred to an agent successfully but the duration in the billsec in cdr for the conversation between the caller and the agent is shown as 0 (zero).
The duration reports the no, of seconds the phone rings before it has been answered.

I would like to know how to make the billsec to report the no. of seconds that the agents has actually talked to the customer.