[asterisk-bugs] [JIRA] (ASTERISK-28681) Agent can login queue, but this queue member status is "Invalid"

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Jan 8 09:55:25 CST 2020


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

Kevin Harwell updated ASTERISK-28681:
-------------------------------------

    Description: 
1) Agent(3550) login using auto-call file
{noformat}
localhost*CLI> 
    -- PJSIP/PBX-00000001 answered
       > 0x7f513c040330 -- Strict RTP learning after remote address set to: 19.19.20.138:11922
    -- Executing [3550 at PDSLogin:1] NoOp("PJSIP/PBX-00000001", "--PDS2.0--") in new stack
    -- Executing [3550 at PDSLogin:2] Set("PJSIP/PBX-00000001", "AGENT=3550") in new stack
    -- Executing [3550 at PDSLogin:3] UserEvent("PJSIP/PBX-00000001", "UserPdsStart,exten: ") in new stack
    -- Executing [3550 at PDSLogin:4] AddQueueMember("PJSIP/PBX-00000001", "TestQueue,Agent/3550,5,,Agent/3550,Agent/3550") in new stack
[2020-01-08 16:48:28] WARNING[2426][C-00000002]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
[2020-01-08 16:48:28] WARNING[2426][C-00000002]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
[2020-01-08 16:48:28] NOTICE[2426][C-00000002]: app_queue.c:8077 aqm_exec: Added interface 'Agent/3550' to queue 'TestQueue'
    -- Executing [3550 at PDSLogin:5] AgentLogin("PJSIP/PBX-00000001", "3550,s") in new stack
  == Agent '3550' logged in (format alaw/alaw)
    -- Channel PJSIP/PBX-00000001 joined 'holding_bridge' agent_hold-bridge <da96ef39-de23-4722-94ea-6ed3ea17db97>
    -- Started music on hold, class 'default', on channel 'PJSIP/PBX-00000001'
       > 0x7f513c040330 -- Strict RTP switching to RTP target address 19.19.20.138:11922 as source
localhost*CLI> 
{noformat}
2) Check Agent(3550) Status
{noformat}
localhost*CLI> agent show 3550 
Id: 3550
Name: Agent3550
Beep: beep
MOH: default
RecordCalls: No
State: NOT_INUSE
LoggedInChannel: PJSIP/PBX-00000001
LoggedInTime: 1578469708
localhost*CLI> 
{noformat}
3) Agent(3550) login queue(TestQueue)
{noformat}
localhost*CLI> queue add member Agent/3550 to TestQueue penalty 10
Added interface 'Agent/3550' to queue 'TestQueue'
[2020-01-08 16:49:08] WARNING[2008]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
[2020-01-08 16:49:08] WARNING[2008]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
localhost*CLI> 
{noformat}
4) Queue member(Agent/3550) status => "invalid"
{noformat}
localhost*CLI> queue show TestQueue 
TestQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:5, C:0, A:0, SL:0.0%, SL2:0.0% within 20s
   Members: 
      Agent/3550 with penalty 10 (ringinuse disabled) (dynamic) (Invalid) has taken no calls yet
   No Callers
{noformat}
Agent can login queue. But this queue member status is "invalid".



  was:
1) Agent(3550) login using auto-call file
localhost*CLI> 
    -- PJSIP/PBX-00000001 answered
       > 0x7f513c040330 -- Strict RTP learning after remote address set to: 19.19.20.138:11922
    -- Executing [3550 at PDSLogin:1] NoOp("PJSIP/PBX-00000001", "--PDS2.0--") in new stack
    -- Executing [3550 at PDSLogin:2] Set("PJSIP/PBX-00000001", "AGENT=3550") in new stack
    -- Executing [3550 at PDSLogin:3] UserEvent("PJSIP/PBX-00000001", "UserPdsStart,exten: ") in new stack
    -- Executing [3550 at PDSLogin:4] AddQueueMember("PJSIP/PBX-00000001", "TestQueue,Agent/3550,5,,Agent/3550,Agent/3550") in new stack
[2020-01-08 16:48:28] WARNING[2426][C-00000002]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
[2020-01-08 16:48:28] WARNING[2426][C-00000002]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
[2020-01-08 16:48:28] NOTICE[2426][C-00000002]: app_queue.c:8077 aqm_exec: Added interface 'Agent/3550' to queue 'TestQueue'
    -- Executing [3550 at PDSLogin:5] AgentLogin("PJSIP/PBX-00000001", "3550,s") in new stack
  == Agent '3550' logged in (format alaw/alaw)
    -- Channel PJSIP/PBX-00000001 joined 'holding_bridge' agent_hold-bridge <da96ef39-de23-4722-94ea-6ed3ea17db97>
    -- Started music on hold, class 'default', on channel 'PJSIP/PBX-00000001'
       > 0x7f513c040330 -- Strict RTP switching to RTP target address 19.19.20.138:11922 as source
localhost*CLI> 

2) Check Agent(3550) Status
localhost*CLI> agent show 3550 
Id: 3550
Name: Agent3550
Beep: beep
MOH: default
RecordCalls: No
State: NOT_INUSE
LoggedInChannel: PJSIP/PBX-00000001
LoggedInTime: 1578469708
localhost*CLI> 

3) Agent(3550) login queue(TestQueue)
localhost*CLI> queue add member Agent/3550 to TestQueue penalty 10
Added interface 'Agent/3550' to queue 'TestQueue'
[2020-01-08 16:49:08] WARNING[2008]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
[2020-01-08 16:49:08] WARNING[2008]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
localhost*CLI> 

4) Queue member(Agent/3550) status => "invalid"
localhost*CLI> queue show TestQueue 
TestQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:5, C:0, A:0, SL:0.0%, SL2:0.0% within 20s
   Members: 
      Agent/3550 with penalty 10 (ringinuse disabled) (dynamic) (Invalid) has taken no calls yet
   No Callers

Agent can login queue. But this queue member status is "invalid".




> Agent can login queue, but this queue member status is "Invalid"
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-28681
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28681
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 16.6.1
>         Environment: Cent OS 8 + pjsip module
>            Reporter: Ryou, HyunSun
>            Severity: Minor
>
> 1) Agent(3550) login using auto-call file
> {noformat}
> localhost*CLI> 
>     -- PJSIP/PBX-00000001 answered
>        > 0x7f513c040330 -- Strict RTP learning after remote address set to: 19.19.20.138:11922
>     -- Executing [3550 at PDSLogin:1] NoOp("PJSIP/PBX-00000001", "--PDS2.0--") in new stack
>     -- Executing [3550 at PDSLogin:2] Set("PJSIP/PBX-00000001", "AGENT=3550") in new stack
>     -- Executing [3550 at PDSLogin:3] UserEvent("PJSIP/PBX-00000001", "UserPdsStart,exten: ") in new stack
>     -- Executing [3550 at PDSLogin:4] AddQueueMember("PJSIP/PBX-00000001", "TestQueue,Agent/3550,5,,Agent/3550,Agent/3550") in new stack
> [2020-01-08 16:48:28] WARNING[2426][C-00000002]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
> [2020-01-08 16:48:28] WARNING[2426][C-00000002]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
> [2020-01-08 16:48:28] NOTICE[2426][C-00000002]: app_queue.c:8077 aqm_exec: Added interface 'Agent/3550' to queue 'TestQueue'
>     -- Executing [3550 at PDSLogin:5] AgentLogin("PJSIP/PBX-00000001", "3550,s") in new stack
>   == Agent '3550' logged in (format alaw/alaw)
>     -- Channel PJSIP/PBX-00000001 joined 'holding_bridge' agent_hold-bridge <da96ef39-de23-4722-94ea-6ed3ea17db97>
>     -- Started music on hold, class 'default', on channel 'PJSIP/PBX-00000001'
>        > 0x7f513c040330 -- Strict RTP switching to RTP target address 19.19.20.138:11922 as source
> localhost*CLI> 
> {noformat}
> 2) Check Agent(3550) Status
> {noformat}
> localhost*CLI> agent show 3550 
> Id: 3550
> Name: Agent3550
> Beep: beep
> MOH: default
> RecordCalls: No
> State: NOT_INUSE
> LoggedInChannel: PJSIP/PBX-00000001
> LoggedInTime: 1578469708
> localhost*CLI> 
> {noformat}
> 3) Agent(3550) login queue(TestQueue)
> {noformat}
> localhost*CLI> queue add member Agent/3550 to TestQueue penalty 10
> Added interface 'Agent/3550' to queue 'TestQueue'
> [2020-01-08 16:49:08] WARNING[2008]: db.c:348 ast_db_put: Couldn't execute statement: SQL logic error
> [2020-01-08 16:49:08] WARNING[2008]: app_queue.c:7302 dump_queue_members: failed to create persistent dynamic entry!
> localhost*CLI> 
> {noformat}
> 4) Queue member(Agent/3550) status => "invalid"
> {noformat}
> localhost*CLI> queue show TestQueue 
> TestQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:5, C:0, A:0, SL:0.0%, SL2:0.0% within 20s
>    Members: 
>       Agent/3550 with penalty 10 (ringinuse disabled) (dynamic) (Invalid) has taken no calls yet
>    No Callers
> {noformat}
> Agent can login queue. But this queue member status is "invalid".



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



More information about the asterisk-bugs mailing list