Created by: Kein Kein on 02-05-2012 03:27:46 AM Maybe it's simple question, but i can't resolve this. I have service(JAVA) that connected in agent mode. When operator trasnfer call, i receive 3 eCallTransferred event (why 3 event if i have only 2 call objects?) I want to make composite_call object that should contains 2 simple_call objects(it's my classes) - trasferred calls. But i can't understand - how from CallTrasferredEvent get which call is trasferring. In CallTrasferredEvent i found my calls numbers, and can create UniqueCallID: PeripheralID:5000 PeripheralType:17 ConnectionCallID:54278200 CallType:6 ... ConnectedParty[1] ConnectedPartyCallID:54278200 ConnectedPartyDeviceIDType:1 ConnectedPartyDeviceID:51870 ) ConnectedParty[2] ConnectedPartyCallID:54278200 ConnectedPartyDeviceIDType:0 ConnectedPartyDeviceID:56592 ) But don't know how from Arguments object in java get ConnectedParty[1], and ConnectedParty[2] as Argument objects.
Subject: RE: Get connected party from trasferred event Replied by: David Lender on 08-05-2012 12:21:10 PM Heres how to do it in VB. You will need to translate it to Java
dim connectedpartyargsarray as arguments set connectedpartyargsarray = args.getvaluearray('ConnectedParty'); dim connnectedpartyargs as arguments for i = 1 to connectedpartyargsarray.numelements set connectedpartyargs = connectedpartyargsarray.getelement(i); connectedpartyargs.getvalue('ConnectedPartyCallID'); next i
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: