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

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


Valentin Safonov created ASTERISK-27973:
-------------------------------------------

             Summary: 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


I have Asterisk certified/13.21-cert2, simple dialplan:

exten => _X.,1,Answer
same => n,Queue(400,ckt,,,10)
same => n,Noop(queuestatus === ${QUEUESTATUS})
same => n,Hangup

And queue settings:
joinempty=yes
leavewhenempty=strict

Queue 400 without active agents:
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

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

I checked another version of Asterisk 13.8, with the same setting 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?



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



More information about the asterisk-bugs mailing list