Failed transfer from queue, then agent cant take queue calls

Hello, this error occurs intermittantly, does anyone know how to identify and eliminate this issue?
Thanks

Asterisk 1.6.2.9

Client Reports:

  1. A user takes a call from the queue and the tries to transfer the call to one specific person.
  2. The transfer does not complete, and that user can no longer receive calls from the queue.
  3. Another user takes a call and tries to transfer to the same person the first user tried.
  4. Repeat steps 2 and 3 until nobody is able to take calls from the queue.

The specific person is not always the same, but once the problem occurs to the first queue user, it occurs to every other queue user trying to transfer to that same person.

agent logon / logoff code

exten => 890,1,Answer
exten => 890,n,VMauthenticate(${CALLERID(num)}@default)
exten => 890,n,UnpauseQueueMember(,SIP/${CALLERID(num)})
exten => 890,n,AddQueueMember(queuename1,SIP/${CALLERID(num)})
exten => 890,n,AddQueueMember(queuename2,SIP/${CALLERID(num)})
exten => 890,n,Playback(agent-loginok)
exten => 890,n,Hangup

exten => 891,1,Answer
exten => 891,n,VMauthenticate(${CALLERID(num)}@default)
exten => 891,n,RemoveQueueMember(queuename1,SIP/${CALLERID(num)})
exten => 891,n,RemoveQueueMember(queuename2,SIP/${CALLERID(num)})
exten => 891,n,Playback(agent-loggedoff)
exten => 891,n,Hangup


extensions.conf

exten => s,n,Set(QUEUE_PRIO=5)
exten => s,n,Queue(queuename1,tr,15) ;primary queue
exten => s,n,Set(QUEUE_PRIO=10)
exten => s,n,Playback(queue-msg)
exten => s,n,Set(CALLERID(name)=queuename2-${CHANNEL})
exten => s,n,Queue(queuename2,t,10000) ;secondary queue
exten => s,n,noop(queue-timeout)
exten => s,n,hangup


/var/log/asterisk/messages

[Jan 26 07:56:42] WARNING[15157] app_directory.c: Can’t find extension ‘a’ in current context. Not Exiting the Directory!
[Jan 26 08:02:00] NOTICE[15175] rtp.c: Unknown RTP codec 100 received from ‘192.168.190.146’
[Jan 26 08:27:03] WARNING[15182] app_queue.c: Attempt to unpause interface SIP/737, not found
[Jan 26 08:27:03] NOTICE[15182] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename1’
[Jan 26 08:27:03] NOTICE[15182] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename2’
[Jan 26 08:29:53] WARNING[15185] app_queue.c: Attempt to unpause interface SIP/733, not found
[Jan 26 08:29:53] NOTICE[15185] app_queue.c: Added interface ‘SIP/733’ to queue ‘queuename1’
[Jan 26 08:29:53] NOTICE[15185] app_queue.c: Added interface ‘SIP/733’ to queue ‘queuename2’
[Jan 26 08:33:45] WARNING[15189] app_queue.c: Attempt to unpause interface SIP/730, not found
[Jan 26 08:33:45] NOTICE[15189] app_queue.c: Added interface ‘SIP/730’ to queue ‘queuename1’
[Jan 26 08:33:45] NOTICE[15189] app_queue.c: Added interface ‘SIP/730’ to queue ‘queuename2’
[Jan 26 08:48:11] NOTICE[15213] rtp.c: Unknown RTP codec 100 received from ‘192.168.190.146’
[Jan 26 08:50:04] NOTICE[15222] app_queue.c: Removed interface ‘SIP/737’ from queue ‘queuename1’
[Jan 26 08:50:04] NOTICE[15222] app_queue.c: Removed interface ‘SIP/737’ from queue ‘queuename2’
[Jan 26 08:50:29] NOTICE[15223] rtp.c: Unknown RTP codec 100 received from ‘192.168.190.146’
[Jan 26 08:51:43] WARNING[15228] app_queue.c: Attempt to unpause interface SIP/737, not found
[Jan 26 08:51:43] NOTICE[15228] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename1’
[Jan 26 08:51:43] NOTICE[15228] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename2’
[Jan 26 08:52:26] NOTICE[15234] app_queue.c: Removed interface ‘SIP/734’ from queue ‘queuename1’
[Jan 26 08:52:26] NOTICE[15234] app_queue.c: Removed interface ‘SIP/734’ from queue ‘queuename2’
[Jan 26 09:16:54] WARNING[15303] app_dial.c: Unable to create channel of type ‘Sip’ (cause 20 - Unknown)
[Jan 26 09:17:06] NOTICE[2168] chan_sip.c: Call from ‘743’ to extension ‘11’ rejected because extension not found in context ‘from-sip’.
[Jan 26 09:35:26] NOTICE[15347] app_queue.c: Removed interface ‘SIP/737’ from queue ‘queuename1’
[Jan 26 09:35:26] NOTICE[15347] app_queue.c: Removed interface ‘SIP/737’ from queue ‘queuename2’
[Jan 26 09:35:39] WARNING[15348] app_queue.c: Attempt to unpause interface SIP/737, not found
[Jan 26 09:35:39] NOTICE[15348] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename1’
[Jan 26 09:35:39] NOTICE[15348] app_queue.c: Added interface ‘SIP/737’ to queue ‘queuename2’
[Jan 26 09:35:40] WARNING[15349] app_queue.c: Unable to add interface ‘SIP/756’ to queue ‘queuename1’: Already there
[Jan 26 09:35:40] WARNING[15349] app_queue.c: Unable to add interface ‘SIP/756’ to queue ‘queuename2’: Already there
[Jan 26 09:35:47] NOTICE[15350] app_queue.c: Removed interface ‘SIP/730’ from queue ‘queuename1’
[Jan 26 09:35:47] NOTICE[15350] app_queue.c: Removed interface ‘SIP/730’ from queue ‘queuename2’
[Jan 26 09:35:49] WARNING[15351] app_queue.c: Attempt to unpause interface SIP/734, not found
[Jan 26 09:35:49] NOTICE[15351] app_queue.c: Added interface ‘SIP/734’ to queue ‘queuename1’
[Jan 26 09:35:49] NOTICE[15351] app_queue.c: Added interface ‘SIP/734’ to queue ‘queuename2’
[Jan 26 09:35:52] WARNING[15352] app_queue.c: Attempt to unpause interface SIP/730, not found
[Jan 26 09:35:52] NOTICE[15352] app_queue.c: Added interface ‘SIP/730’ to queue ‘queuename1’
[Jan 26 09:35:52] NOTICE[15352] app_queue.c: Added interface ‘SIP/730’ to queue ‘queuename2’
[Jan 26 09:36:10] WARNING[15354] app_queue.c: Unable to add interface ‘SIP/756’ to queue ‘queuename1’: Already there
[Jan 26 09:36:10] WARNING[15354] app_queue.c: Unable to add interface ‘SIP/756’ to queue ‘queuename2’: Already there

9:37 - client forced to reboot the server to receive queue calls

Your CLI log shows that you are doing a lot more with the queue than your description implies.

Also, this is not the current 1.6.2.x version.

[quote=“david55”]Your CLI log shows that you are doing a lot more with the queue than your description implies.

Also, this is not the current 1.6.2.x version.[/quote]

Hm, well I posted the extensions.conf code used to enter the queue, and all log entries that morning leading up to the issue.

Can you suggest any other information that would be pertinent?

Also the concept of installing the “current” version deserves it’s own post for debate, and could be different than the scope of this discussion. It might or might not solve issues, and might or might not add new issues.

the log entries appear to show people adding and removing from the queue. The extensions.conf entries you posted do not show code that would represent that. I also did not notice any queue messages concerning attempts trying to ring anyone.

The method in which you get into the queue must have more lines. They dial a number and that jumps to a context. Typically that context will start with a priority of 1.

Based on those log entries, I would suspect that asterisk was getting stuck in some dialplan code for the add and removal of members…whats the ring strategy of the queue?

Whats the purpose of having two queues, which the members are being added to and then removed from at the same time?

The queue member changes were the missing part of the description to which I was referring.

As to supported versions. It is generally a waste of people’s time to try and identify bugs which are already fixed.

[quote=“david55”]The queue member changes were the missing part of the description to which I was referring.

As to supported versions. It is generally a waste of people’s time to try and identify bugs which are already fixed.[/quote]

One might consider that in a production environment, its a waste of people’s time to introduce new bugs by installing the latest version, without trying to solve an issue first.

It is updated with the agent logon / logoff code, but it requires the agent to authenticate every time. They did not report initiating the logon procedure to produce the bug, it was a call transfer.

Remember that this is a peer support forum, and you are not paying the people who respond here for support.

If you are correct, and the agent insert/removes are irrelevant, there isn’t enough information to attempt to debug this.