What is the best way to get this done?
I would think a CDR() function using QEHOLDTIME from setqueueentryvar=no in queues.conf.
Which would get run in an AGI in the Queue() command??
exten => s,n,Queue(,AGI)
Or after the caller finishes with the queue agent has hung up have more dialplan??
exten => s,n,Queue(,…)
exten => s,n,CDR(…)
But in that situation if the caller hangs up, it wouldn’t work.
So basically my only solution is an AGI(which I’m not even sure would work), but also seems like a lot of work to get hold time in the CDR. I’m clearly not considering something.
Thanks.
Edit: We’re operating under 1.4.22.