[asterisk-bugs] [JIRA] (ASTERISK-27973) QUEUESTATUS = CONTINUE instead LEAVEEMPTY

Valentin Safonov (JIRA) noreply at issues.asterisk.org
Thu Jul 19 08:36:54 CDT 2018


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

Valentin Safonov updated ASTERISK-27973:
----------------------------------------

    Description: 
I have Asterisk certified/13.21-cert2, simple dialplan:
{noformat}
exten => _X.,1,Answer
same => n,Queue(400,ckt,,,10)
same => n,Noop(queuestatus === ${QUEUESTATUS})
same => n,Hangup
{noformat}

And queue settings:
{noformat}
joinempty=yes
leavewhenempty=strict
{noformat}

Queue 400 without active agents:
{noformat}
test_vd*CLI> queue show 400
400 has 0 calls (max unlimited) in 'rrordered' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s
   Members:
      PJSIP/101 (ringinuse disabled) (Unavailable) has taken no calls yet
   No Callers
{noformat}

So when i'm calling into queue 400 i'm getting QUEUESTATUS = CONTINUE. But it must be LEAVEEMPTY

I checked another version of Asterisk 13.8, with the same settings and dialplan, and there it works correct (QUEUESTATUS = LEAVEEMPTY)

I compared files app_queue.c in 13.21 and 13.8. It has a lot of changes.
And if i change function wait_our_turn() in 13.21 like 13.8, then QUEUESTATUS works correct in 13.21

So it looks like a bug, right?

More complete description of the problem:
Asterisk log files with  'pjsip set logger on' 
1. i'm just calling from softphone (extension 102) to queue 400
2. 


  was:
I have Asterisk certified/13.21-cert2, simple dialplan:
{noformat}
exten => _X.,1,Answer
same => n,Queue(400,ckt,,,10)
same => n,Noop(queuestatus === ${QUEUESTATUS})
same => n,Hangup
{noformat}

And queue settings:
{noformat}
joinempty=yes
leavewhenempty=strict
{noformat}

Queue 400 without active agents:
{noformat}
test_vd*CLI> queue show 400
400 has 0 calls (max unlimited) in 'rrordered' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s
   Members:
      PJSIP/101 (ringinuse disabled) (Unavailable) has taken no calls yet
   No Callers
{noformat}

So when i'm calling into queue 400 i'm getting QUEUESTATUS = CONTINUE. But it must be LEAVEEMPTY

I checked another version of Asterisk 13.8, with the same settings and dialplan, and there it works correct (QUEUESTATUS = LEAVEEMPTY)

I compared files app_queue.c in 13.21 and 13.8. It has a lot of changes.
And if i change function wait_our_turn() in 13.21 like 13.8, then QUEUESTATUS works correct in 13.21

So it looks like a bug, right?

More complete description of the problem:
Asterisk log files there  
1. i'm just calling from softphone (extension 102) to queue 400
2. 



> QUEUESTATUS = CONTINUE instead LEAVEEMPTY
> -----------------------------------------
>
>                 Key: ASTERISK-27973
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27973
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.21.0
>         Environment: CentOS 7.0
>            Reporter: Valentin Safonov
>            Assignee: Unassigned
>              Labels: pjsip
>
> I have Asterisk certified/13.21-cert2, simple dialplan:
> {noformat}
> exten => _X.,1,Answer
> same => n,Queue(400,ckt,,,10)
> same => n,Noop(queuestatus === ${QUEUESTATUS})
> same => n,Hangup
> {noformat}
> And queue settings:
> {noformat}
> joinempty=yes
> leavewhenempty=strict
> {noformat}
> Queue 400 without active agents:
> {noformat}
> test_vd*CLI> queue show 400
> 400 has 0 calls (max unlimited) in 'rrordered' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s
>    Members:
>       PJSIP/101 (ringinuse disabled) (Unavailable) has taken no calls yet
>    No Callers
> {noformat}
> So when i'm calling into queue 400 i'm getting QUEUESTATUS = CONTINUE. But it must be LEAVEEMPTY
> I checked another version of Asterisk 13.8, with the same settings and dialplan, and there it works correct (QUEUESTATUS = LEAVEEMPTY)
> I compared files app_queue.c in 13.21 and 13.8. It has a lot of changes.
> And if i change function wait_our_turn() in 13.21 like 13.8, then QUEUESTATUS works correct in 13.21
> So it looks like a bug, right?
> More complete description of the problem:
> Asterisk log files with  'pjsip set logger on' 
> 1. i'm just calling from softphone (extension 102) to queue 400
> 2. 



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



More information about the asterisk-bugs mailing list