[asterisk-bugs] [JIRA] (ASTERISK-25064) Members (ringinuse disabled) of multiple queues ringing with other queue calls.

Chet Stevens (JIRA) noreply at issues.asterisk.org
Thu May 7 09:38:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226146#comment-226146 ] 

Chet Stevens commented on ASTERISK-25064:
-----------------------------------------

Yes, I was under the impression from the users that calls were ringing to agents that were on a call. The problem is, as you described, that multiple calls are ringing to the same agent at the same time. My earlier NoOp copy/paste isn't a good example. With more investigation I find that the problem calls look more like this:

{noformat}
[May  6 07:48:00]     -- Executing [6102 at agents:6] NoOp("Local/6102 at agents-00001469;2", "AGENT IS IN STATE NOT_INUSE and we are sending 7027991234 to them.") in new stack
[May  6 07:48:01]     -- Executing [6102 at agents:6] NoOp("Local/6102 at agents-0000146a;2", "AGENT IS IN STATE RINGING and we are sending 18885551234 to them.") in new stack
[May  6 07:48:01]     -- Executing [6102 at agents:6] NoOp("Local/6102 at agents-0000146b;2", "AGENT IS IN STATE RINGING and we are sending 7025551111 to them.") in new stack
{noformat}

As a workaround I have added a check in the dialplan to see if the device is already ringing:

{noformat}
same => n,GotoIf($[${DEVICE_STATE(SIP/${EXTEN}_line)} = RINGING]?:dial)
same => n,Queue(${queue},,,,,,,,,1)
same => n(dial),Dial(SIP/${EXTEN}_line,,A(${queue_file}))
{noformat}

If it is ringing then we put the caller back into the queue the call is coming from at position 1, otherwise, we dial the member. This isn't a very good solution as we can't account for which caller was waiting longer (the caller waiting 5 minutes might have their call taken before the caller that was waiting an hour) and I assume when the caller is put back into the queue they will hear any "estimated wait time", etc that has been configured.

I know we had this problem in the past and, if I remember correctly, we downgraded from 11.6 to 11.2 and the reports of it stopped. Thank you.

> Members (ringinuse disabled) of multiple queues ringing with other queue calls.
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25064
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25064
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.1.0
>         Environment: Asterisk 13.1-cert2
> Ubuntu Server 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64)
> HP ProLiant DL380p Gen8 with 16 GB memory 
> Wildcard AEX2400: wctdm24xxp+ 
> Wildcard TE420 (5th Gen): wct4xxp+
>            Reporter: Chet Stevens
>         Attachments: debug_ASTERISK-25064.txt
>
>
> After upgrading from Asterisk 11.6-cert9 to Asterisk 13.1-cert2, queue members with "ringinuse disabled" that belong to multiple queues are ringing with calls from other queues while already in use. "queue show queue1", "queue show queue2", etc does accurately show the members as "ringinuse disabled" and "In use". For example:
> local/6103 at agents (ringinuse disabled) (dynamic) (Not in use) has taken 37 calls (last was 76 secs ago)
> We use Local channels so additional dialplan can be executed before ringing members (play agent greeting etc) so members are added to the queues in the following manner:
> AddQueueMember(technical,local/6103 at agents,,,,SIP/6103_line)
> I will attach a debug log. If you search on "Executing [6103 at agents:1]" you will see three separate calls all being routed to the same member.
> Any additional information can be provided (configuration, dialplan, etc).



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list