Hi,
Im having an issue with my current setup where i try to set a not ready state for my agent with a reason code. The problem is if I make a call from not ready, after the call and the ACW ends, my test agent will be set again in not ready state, but will lose the reason code. I have the following extracts from logs:
[i]Not Ready asked, reason code=Tareas BO[/i]
[code]
09:55:18.628 Trc 04541 RequestAgentNotReady received from [1176] (0000390b IWS_Tsol_AgentePruebas1 10.200.8.44:63461)
message RequestAgentNotReady
AttributeReferenceID 5
AttributeThisQueue ''
AttributeReason [26] 00 01 00 00..
'ReasonCode' 'Tareas BO'
AttributeThisDN '4403'
AttributeAgentWorkMode 0 (Unknown)
[/code]
[i]Sent to Tserver backup[/i]
[code]@09:55:21.9920 [BSYNC] Trace: Send to backup (TServerAlcatelA4400) [1580]:
message RequestSetDNInfo
AttributeReason [26] 00 01 00 00..
'ReasonCode' 'Tareas BO'
AttributeThisDN '4403'
[/code]
[i]Call is made from Not Ready state:
[/i]
[code]09:56:24.209 Trc 04541 RequestMakeCall received from [1176] (0000390b IWS_Tsol_AgentePruebas1 10.200.8.44:63461)
message RequestMakeCall
AttributeReferenceID 7
AttributeThisDN '4403'
AttributeUserData [106] 00 02 00 00..
'IW_CaseUid' '1e2374a8-2106-4afc-9ca0-1cca2f72423e'
'IW_BundleUid' 'e33acdb7-bb30-4beb-955e-c1efa162c51c'
AttributeLocation ''
AttributeOtherDN 'HIDDEN_NUMBER'
AttributeMakeCallType 0 (MakeCallRegular)[/code]
[i]business call teatment (as with all outbound and inbound calls): [/i]
[code]+++ NetworkReached +++
SetNetworkReached: party 2051.052a7ca0-05b1ff30:1, cause NewCall
-- AgnEmu: business type taken from call type global option
-- AgnEmu: business call BusinessType[2/2:0]
-- aTmCall::SetBusinessType():008302cf3b2f6138 set to BusinessType[2/2:0]
-- aTmParty::SetBusinessType():4403 set to BusinessType[2/2:0]
-- AgnEmu::MsgNotify: business call on (4403)[/code]
[i]after emulated ACW, the reason code 0 is saved for my agent by the AgnDevData (but was originally set to tareas BO): [/i]
[code]09:56:33.897 Trc 04542 EventCallPartyAdded sent to [564] (00000006 Icon_Voz02b 10.200.9.77:50850)
-- TellEstablished
SetEstablished: party 2051.052a7ca0-05b1ff30:1, cause Null
-- party_info 4403.04c9c190 state change: from <Connected,Dialing> to <Connected>
+++ TAgentEmulator::party_established +++
-- AgnEmu: business call established
-- AgnEmu: parameter wrap-up-time taken from agent annex tab
-- AgnEmu: parameter legal-guard-time taken from global option
-- AgnEmu: setting ACW period to 22
-- AgnEmu: setting interupted ACW period to 0
-- AgnEmu: setting Legal Guard period to 0
-- AgnDevData: synchronising agent state 0x800 for 2051
-- AgnDevData: synchronising previous state 0x3
-- AgnDevData: synchronising previous reason code: 0
-- AgnDevData: synchronising not-ready workmode 1
[/code]
[i]Syncs after call ends, claiming previous reason code=0 (as AgnDevData saved it) [/i]
[code]
+++ CIFace::Event +++
+++ Pre-event +++
Type EventAgentNotReady
Devices: <2051/2051> <-/-> <4403/4403>
ANI/DNIS: <2051> <none>
Flags: divert=0 hook=0 postCall=0 active=1 moveAll=1 callType=1 hideOtherPi=0 InternalOther=0
PBX time stamp: 09:56:58.000
--- Pre-event ---
-- AgnDevData: cancel timer
-- AgnDevData: synchronising agent state 0x800 for 2051
-- AgnDevData: synchronising previous state 0x3
-- AgnDevData: synchronising previous reason code: 0
-- AgnDevData: synchronising not-ready workmode 3
[/code]
Would anybody be able to tell me why the reason code for the state is not beeing saved & applied correctly? Many thanks.
Edit: Format