I've attached the logs before.
In big lines the flow of events is like this:
EventRelaeased
EventOnHook
EventAgentReady
RequestAgentNotReady
EventAgentNotReady
EventAgentReady -----


[sup]@16:25:52.6490 [0] 7.6.003.05 distribute_event: message EventReleased
AttributeEventSequenceNumber 000000000007da37
AttributeTimeinuSecs 649000
AttributeTimeinSecs 1373466352 (16:25:52)
AttributeThisDN '844'
AttributeExtensions [252] 00 08 00 00..
'GCTI_SUB_THIS_DN' '1844'
'GCTI_BUSINESS_CALL' 1
'GCTI_LAST_REDIRECTION_DEVICE' '732'
'GCTI_NETWORK_TIMESLOT' 8
'GCTI_OLD_GLOB_CID' bin: EE 6D DD 51.. (len=8)
'GCTI_GLOB_CID' bin: D6 6D DD 51.. (len=8)
'GCTI_NAT_INDICATIONTYPE' 'Public:National'
'GCTI_NAT_INDICATION' '493182200'
AttributeNetworkCallID d66ddd51c0990100
AttributeCustomerID 'Resources'
AttributeANI '493182200'
AttributeDNIS '5830732'
AttributeUserData [465] 00 13 00 00..
'Service' 'Business'
'ANI' '0493182200'
'TelSAP' '0493182200'
'ACCOUNT' 'ANI:0493182200'
'Temp' '0000423840'
'Company' 'Multiple customers'
'TEL' '0493182200'
'MAINPARTNER' 'ANI:0493182200'
'COUNTRY' 'FR'
'DNIS' '5830732'
'CONNID' '0259022c2438ba3d'
'Message' 'FR_Attente'
'Myscript' '1879'
'ScriptName' 'FR_Attente'
'EAP' '1879'
'RPVQID' '001GGSLA5C8TF8VSIS5CM7TAES0005J5'
'RVQID' '001GGSLA5C8TF8VSIS5CM7TAES0005J5'
'RVQDBID' '2705'
'gplus-analytics-id' '12429c:13f79ec8a8a:-5608'
AttributeCallUUID '0V25V1C2MT2P18D38JG413O79400855N'
AttributeConnID 0259022c2438ba3d
AttributeCallID 39360
AttributeCallType 2
AttributeCallState 0
AttributeThirdPartyQueue '732'
AttributeOtherQueue '5830732'
AttributeThisQueue '732'
AttributeThisTrunk 362
AttributeThisDNRole 2
AttributeAgentID '1844'
AttributeOtherTrunk 262364
AttributeOtherDNRole 1
AttributeOtherDN '493182200'
@16:25:52.6490 [ISCC] Translate: '493182200' -> ''; result 1 ()
@16:25:52.6490 [ISCC] Party object is removed: p:0000000000000000,00000000 n::
16:25:52.649 Int 04544 Interaction message "EventReleased" generated
16:25:52.649 Trc 04542 EventReleased sent to [484] (0000000e StatServer80_Tz_EU-Wb 151.10.203.31:58077)
16:25:52.649 Trc 04542 EventReleased sent to [548] (00000009 GPlus_EU-West_b4 151.10.225.48:3458)
16:25:52.649 Trc 04542 EventReleased sent to [508] (00000006 FR_StatServer 151.10.96.47:2429)
16:25:52.649 Trc 04542 EventReleased sent to [472] (00000003 StatServerREP_80 151.10.203.31:58528)
16:25:52.649 Trc 04542 EventReleased sent to [452] (00000002 StatServerCCA_80 151.10.203.31:58527)
16:25:52.649 Trc 20021 Call 0259022c2438ba3d cleared with TReliabilityOk
Party: <99c0:99d2:493182200@0126DE10> removed, state = (0-4)
PartyDN: <99c0:99d2:844@01B6E5A8> removed, state = (0-4)
@16:25:52.6490 [0] 7.6.003.05 distribute_event: message EventReleased
AttributeEventSequenceNumber 000000000007da38
AttributeTimeinuSecs 649000
AttributeTimeinSecs 1373466352 (16:25:52)
AttributeCustomerID 'Resources'
AttributeANI '493182200'
AttributeDNIS '5830732'
AttributeUserData [465] 00 13 00 00..
'Service' 'Business'
'ANI' '0493182200'
'TelSAP' '0493182200'
'ACCOUNT' 'ANI:0493182200'
'Temp' '0000423840'
'Company' 'Multiple customers'
'TEL' '0493182200'
'MAINPARTNER' 'ANI:0493182200'
'COUNTRY' 'FR'
'DNIS' '5830732'
'CONNID' '0259022c2438ba3d'
'Message' 'FR_Attente'
'Myscript' '1879'
'ScriptName' 'FR_Attente'
'EAP' '1879'
'RPVQID' '001GGSLA5C8TF8VSIS5CM7TAES0005J5'
'RVQID' '001GGSLA5C8TF8VSIS5CM7TAES0005J5'
'RVQDBID' '2705'
'gplus-analytics-id' '12429c:13f79ec8a8a:-5608'
AttributeCallUUID '0V25V1C2MT2P18D38JG413O79400855N'
AttributeConnID 0259022c2438ba3d
AttributeCallID 39360
AttributeCallType 2
AttributeThisDN 'FR_Paris::'
@16:25:52.6490 [ISCC] Translate: '493182200' -> ''; result 1 ()
@16:25:52.6490 [ISCC] Party object is removed: p:0000000000000000,00000000 n::
@16:25:52.6490 [ISCC] Error: No call is associated with the event, skipped
@16:25:52.6490 [ISCC] Error: No call is associated with the event, skipped
@16:25:52.6490 [ISCC] Error: No call is associated with the event, skipped
@16:25:52.6490 [ISCC] Error: No call is associated with the event, skipped
16:25:52.649 Int 04544 Interaction message "EventReleased" generated
16:25:52.649 Trc 04542 EventReleased sent to [484] (0000000e StatServer80_Tz_EU-Wb 151.10.203.31:58077)
16:25:52.649 Trc 04542 EventReleased sent to [508] (00000006 FR_StatServer 151.10.96.47:2429)
16:25:52.649 Trc 04542 EventReleased sent to [472] (00000003 StatServerREP_80 151.10.203.31:58528)
16:25:52.649 Trc 04542 EventReleased sent to [452] (00000002 StatServerCCA_80 151.10.203.31:58527)
@16:25:52.6490 [ISCC] Call destroyed:
- c:0259022c2438ba3d,01b4e218 @ m:0000000000000000,00000000 p:0 i:000099c0 nw:d66ddd51c0990100 t:2
@16:25:52.6490 [ISCC] Call object is removed: c:0259022c2438ba3d,00000000
TmCall::deleted(1:0): for <2:99c0:99cd:0@01B4E218> with rel (0)
Call::~Call: (99c0:99c0:99cd:0)@01B4E218 deleted
@16:25:52.6490 {tscp.call {destructed} {uuid 0V25V1C2MT2P18D38JG413O79400855N} {connection-id 0259022c2438ba3d} {call-id 39360}}
@16:25:52.6490 [0] 7.6.003.05 distribute_event: message EventOnHook
AttributeEventSequenceNumber 000000000007da39
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 649000
AttributeTimeinSecs 1373466352 (16:25:52)
AttributeAgentID '1844'
AttributeThisDN '844'
@16:25:52.6490 [ISCC] Translate: '' -> ''; result 1 ()
16:25:52.649 Int 04544 Interaction message "EventOnHook" generated
16:25:52.649 Trc 04542 EventOnHook sent to [484] (0000000e StatServer80_Tz_EU-Wb 151.10.203.31:58077)
16:25:52.649 Trc 04542 EventOnHook sent to [548] (00000009 GPlus_EU-West_b4 151.10.225.48:3458)
16:25:52.649 Trc 04542 EventOnHook sent to [508] (00000006 FR_StatServer 151.10.96.47:2429)
16:25:52.649 Trc 04542 EventOnHook sent to [472] (00000003 StatServerREP_80 151.10.203.31:58528)
16:25:52.649 Trc 04542 EventOnHook sent to [452] (00000002 StatServerCCA_80 151.10.203.31:58527)
@16:25:52.6490 [0] 7.6.003.05 distribute_event: message EventAgentReady
AttributeExtensions [53] 00 01 00 00..
'AgentSessionID' '0V25V1C2MT2P18D38JG413O794007JN1'
AttributeEventSequenceNumber 000000000007da3a
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 649000
AttributeTimeinSecs 1373466352 (16:25:52)
AttributeAgentWorkMode 0 (Unknown)
AttributeThisQueue '5830200'
AttributeAgentID '1844'
AttributeThisDN '844'
@16:25:52.6490 [ISCC] Translate: '' -> ''; result 1 ()
16:25:52.649 Trc 04542 EventAgentReady sent to [484] (0000000e StatServer80_Tz_EU-Wb 151.10.203.31:58077)
16:25:52.649 Trc 04542 EventAgentReady sent to [548] (00000009 GPlus_EU-West_b4 151.10.225.48:3458)
16:25:52.649 Trc 04542 EventAgentReady sent to [508] (00000006 FR_StatServer 151.10.96.47:2429)
16:25:52.649 Trc 04542 EventAgentReady sent to [472] (00000003 StatServerREP_80 151.10.203.31:58528)
16:25:52.649 Trc 04542 EventAgentReady sent to [452] (00000002 StatServerCCA_80 151.10.203.31:58527)
--- Evt::ConnectionCleared ---
link (link-tcp) S->H: (0[0 / 0] requests pending)
16:25:52.805 Trc 04541 RequestAgentNotReady received from [548] (00000009 GPlus_EU-West_b4 151.10.225.48:3458)
message RequestAgentNotReady
AttributeAgentWorkMode 3 (AfterCallWork)
AttributeExtensions [2] 00 00..
AttributeReferenceID 33134
AttributeReason [21] 00 01 01 00..
'ReasonCode' 4
AttributeThisDN '844'
07/10/13@16:25:52.805 +++ RqHandler::RequestAgentNotReady +++
got message from client <9>
device <844> is replaced by <1844>
[1844/-]: check device for 'RequestAgentNotReady'
*** Transaction Info:
Type/Oper. : 5 - 15 <Request : SetFeature>
hostRef : 1ffe
SubjDev[0] : 1844 (Private)
LocalDev[0]: 1844 (Unknown)
CtiFeature : 1-4-0-0
userInfo : 9, 33134
@16:25:52.805 DataToSwitch 21 bytes
0000-000f: a1 13 02 02 1f fe 02 01-0f 30 0a 80 04 31 38 34 |.........0...184|
0010-0014: 34 a3 02 85 00 - |4.... |
invoke { -- SEQUENCE --
invokeID 8190,
operationValue 15,
argument { -- SEQUENCE --
device dialingNumber '31383434'H -- "1844" --,
feature aRequestedAgentState agentWrapUp NULL
}
}
lnk> (link_write) link 1(link-tcp), 23 bytes
H->S 23 bytes send, invoke id 8190 (x1ffe), 0[1] requests pending
--- RqHandler::RequestAgentNotReady ---
@16:25:52.821 DataFromSwitch 13 bytes
0000-000c: a2 0b 02 02 1f fe 30 05-02 01 0f 05 00 |......0...... |
07/10/13@16:25:52.821 RECEIVED: 13 bytes
aPDU-rose retResult { -- SEQUENCE --
invokeID 8190,
{ -- SEQUENCE --
operationValue 15,
result noData NULL
}
}
+++ Resp::SetFeature +++
*** Transaction Info:
Type/Oper. : 2 - 15 <Result : SetFeature>
hostRef : 1ffe
[1844]: event received, for <RequestAgentNotReady:9:33134:72577:1>
D[1844]::SetContext: ref <33134:72577>
the feature 'agent state: working after call' for DN <1844>
context is reset
--- Resp::SetFeature ---
link (link-tcp) S->H: (0[1 / 1] requests pending)
@16:25:52.930 DataFromSwitch 65 bytes
0000-000f: a1 3f 02 02 67 70 02 01-15 30 36 55 04 01 7a c0 |.?..gp...06U..z.|
0010-001f: 00 a2 1b a5 19 30 17 63-06 84 04 31 38 34 34 8a |.....0.c...1844.|
0020-002f: 04 31 38 34 34 80 07 35-38 33 30 32 30 30 7e 11 |.1844..5830200~.|
0030-003f: a0 0f 17 0d 31 33 30 37-31 30 31 36 32 31 34 34 |....130710162144|
0040-0040: 5a - |Z |
07/10/13@16:25:52.930 RECEIVED: 65 bytes
aPDU-rose invoke { -- SEQUENCE --
invokeID 26480,
operationValue 21,
argument { -- SEQUENCE --
crossRefIdentifier '017ac000'H -- ".zÀ." --,
eventSpecificInfo agentStateEvent agentWrapUpEvent { -- SEQUENCE --
agentDevice deviceIdentifier implicitPrivate '31383434'H -- "1844" --,
agentID '31383434'H -- "1844" --,
agentGroup dialingNumber '35383330323030'H -- "5830200" --
},
extensions { -- SEQUENCE --
security { -- SEQUENCE --
timeStamp '3133303731303136323134345a'H -- "130710162144Z" --
}
}
}
}
cstaSwitchingEventDecode: WorkingAfterCall event in progress
+++ Evt::WorkingAfterCall +++
*** Transaction Info:
Type/Oper. : 1 - 208 <Event : WorkingAfterCall>
crossRef : 17ac000
SubjDev[0] : 5830200 (Unknown)
LocalDev[0]: 1844 (Private)
LocalDev[1]: 1844 (Unknown)
TimeStamp : <130710162144Z>
refDev <1844> (cref = '17AC000')
D[1844]::SetContext: ref <33134:72577>
TmRequest::RequestAgentNotReady::Add2Msg: context (9:33134:72577) is matched to [EventAgentNotReady], keep=0[/sup]