Queue wrapuptime in seconds?

For some reason it seems that the queue wrapuptime isn’t working.

Here’s the context of one of the queues in queues_additional.conf:

[7001]
announce-frequency=0
timeout=15
strategy=ringall
retry=5
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=On-Hold
monitor-join=yes
monitor-format=
maxlen=0
leavewhenempty=no
joinempty=Yes
eventwhencalled=no
eventmemberstatus=no
context=
announce-holdtime=no
wrapuptime=7

One thing I noticed is in agents.conf, the wrapuptime is set to milliseconds, should the wrapuptime in queues_additional also be in milliseconds?

I believe it is seconds for queues.conf (you could always test it):

[code:1]
if (qe->parent->wrapuptime && (time(NULL) - tmp->lastcall < qe->parent->wrapuptime)) {
[/code:1]
I’m pretty sure time() returns seconds. This is a bit of a ‘classic’ asterisk inconsistency but I shouldn’t critisize too strongly, we have plenty of our own ‘baggage’ to not be critisizing others 8)