[asterisk-bugs] [JIRA] (ASTERISK-23724) Agent stay "Not in use" after logoff
Javier Furio (JIRA)
noreply at issues.asterisk.org
Wed May 7 06:58:43 CDT 2014
Javier Furio created ASTERISK-23724:
---------------------------------------
Summary: Agent stay "Not in use" after logoff
Key: ASTERISK-23724
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23724
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_queue
Affects Versions: 11.8.1
Environment: Standard FreePBX distro 11.8, FreePBX 1.8 & fresh Centos plus asterisk
Reporter: Javier Furio
When an agent logoff from a queue (standar *12), the playback says "Agent Logoff", and can't get any new call, but always stay as "not in Use" instead of "Unavailable", so .
I've found several previous issues, but all of them were resolved before 2013, and those distributions are new.
------------------ start ---------------------
localhost*CLI> queue show
1640 has 0 calls (max unlimited) in 'leastrecent' strategy (2s holdtime, 12s talktime), W:0, C:3, A:3, SL:100.0% within 60s
Members:
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
Agente 1690 (Local/1690 at from-queue/n from hint:1690 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
No Callers
1641 has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 60s
Members:
Agente 1688 (Local/1688 at from-queue/n from hint:1688 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
No Callers
default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers
------------------ Agent/1689 login ---------------------
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*11 at from-internal:1] Macro("SIP/1611-00000026", "user-logon,") in new stack
-- Executing [s at macro-user-logon:1] Set("SIP/1611-00000026", "DEVICETYPE=adhoc") in new stack
-- Executing [s at macro-user-logon:2] Answer("SIP/1611-00000026", "") in new stack
> 0x7f6990022870 -- Probation passed - setting RTP source address to 192.168.1.193:40048
-- Executing [s at macro-user-logon:3] Wait("SIP/1611-00000026", "1") in new stack
-- Executing [s at macro-user-logon:4] GotoIf("SIP/1611-00000026", "0?s-FIXED,1") in new stack
-- Executing [s at macro-user-logon:5] Set("SIP/1611-00000026", "AMPUSER=") in new stack
-- Executing [s at macro-user-logon:6] GotoIf("SIP/1611-00000026", "0?gotpass") in new stack
-- Executing [s at macro-user-logon:7] Read("SIP/1611-00000026", "AMPUSER,please-enter-your-extension-then-press-pound,,,4") in new stack
-- <SIP/1611-00000026> Playing 'please-enter-your-extension-then-press-pound.slin' (language 'en')
-- User entered '1689'
-- Executing [s at macro-user-logon:8] GotoIf("SIP/1611-00000026", "0?s-MAXATTEMPTS,1") in new stack
-- Executing [s at macro-user-logon:9] GotoIf("SIP/1611-00000026", "0?s-NOUSER,1") in new stack
-- Executing [s at macro-user-logon:10] Set("SIP/1611-00000026", "AMPUSERPASS=1689") in new stack
-- Executing [s at macro-user-logon:11] GotoIf("SIP/1611-00000026", "0?s-NOPASSWORD,1") in new stack
-- Executing [s at macro-user-logon:12] Set("SIP/1611-00000026", "DEVICEUSER=none") in new stack
-- Executing [s at macro-user-logon:13] GotoIf("SIP/1611-00000026", "0?s-ALREADYLOGGEDON,1") in new stack
-- Executing [s at macro-user-logon:14] Authenticate("SIP/1611-00000026", "1689") in new stack
-- <SIP/1611-00000026> Playing 'agent-pass.ulaw' (language 'en')
-- <SIP/1611-00000026> Playing 'auth-thankyou.ulaw' (language 'en')
-- Executing [s at macro-user-logon:15] AGI("SIP/1611-00000026", "user_login_out.agi,login,1611,1689") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/user_login_out.agi
-- user_login_out.agi,login,1611,1689: Logging in user 1689 to device 1611
-- Added extension '*841689' priority -1 to ext-local
-- Added extension '1689' priority -1 to ext-local
-- Added extension '*801689' priority -1 to ext-local
user_login_out.agi,login,1611,1689: Hint for device: 1611 user: 1689 queue: 1640 hint to qpause:1640:Local/1689 at from-queue/n
-- Added extension '*46*1611*1640' priority -1 to ext-queues
user_login_out.agi,login,1611,1689: Hint for device: 1611 user: 1689 queue: 1641 hint to qpause:1641:Local/1689 at from-queue/n
-- Added extension '*46*1611*1641' priority -1 to ext-queues
user_login_out.agi,login,1611,1689: Hint for device: 1611 user: 1689 hint to qpause:1640:Local/1689 at from-queue/n&qpause:1641:Local/1689 at from-queue/n
-- Added extension '*46*1611' priority -1 to ext-queues
-- AGI Script Executing Application: (UserEvent) Options: (UserDeviceAdded,Data: 1689\,1611)
-- <SIP/1611-00000026>AGI Script user_login_out.agi completed, returning 0
-- Executing [s at macro-user-logon:16] Playback("SIP/1611-00000026", "agent-loginok") in new stack
-- <SIP/1611-00000026> Playing 'agent-loginok.ulaw' (language 'en')
-- Executing [*11 at from-internal:2] Hangup("SIP/1611-00000026", "") in new stack
== Spawn extension (from-internal, *11, 2) exited non-zero on 'SIP/1611-00000026'
-- Executing [h at from-internal:1] Hangup("SIP/1611-00000026", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1611-00000026'
localhost*CLI> queue show
1640 has 0 calls (max unlimited) in 'leastrecent' strategy (2s holdtime, 12s talktime), W:0, C:3, A:3, SL:100.0% within 60s
Members:
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (Not in use) has taken no calls yet
Agente 1690 (Local/1690 at from-queue/n from hint:1690 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
No Callers
1641 has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 60s
Members:
Agente 1688 (Local/1688 at from-queue/n from hint:1688 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (Not in use) has taken no calls yet
No Callers
default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers
------------------ Agent/1689 Logout ---------------------
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*12 at from-internal:1] Macro("SIP/1611-00000027", "user-logoff,") in new stack
-- Executing [s at macro-user-logoff:1] Set("SIP/1611-00000027", "DEVICETYPE=adhoc") in new stack
-- Executing [s at macro-user-logoff:2] GotoIf("SIP/1611-00000027", "0?s-FIXED,1") in new stack
-- Executing [s at macro-user-logoff:3] AGI("SIP/1611-00000027", "user_login_out.agi,logout,1611") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/user_login_out.agi
-- user_login_out.agi,logout,1611: Logging out current user from device 1611
-- AGI Script Executing Application: (UserEvent) Options: (UserDeviceRemoved,Data: 1689\,1611)
-- <SIP/1611-00000027>AGI Script user_login_out.agi completed, returning 0
-- Executing [s at macro-user-logoff:4] Playback("SIP/1611-00000027", "agent-loggedoff") in new stack
> 0x7f699002ee50 -- Probation passed - setting RTP source address to 192.168.1.193:40012
-- <SIP/1611-00000027> Playing 'agent-loggedoff.ulaw' (language 'en')
-- Executing [*12 at from-internal:2] Hangup("SIP/1611-00000027", "") in new stack
== Spawn extension (from-internal, *12, 2) exited non-zero on 'SIP/1611-00000027'
-- Executing [h at from-internal:1] Hangup("SIP/1611-00000027", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1611-00000027'
localhost*CLI> queue show
1640 has 0 calls (max unlimited) in 'leastrecent' strategy (2s holdtime, 12s talktime), W:0, C:3, A:3, SL:100.0% within 60s
Members:
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (In use) has taken no calls yet
Agente 1690 (Local/1690 at from-queue/n from hint:1690 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
No Callers
1641 has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 60s
Members:
Agente 1688 (Local/1688 at from-queue/n from hint:1688 at ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet
Agente 1689 (Local/1689 at from-queue/n from hint:1689 at ext-local) (ringinuse enabled) (In use) has taken no calls yet
No Callers
default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers
Regards
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list