[asterisk-bugs] [JIRA] (ASTERISK-23724) Agent stay "In use" after logoff

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed May 7 16:05:43 CDT 2014


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

Rusty Newton updated ASTERISK-23724:
------------------------------------

    Assignee: Javier Furio
      Status: Waiting for Feedback  (was: Triage)

Hi!

It is apparent you haven't read the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] please do so before using the issue tracker further.

After reading the guidelines, please remove your large debug traces from the Description field and attach any relevant debug as .txt files.

To investigate the issue, we need to be able to reproduce it. app_queue issues can be very tricky to recreate. 

You'll need to figure out how to provide 
 * a simple configuration that we can run on a fresh Asterisk install to reproduce the problem
 * instructional steps on how to reproduce the issue with that Asterisk configuration.
 * specifically a configuration that does not require FreePBX , as we are not troubleshooting that application/layer on this issue tracker.

You are using the FreePBX GUI, which does a lot of neat stuff for you. Have you already worked with the FreePBX community or team on their [forums|http://www.freepbx.org/forums] or tracker to make sure this is an Asterisk issue and not an issue with your configuration through FreePBX?

> Agent stay "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
>            Assignee: 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 "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