AMI Event : AgentComplete no uniqueid

Hello,

I’m using Asterisk 17.7.0 with AMI.
Sometimes AgentComplete event has partial information only, like this:

2021-06-21 10:23:55 am :array(8) {
[“event”]=>
string(13) “AgentComplete”
[“privilege”]=>
string(9) “agent,all”
[“queue”]=>
string(4) “Q103”
[“interface”]=>
string(15) “PJSIP/agentname”
[“membername”]=>
string(15) “PJSIP/agentname”
[“holdtime”]=>
string(1) “1”
[“talktime”]=>
string(3) “290”
[“reason”]=>
string(5) “agent”
}

And sometimees AgentComplete event has all information like this:

2021-06-21 10:26:28 am :array(36) {
[“event”]=>
string(13) “AgentComplete”
[“privilege”]=>
string(9) “agent,all”
[“channel”]=>
string(22) “PJSIP/mytrunk-000018cf”
[“channelstate”]=>
string(1) “6”
[“channelstatedesc”]=>
string(2) “Up”
[“calleridnum”]=>
string(11) “33XXXXXXXXX”
[“calleridname”]=>
string(11) “33XXXXXXXXX”
[“connectedlinenum”]=>
string(1) “s”
[“connectedlinename”]=>
string(9) “”
[“language”]=>
string(2) “en”
[“accountcode”]=>
string(0) “”
[“context”]=>
string(15) “ctx_std_c1”
[“exten”]=>
string(1) “1”
[“priority”]=>
string(1) “4”
[“uniqueid”]=>
string(15) “1624263592.9985”
[“linkedid”]=>
string(15) “1624263592.9985”
[“destchannel”]=>
string(22) “PJSIP/agentname-000018d0”
[“destchannelstate”]=>
string(1) “6”
[“destchannelstatedesc”]=>
string(2) “Up”
[“destcalleridnum”]=>
string(1) “s”
[“destcalleridname”]=>
string(9) “”
[“destconnectedlinenum”]=>
string(11) “33XXXXXXXXX”
[“destconnectedlinename”]=>
string(11) “33XXXXXXXXX”
[“destlanguage”]=>
string(2) “fr”
[“destaccountcode”]=>
string(0) “”
[“destcontext”]=>
string(8) “internal”
[“destexten”]=>
string(1) “1”
[“destpriority”]=>
string(1) “1”
[“destuniqueid”]=>
string(15) “1624263636.9986”
[“destlinkedid”]=>
string(15) “1624263592.9985”
[“queue”]=>
string(4) “Q100”
[“interface”]=>
string(13) “PJSIP/agentname”
[“membername”]=>
string(13) “PJSIP/agentname”
[“holdtime”]=>
string(1) “1”
[“talktime”]=>
string(3) “351”
[“reason”]=>
string(5) “agent”
}

Why? This is the same queue with the same CTI mecanism.
Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.