Let say I received an Event:
'EventAttachedDataChanged' ('85')
message attributes:
AttributeThisDN [str] = "13005"
AttributeDNIS [str] = "9999"
AttributePropagatedCallType [int] = 1 [Internal]
AttributeConnID [long] = 006A026F401154D0
AttributeUserData [bstr] = KVList:
'CallUUID' [str] = "CVHLQ55KB50HH77LLE2253SFEC00017J"
'RPVQID' [str] = "MJLPGIELHH1SHE3RR75D1B94UK00005C"AttributeCallID [int] = 16784583
AttributeEventSequenceNumber [long] = 223430
AttributeThisDNRole [int] = 1 [RoleOrigination]
Time = ComplexClass(TimeStamp):
AttributeTimeinuSecs [int] = 541000
AttributeTimeinSecs [int] = 1443239011
AttributeCallType [int] = 1 [Internal]
AttributeThirdPartyDN [str] = "9999"
AttributeCallUuid [str] = "CVHLQ55KB50HH77LLE2253SFEC00017J"
How can I update the value of RPVQID? I want it to be updated when I receive the EventReleased. As what I've tried as shown below, it doesn't work.
KeyValueCollection updateInfo = new KeyValueCollection();
updateInfo.Add("RPVQID", "Agent");
RequestReleaseCall reqReleaseCall = RequestReleaseCall.Create(thisDN, connID1);
IMessage reqRCResponse = tServerProtocol.Request(reqReleaseCall);
RequestUpdateUserData abc = RequestUpdateUserData.Create(thisDN, connID1, updateInfo );
IMessage def = tServerProtocol.Request(abc);