Well, thank you guys for your help. But I'm facing problems anyway. I've set call_monitoring to true in URS config options. Restarted URS. On DN (routing point where strategy is loaded) Under URS_p(URS application name) event_arrive=routerequest. Still after I release a call function doesn't catch event released. It waits for time out and returns return:timeout. Actually I'm out of options now, why it could happen. I had suspensions that I should tell suspendforevent some hard link like connection id or transaction id for example. To make this function wait for eventreleased on this particular interaction. Or maybe from the other side, it's because of incorrect format of eventreleased:
[code]
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventAgentNotReady
AttributeThisDN '9900'
AttributeAgentID '2048'
AttributeAgentWorkMode 3 (AfterCallWork)
AttributeTimeinSecs 1454055995 (12:26:35)
AttributeTimeinuSecs 713798
AttributeEventSequenceNumber 000000001cf26d78
AttributeExtensions [72] 00 02 01 00..
'WrapUpTime' 3
'AgentSessionID' '0024MGHV80ATH4CT0KSTO2LAES39PKM5'
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventReleased
AttributeCallState 0
AttributeCallType 2
AttributePropagatedCallType 2
AttributeCallID 8592723
AttributeConnID 0082026d1e67016e
AttributeCallUUID '02BNTA1V7SATH4CT0KSTO2LAES0867AJ'
AttributeUserData [816] 00 24 00 00..
'TIMESTAMP_START' '1454055991'
'DNIS' ''
'CUSTOMER_TYPE' 'PPP'
'CUSTOMER_VALUE' 'C'
'LANGUAGE' 'RU'
'FIRST_NAME' 'Mehdiyev Fuad'
'LAST_NAME' 'Bakcell'
'MSISDN' '994555902585'
'ERRSTATUS' 'false'
'SUBSID' '50159565'
'WB_INDICATOR' ''
'SECCODE' '3323'
'SERVICE_TYPE' 'GEN'
'URSCONNID' '0082026d1e67016e'
'RVQID' ''
'RVQDBID' ''
'RTargetTypeSelected' '0'
'RTargetRuleSelected' ''
'RTargetObjectSelected' '2048'
'RTargetObjSelDBID' '150'
'RTargetAgentSelected' '2048'
'RTargetPlaceSelected' 'Place_9900'
'RTenant' 'Resources'
'RStrategyName' 'Catch_EventAbandoned'
'RStrategyDBID' '156'
'CBR-actual_volume' ''
'CBR-Interaction_cost' ''
'CBR-contract_DBIDs' ''
'CBR-IT-path_DBIDs' ''
'RRequestedSkillCombination' ''
'RRequestedSkills'(list)
'CustomerSegment' 'default'
'ServiceType' 'default'
'ServiceObjective' ''
'AutoMarkDone' 'Yes'
'AMD_timeout' '1'
AttributeDNIS '6930'
AttributeANI '994555902585'
AttributeThisDN '9900'
AttributeAgentID '2048'
AttributeThisDNRole 2
AttributeThisQueue '6930'
AttributeOtherDN '994555902585'
AttributeOtherDNRole 1
AttributeExtensions [84] 00 03 00 00..
'OtherTrunkName' 'Trunk_MSSBHQH01'
'BusinessCall' 1
'ReleasingParty' '2 Remote'
AttributeTimeinSecs 1454055995 (12:26:35)
AttributeTimeinuSecs 714100
AttributeEventSequenceNumber 000000001cf26d79
12:26:36.562_T_I_0082026d1e67016e [14:0c] EventReleased is received for ts SIP_p[SIP_Switch] (this dn=9900)
_T_I_0082026d1e67016e [14:0a] del DN (SIP_p[SIP_Switch] 9900 2ed1390) controlled=0 calluuid=1 cleanup=0(ref.id=0)
_T_W_0082026d1e67016e [14:0a] there is no DNs for call, selfdestruction(0)
12:26:36.562_I_I_0082026d1e67016e [01:08] call (6990-2f19160) deleting truly
0082026d1e67016e, 01/29/16@12:26:36.562, 9900(SIP_p) -> @ [abandoned dropped dumb 0 0], tms: 3942= (N)3942 + (T)0 + (X)0 + (S)0 + (W)0 + (F)0 + (R)0, trg:
CALL (0082026d1e67016e) HISTORY ( Abandon Dropped ):
12:26:36.562 Int 20005 interaction 0082026d1e67016e is abandoned
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventOnHook
AttributeThisDN '9900'
AttributeTimeinSecs 1454055995 (12:26:35)
AttributeTimeinuSecs 714419
AttributeEventSequenceNumber 000000001cf26d7b
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventReleased
AttributeThisDN 'SIP_Switch::'
AttributeCallType 2
AttributePropagatedCallType 2
AttributeCallID 8592723
AttributeConnID 0082026d1e67016e
AttributeCallUUID '02BNTA1V7SATH4CT0KSTO2LAES0867AJ'
AttributeUserData [816] 00 24 00 00..
'TIMESTAMP_START' '1454055991'
'DNIS' ''
'CUSTOMER_TYPE' 'PPP'
'CUSTOMER_VALUE' 'C'
'LANGUAGE' 'RU'
'FIRST_NAME' 'Mehdiyev Fuad'
'LAST_NAME' 'Bakcell'
'MSISDN' '994555902585'
'ERRSTATUS' 'false'
'SUBSID' '50159565'
'WB_INDICATOR' ''
'SECCODE' '3323'
'SERVICE_TYPE' 'GEN'
'URSCONNID' '0082026d1e67016e'
'RVQID' ''
'RVQDBID' ''
'RTargetTypeSelected' '0'
'RTargetRuleSelected' ''
'RTargetObjectSelected' '2048'
'RTargetObjSelDBID' '150'
'RTargetAgentSelected' '2048'
'RTargetPlaceSelected' 'Place_9900'
'RTenant' 'Resources'
'RStrategyName' 'Catch_EventAbandoned'
'RStrategyDBID' '156'
'CBR-actual_volume' ''
'CBR-Interaction_cost' ''
'CBR-contract_DBIDs' ''
'CBR-IT-path_DBIDs' ''
'RRequestedSkillCombination' ''
'RRequestedSkills'(list)
'CustomerSegment' 'default'
'ServiceType' 'default'
'ServiceObjective' ''
'AutoMarkDone' 'Yes'
'AMD_timeout' '1'
AttributeDNIS '6930'
AttributeANI '994555902585'
AttributeTimeinSecs 1454055995 (12:26:35)
AttributeTimeinuSecs 714987
AttributeEventSequenceNumber 000000001cf26d7c
12:26:36.563_M_I_ [10:17] SO(2dcb210 732 2) ten=Resources name=2048@SS_URS_p.A: CHANGE OF STATE (CallInbound->AfterCallWork)[1454055996 1 0]
_M_I_ [10:17] SO(2dcb210 732 2) ten=Resources name=2048@SS_URS_p.A: voice media status: 0 1 0
_M_I_ [10:17] -ready DN 9900 @ SIP_Switch (type 1 AfterCallWork time=1454055996) for ag 2048, pl Place_9900, AfterCallWork time=1454055996
_M_I_ [10:17] SO(2dcb210 732 2) ten=Resources name=2048@SS_URS_p.A: 0(1) ready DNs reported, dT=0
[/code]
What is confusing me, that AttributeThisDN 'SIP_Switch::'. Should it be like this ?