How to get hold time duration in asterisk

we used asterisk For auto-dialing and manual dialing to make the calls we are not able to get HOLD duration of calls.

In Manual
we make the calls from eye-beam manaul dialing need to put the calls on HOLD but we are not get Hold Duration.(we used soft-phone hold button to put calls on HOLD).

In Auto
After the answer same scenario we did.

can anyone help me?

Insufficient information.

If you mean the time waiting on a queue, this is available from the queue log. More generally, AMI events should allow you to determine any time interval, and call event logging may be able to, but to a lesser extent.