[asterisk-bugs] [JIRA] (ASTERISK-25729) [patch] Extension to device state translations are missing some extension states

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jan 27 07:36:33 CST 2016


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

Rusty Newton updated ASTERISK-25729:
------------------------------------

    Description: 
I have a queue with strategy set to ringall, leavewhenempty set to strict, ringinuse set to yes and all queue members using hints for state_interface. When all available queue agents are on the call, any callers left on the queue get kick out and queue log shows event EXITEMPTY.

When agent is on the phone and there are no callers waiting on the queue "queue show" displays agent status as (In use), but when agent is on the phone + that phone is ringing "queue show" displays status as (Invalid).

Turns out extensionstate2devicestate does not have translations for device states "AST_EXTENSION_INUSE | AST_EXTENSION_RINGING" and "AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD".

Complete queue config:
{noformat}
[1234]
announce-frequency=180
announce-holdtime=no
announce-position=yes
answered_elsewhere=1
autofill=no
autopause=no
autopausebusy=no
autopausedelay=0
autopauseunavail=no
joinempty=strict
leavewhenempty=strict
maxlen=0
memberdelay=0
monitor-join=yes
music=inherit
penaltymemberslimit=0
periodic-announce-frequency=240
queue-callswaiting=queue-callswaiting
queue-thankyou=queue-thankyou
queue-thereare=queue-thereare
queue-youarenext=queue-youarenext
reportholdtime=no
retry=1
ringinuse=yes
servicelevel=15
strategy=ringall
timeout=16
timeoutpriority=conf
timeoutrestart=no
weight=0
wrapuptime=0
eventmemberstatus=no
member=Local/5000 at from-queue/n,0,Agent1,hint:5000 at ext-local
member=Local/5001 at from-queue/n,0,Agent2,hint:5001 at ext-local
member=Local/5002 at from-queue/n,0,Agent3,hint:5002 at ext-local
{noformat}

  was:
I have a queue with strategy set to ringall, leavewhenempty set to strict, ringinuse set to yes and all queue members using hints for state_interface. When all available queue agents are on the call, any callers left on the queue get kick out and queue log shows event EXITEMPTY.

When agent is on the phone and there are no callers waiting on the queue "queue show" displays agent status as (In use), but when agent is on the phone + that phone is ringing "queue show" displays status as (Invalid).

Turns out extensionstate2devicestate does not have translations for device states "AST_EXTENSION_INUSE | AST_EXTENSION_RINGING" and "AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD".

Complete queue config:

[1234]
announce-frequency=180
announce-holdtime=no
announce-position=yes
answered_elsewhere=1
autofill=no
autopause=no
autopausebusy=no
autopausedelay=0
autopauseunavail=no
joinempty=strict
leavewhenempty=strict
maxlen=0
memberdelay=0
monitor-join=yes
music=inherit
penaltymemberslimit=0
periodic-announce-frequency=240
queue-callswaiting=queue-callswaiting
queue-thankyou=queue-thankyou
queue-thereare=queue-thereare
queue-youarenext=queue-youarenext
reportholdtime=no
retry=1
ringinuse=yes
servicelevel=15
strategy=ringall
timeout=16
timeoutpriority=conf
timeoutrestart=no
weight=0
wrapuptime=0
eventmemberstatus=no
member=Local/5000 at from-queue/n,0,Agent1,hint:5000 at ext-local
member=Local/5001 at from-queue/n,0,Agent2,hint:5001 at ext-local
member=Local/5002 at from-queue/n,0,Agent3,hint:5002 at ext-local



> [patch] Extension to device state translations are missing some extension states
> --------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25729
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25729
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.7.0
>         Environment: CentOS 6.7
> FreePBX FreePBX 12.0.76.2
>            Reporter: PK
>
> I have a queue with strategy set to ringall, leavewhenempty set to strict, ringinuse set to yes and all queue members using hints for state_interface. When all available queue agents are on the call, any callers left on the queue get kick out and queue log shows event EXITEMPTY.
> When agent is on the phone and there are no callers waiting on the queue "queue show" displays agent status as (In use), but when agent is on the phone + that phone is ringing "queue show" displays status as (Invalid).
> Turns out extensionstate2devicestate does not have translations for device states "AST_EXTENSION_INUSE | AST_EXTENSION_RINGING" and "AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD".
> Complete queue config:
> {noformat}
> [1234]
> announce-frequency=180
> announce-holdtime=no
> announce-position=yes
> answered_elsewhere=1
> autofill=no
> autopause=no
> autopausebusy=no
> autopausedelay=0
> autopauseunavail=no
> joinempty=strict
> leavewhenempty=strict
> maxlen=0
> memberdelay=0
> monitor-join=yes
> music=inherit
> penaltymemberslimit=0
> periodic-announce-frequency=240
> queue-callswaiting=queue-callswaiting
> queue-thankyou=queue-thankyou
> queue-thereare=queue-thereare
> queue-youarenext=queue-youarenext
> reportholdtime=no
> retry=1
> ringinuse=yes
> servicelevel=15
> strategy=ringall
> timeout=16
> timeoutpriority=conf
> timeoutrestart=no
> weight=0
> wrapuptime=0
> eventmemberstatus=no
> member=Local/5000 at from-queue/n,0,Agent1,hint:5000 at ext-local
> member=Local/5001 at from-queue/n,0,Agent2,hint:5001 at ext-local
> member=Local/5002 at from-queue/n,0,Agent3,hint:5002 at ext-local
> {noformat}



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



More information about the asterisk-bugs mailing list