Genesys CTI User Forum > Genesys-related Development
Get IInteractionVoice having IInteraction
innspiron:
I have IInteraction interaction = Model.Interaction; But what I need is information from IInteractionVoice. For example I need AttributeCallType, AttributeUserData. How do I extract that from IInteraction? I know its in, as while debugging in immediate window I type "?interaction" I see its there, but how to save it to string on run time? Thanks.
Kubig:
You can get requested information (callType, userData, etc) from IInteraction object - so you do not need IInteractionVoice object type.
innspiron:
How to do that? Tank you.
Kubig:
When you check namespace genesyslab.desktop.modules.core.model.interactions you will see which methods and properties this calls has.
There are methods like:
[list]
[li]GetAllAttachedData[/li]
[li]GetIWCallType[/li]
[/list]
or properties like:
[list]
[li]UserData[/li]
[li]Type[/li]
[/list]
innspiron:
Can please give me an example line how to retrieve AttributeCallType and AttributeUserData? While having IInteraction interaction = Model.Interaction; Thanks.
Navigation
[0] Message Index
[#] Next page
Go to full version