[asterisk-bugs] [JIRA] (ASTERISK-29782) Queue members showing Unavailable for no reason
Luke Escude (JIRA)
noreply at issues.asterisk.org
Tue Nov 30 15:07:34 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257207#comment-257207 ]
Luke Escude edited comment on ASTERISK-29782 at 11/30/21 3:05 PM:
------------------------------------------------------------------
Queues.conf:
{code}
[general]
keepstats=yes
updatecdr=yes
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
persistentmembers=yes
[960] ; Queue: 960 - Appointments
musicclass=5f4a57d24bd2d
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
maxlen=0
strategy=ringall
autopause=no
wrapuptime=0
ringinuse=no
periodic-announce=https://greetingstorage/5f614476ecece.wav
periodic-announce-frequency=30
relative-periodic-announce=yes
servicelevel=60
timeoutrestart=no
timeout=0
retry=0
joinempty=paused,unavailable,invalid,unknown
leavewhenempty=paused,unavailable,invalid,unknown
announce-holdtime=yes
member => Local/101 at from-internal,,,hint:101 at from-internal
member => Local/102 at from-internal,,,hint:102 at from-internal
member => Local/103 at from-internal,,,hint:103 at from-internal
member => Local/104 at from-internal,,,hint:104 at from-internal
member => Local/106 at from-internal,,,hint:106 at from-internal
member => Local/108 at from-internal,,,hint:108 at from-internal
member => Local/110 at from-internal,,,hint:110 at from-internal
member => Local/111 at from-internal,,,hint:111 at from-internal
member => Local/114 at from-internal,,,hint:114 at from-internal
member => Local/120 at from-internal,,,hint:120 at from-internal
member => Local/121 at from-internal,,,hint:121 at from-internal
member => Local/129 at from-internal,,,hint:129 at from-internal
member => Local/130 at from-internal,,,hint:130 at from-internal
member => Local/140 at from-internal,,,hint:140 at from-internal
member => Local/148 at from-internal,,,hint:148 at from-internal
member => Local/150 at from-internal,,,hint:150 at from-internal
member => Local/151 at from-internal,,,hint:151 at from-internal
member => Local/152 at from-internal,,,hint:152 at from-internal
member => Local/154 at from-internal,,,hint:154 at from-internal
member => Local/157 at from-internal,,,hint:157 at from-internal
member => Local/165 at from-internal,,,hint:165 at from-internal
[970] ; Queue: 970 - Scheduling
musicclass=5f4a57d24bd2d
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
maxlen=0
strategy=ringall
autopause=no
wrapuptime=0
ringinuse=no
periodic-announce=https://greetingstorage/5f614476ecece.wav
periodic-announce-frequency=30
relative-periodic-announce=yes
servicelevel=60
timeoutrestart=no
timeout=0
retry=0
joinempty=paused,unavailable,invalid,unknown
leavewhenempty=paused,unavailable,invalid,unknown
announce-holdtime=yes
member => Local/101 at from-internal,,,hint:101 at from-internal
member => Local/102 at from-internal,,,hint:102 at from-internal
member => Local/103 at from-internal,,,hint:103 at from-internal
member => Local/104 at from-internal,,,hint:104 at from-internal
member => Local/106 at from-internal,,,hint:106 at from-internal
member => Local/108 at from-internal,,,hint:108 at from-internal
member => Local/110 at from-internal,,,hint:110 at from-internal
member => Local/111 at from-internal,,,hint:111 at from-internal
member => Local/114 at from-internal,,,hint:114 at from-internal
member => Local/120 at from-internal,,,hint:120 at from-internal
member => Local/121 at from-internal,,,hint:121 at from-internal
member => Local/129 at from-internal,,,hint:129 at from-internal
member => Local/130 at from-internal,,,hint:130 at from-internal
member => Local/140 at from-internal,,,hint:140 at from-internal
member => Local/148 at from-internal,,,hint:148 at from-internal
member => Local/150 at from-internal,,,hint:150 at from-internal
member => Local/151 at from-internal,,,hint:151 at from-internal
member => Local/152 at from-internal,,,hint:152 at from-internal
member => Local/154 at from-internal,,,hint:154 at from-internal
member => Local/157 at from-internal,,,hint:157 at from-internal
member => Local/165 at from-internal,,,hint:165 at from-internal
{code}
So when I manually un-pause Local/102 in queue 970, it sets the state to Unavailable instead of Not In Use. When I un-pause it in queue 960, it works as intended.
Paused = Logged Out. Unpaused = Logged In however I will continue using the "paused" terminology.
We use Local channels because some of those agents might have extra dial plan rules, like call forwarding, or multiple devices ringing in tandem, etc.
was (Author: lukeescude):
Queues.conf:
{code}
[general]
keepstats=yes
updatecdr=yes
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
persistentmembers=yes
[960] ; Queue: 960 - Appointments
musicclass=5f4a57d24bd2d
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
maxlen=0
strategy=ringall
autopause=no
wrapuptime=0
ringinuse=no
periodic-announce=https://pvx1.s3.amazonaws.com/863306/greetings/5f614476ecece.wav
periodic-announce-frequency=30
relative-periodic-announce=yes
servicelevel=60
timeoutrestart=no
timeout=0
retry=0
joinempty=paused,unavailable,invalid,unknown
leavewhenempty=paused,unavailable,invalid,unknown
announce-holdtime=yes
member => Local/101 at from-internal,,,hint:101 at from-internal
member => Local/102 at from-internal,,,hint:102 at from-internal
member => Local/103 at from-internal,,,hint:103 at from-internal
member => Local/104 at from-internal,,,hint:104 at from-internal
member => Local/106 at from-internal,,,hint:106 at from-internal
member => Local/108 at from-internal,,,hint:108 at from-internal
member => Local/110 at from-internal,,,hint:110 at from-internal
member => Local/111 at from-internal,,,hint:111 at from-internal
member => Local/114 at from-internal,,,hint:114 at from-internal
member => Local/120 at from-internal,,,hint:120 at from-internal
member => Local/121 at from-internal,,,hint:121 at from-internal
member => Local/129 at from-internal,,,hint:129 at from-internal
member => Local/130 at from-internal,,,hint:130 at from-internal
member => Local/140 at from-internal,,,hint:140 at from-internal
member => Local/148 at from-internal,,,hint:148 at from-internal
member => Local/150 at from-internal,,,hint:150 at from-internal
member => Local/151 at from-internal,,,hint:151 at from-internal
member => Local/152 at from-internal,,,hint:152 at from-internal
member => Local/154 at from-internal,,,hint:154 at from-internal
member => Local/157 at from-internal,,,hint:157 at from-internal
member => Local/165 at from-internal,,,hint:165 at from-internal
[970] ; Queue: 970 - Scheduling
musicclass=5f4a57d24bd2d
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
maxlen=0
strategy=ringall
autopause=no
wrapuptime=0
ringinuse=no
periodic-announce=https://pvx1.s3.amazonaws.com/863306/greetings/5f614476ecece.wav
periodic-announce-frequency=30
relative-periodic-announce=yes
servicelevel=60
timeoutrestart=no
timeout=0
retry=0
joinempty=paused,unavailable,invalid,unknown
leavewhenempty=paused,unavailable,invalid,unknown
announce-holdtime=yes
member => Local/101 at from-internal,,,hint:101 at from-internal
member => Local/102 at from-internal,,,hint:102 at from-internal
member => Local/103 at from-internal,,,hint:103 at from-internal
member => Local/104 at from-internal,,,hint:104 at from-internal
member => Local/106 at from-internal,,,hint:106 at from-internal
member => Local/108 at from-internal,,,hint:108 at from-internal
member => Local/110 at from-internal,,,hint:110 at from-internal
member => Local/111 at from-internal,,,hint:111 at from-internal
member => Local/114 at from-internal,,,hint:114 at from-internal
member => Local/120 at from-internal,,,hint:120 at from-internal
member => Local/121 at from-internal,,,hint:121 at from-internal
member => Local/129 at from-internal,,,hint:129 at from-internal
member => Local/130 at from-internal,,,hint:130 at from-internal
member => Local/140 at from-internal,,,hint:140 at from-internal
member => Local/148 at from-internal,,,hint:148 at from-internal
member => Local/150 at from-internal,,,hint:150 at from-internal
member => Local/151 at from-internal,,,hint:151 at from-internal
member => Local/152 at from-internal,,,hint:152 at from-internal
member => Local/154 at from-internal,,,hint:154 at from-internal
member => Local/157 at from-internal,,,hint:157 at from-internal
member => Local/165 at from-internal,,,hint:165 at from-internal
{code}
So when I manually un-pause Local/102 in queue 970, it sets the state to Unavailable instead of Not In Use. When I un-pause it in queue 960, it works as intended.
Paused = Logged Out. Unpaused = Logged In however I will continue using the "paused" terminology.
We use Local channels because some of those agents might have extra dial plan rules, like call forwarding, or multiple devices ringing in tandem, etc.
> Queue members showing Unavailable for no reason
> -----------------------------------------------
>
> Key: ASTERISK-29782
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29782
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 16.22.0
> Reporter: Luke Escude
> Assignee: Unassigned
>
> Hello,
> We're seeing instances where a customer may have the same members in 2 queues, but some will slowly start to show offline in the second queue over time.
> Here is an example of queue show:
> {code}
> 960 has 1 calls (max unlimited) in 'ringall' strategy (43s holdtime, 356s talktime), W:0, C:83, A:189, SL:56.6%, SL2:21.3% within 60s
> Members:
> Local/108 at from-internal (ringinuse disabled) (paused was 21545 secs ago) (Not in use) has taken 4 calls (last was 22259 secs ago)
> Local/140 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/106 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/104 at from-internal (ringinuse disabled) (paused was 9402 secs ago) (Not in use) has taken 9 calls (last was 10153 secs ago)
> Local/103 at from-internal (ringinuse disabled) (paused was 6482 secs ago) (Not in use) has taken 5 calls (last was 12364 secs ago)
> Local/102 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (In use) has taken no calls yet
> Local/101 at from-internal (ringinuse disabled) (paused was 78870 secs ago) (Unavailable) has taken no calls yet
> Local/165 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/130 at from-internal (ringinuse disabled) (Ringing) has taken 31 calls (last was 5497 secs ago)
> Local/129 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/157 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (In use) has taken no calls yet
> Local/121 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/120 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Unavailable) has taken no calls yet
> Local/154 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/152 at from-internal (ringinuse disabled) (Ringing) has taken 6 calls (last was 6797 secs ago)
> Local/151 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Unavailable) has taken no calls yet
> Local/150 at from-internal (ringinuse disabled) (In use) has taken 15 calls (last was 41 secs ago)
> Local/114 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/148 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/111 at from-internal (ringinuse disabled) (Ringing) has taken 13 calls (last was 50 secs ago)
> Local/110 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (In use) has taken no calls yet
> Callers:
> 1. PJSIP/external-kamailio-0000489e (wait: 0:02, prio: 0)
> 970 has 1 calls (max unlimited) in 'ringall' strategy (49s holdtime, 45s talktime), W:0, C:32, A:128, SL:65.6%, SL2:20.0% within 60s
> Members:
> Local/108 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Ringing) has taken no calls yet
> Local/140 at from-internal (ringinuse disabled) (Unavailable) has taken no calls yet
> Local/106 at from-internal (ringinuse disabled) (Unavailable) has taken no calls yet
> Local/104 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/103 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/102 at from-internal (ringinuse disabled) (Unavailable) has taken no calls yet
> Local/101 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Unavailable) has taken no calls yet
> Local/165 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/130 at from-internal (ringinuse disabled) (In use) has taken no calls yet
> Local/129 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/157 at from-internal (ringinuse disabled) (paused was 3956 secs ago) (Not in use) has taken 7 calls (last was 4630 secs ago)
> Local/121 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/120 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/154 at from-internal (ringinuse disabled) (paused was 8348 secs ago) (In use) has taken no calls yet
> Local/152 at from-internal (ringinuse disabled) (Not in use) has taken 6 calls (last was 6297 secs ago)
> Local/151 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Unavailable) has taken no calls yet
> Local/150 at from-internal (ringinuse disabled) (In use) has taken no calls yet
> Local/114 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/148 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Not in use) has taken no calls yet
> Local/111 at from-internal (ringinuse disabled) (paused was 78869 secs ago) (Unavailable) has taken no calls yet
> Local/110 at from-internal (ringinuse disabled) (Not in use) has taken 19 calls (last was 244 secs ago)
> Callers:
> 1. PJSIP/external-kamailio-0000488f (wait: 0:12, prio: 0)
> {code}
> You can see Local/102 at internal is perfectly fine in queue 960, but is considered unavailable in queue 970 for some reason. The device is online, and the hint is registering just fine, so there's no reason for the second queue to think it's offline.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list