[asterisk-bugs] [JIRA] (ASTERISK-23378) Queue with ringinuse = no and memebers in realtime can get several calls at the same time (with patch)

Shlomi Gutman (JIRA) noreply at issues.asterisk.org
Wed Feb 26 11:24:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shlomi Gutman updated ASTERISK-23378:
-------------------------------------

    Attachment: app_queue.c.patch

The patched can be used, i'm waiting for approve after signing the contribution license. 
                
> Queue with ringinuse = no and memebers in realtime can get several calls at the same time (with patch)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23378
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23378
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.23.0, 11.6.0
>         Environment: Debian 7 64 bit (11), Centos 5.8 (1.8) 64 bit
>            Reporter: Shlomi Gutman
>         Attachments: app_queue.c.patch
>
>
> We have queue with realtime config on both 1.8 and 11 (including 11.6-cert1) versions.
> As well we have queue members and sip devices in realtime. 
> Scenario is:
> Q with realtime members (local sip devices with config in realtime as well).
> Set the timeout of Q to small number ( 5-10s) so it would be easier to reproduce.
> Have 1 member in Q with ringinuse=no, call him and start talking to him.
> Call second time and it would work as expected - in other words the agent would not have waiting call . 
> Now call again and run "sip reload" in CLI a lot of times till at some point it would ring the same talking agent and you'll have waiting call.
> Afaik  It would be displayed as (not in use) at some point if you run queue show $QUEUE_NAME
> The solution was to add new check if agent is realtime - i would check if there is channel that device is involved with. But the tricky thing is to only check if it has channel and set to inuse and do not change status if there is no channel ( so we would not get not in use in case the sip device is unavailable)
> The patch i'm applying is for 11.6-cert1 but it was copied from 1.8.23 which is now more than month in production and customers we have there told that issue was resolved.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list