Queues wrapup time ignored Asterisk

Hello,

We are having issues with queues wrapuptime which is set to 60seconds and is always ignored, no matter where the call is coming from.

Queue configuration:
[100]
announce-frequency=0
announce-holdtime=no
announce-position=no
autofill=yes
eventmemberstatus=no
eventwhencalled=no
joinempty=no
leavewhenempty=yes
maxlen=0
periodic-announce-frequency=0
queue-callswaiting=silence/1
queue-thereare=silence/1
queue-youarenext=silence/1
reportholdtime=no
retry=5
ringinuse=yes
servicelevel=15
strategy=rrmemory
timeout=15
weight=0
wrapuptime=60

When the call comes in and another call is waiting in the queue we can see the following messages in full log:
<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘31’ (31) ] [SIP/Amis_SIP-0000b884]
<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/1120-0000b885]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Answer (4) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘31’ (31) ] [SIP/Amis_SIP-0000b884]
<< [ TYPE: Control (4) SUBCLASS: Stop generators (-1) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Answer (4) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Stop generators (-1) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;1]<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘31’ (31) ] [SIP/Amis_SIP-0000b884]
<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [SIP/1120-0000b885]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘22’ (22) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Answer (4) ] [SIP/6842-0000b887]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘31’ (31) ] [SIP/Amis_SIP-0000b884]
<< [ TYPE: Control (4) SUBCLASS: Stop generators (-1) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Answer (4) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Stop generators (-1) ] [Local/6842@from-queue-00008746;1]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;2]
<< [ TYPE: Control (4) SUBCLASS: Unknown control ‘20’ (20) ] [Local/6842@from-queue-00008746;1]

Is this related to this issue?

Br

Edin

Is what related? The fact that you are getting all the control message reported is just the result of the debug and or verbosity level you have selected.

If you want to know what they mean, the numbers are defined in include/asterisk/frame.h, as the values of AST_CONTROL_XXXXXX.

You seem to have hidden the bit of the message saying which module was reporting it, but the control being unknown probably means it was added to Asterisk after that part was written.

Ok are there any ideas why wrapuptime is not working? Version of asterisk is 1.8.18.0.

Only this part is seen in debug. Should I attach something else?

BR

Edin

Verbose level 3 should be enough to confirm whether or not wrapuptime is being applied.

If you want more detail, set a high debug level, but only on app_queue

Wrapuptime is sometimes applied and sometimes not, when it is not we dont see this line

[Nov 21 13:33:40] DEBUG[13701] app_queue.c: Wrapuptime not yet expired on queue 100 for Local/6842@from-queue/n
in full log.

BR

Edin

I wonder if you have a misunderstanding about what wrap up time is. Although it is configured per queue, the wrap up timers is applied to the agents, not th queue. If there is an agent free, and it is more than the wrap up time since that agent last completed a call, the call will go to that agent without any further delay.

Hello,

thank you for all the answers so far. Yes, I understand wrapuptime and how it is working.

I have now tried to change dialplan for queues and I have exlcluded h extension - it seems that it is working fine now.

BR

Edin

Hello,
We have a similar problem with wrapup time configured in the agents.conf file.
Asterisk randomly ignores it and the agents begin to get calls immediately after finishing the last one.
It happens for a while, and then it returns to the expected behavior, waiting the time defined (7000 ms).

We are running Asterisk 1.8.7.1.

I´ll be very gratefull if you have any tip in this issue.
Regards,
Maria

Hi All,
I am in a same problem. Sometime the Wrapup time skips. Any fix to this problem
Well, edindzananovic what do you mean by this “I have exlcluded h extension”. Have you edit any config file ?

Cheers,
MB

Anyone with some solution of this problem ?