Genesys CTI User Forum > Genesys-related Development
[SOLVED] Can't attach ReasonCode to AttributeExtensions on AgentNotReady Event
luchosrock:
Hi guys,
I'm trying to attach the ReasonCode to the AttributeExtensions on the NotReady Event. I've added the Extensions KeyValueCollection with the ReasonCode to the request but when I informed the event the response doesn't show the KVList i sent, instead it responds AgentSessionID
Please any help on this will be really appreciated. I'm using Genesys 8 SDK for .NET by the way.
Regards,
Kubig:
Post your code fragment where you post the attach data together with logs covering the behaviour.
luchosrock:
Thanks for your quick reply Kubig.
I'm trying to send it as a KeyValueCollection attached to the Extensions attribute
[code]
Dim reqAgentNotReady As RequestAgentNotReady
...
reqAgentNotReady.Extensions = New KeyValueCollection
reqAgentNotReady.Extensions.Add("ReasonCode", reasonCode)
...
Dim response As IMessage
response = Me.protocolManagementService(TServerString).Request(reqAgentNotReady, TimeSpan.FromSeconds(15))
[/code]
But the response received is
[code]
...
Extensions:
(Str) AgentSessionID XXXXXXXXXXXXXXXXXXXXXXXXXX
...
[/code]
As you can see, the Extensions attribute is overriden by another KeyValueCollection ??? :-\
Kubig:
And what say logs of T-Server? I suppose you tried to change the status on voice channel
luchosrock:
What do you mean by changing the status on voice channel? Mi big issue is that on Interaction Workspace this is notified as 'ReasonCode' 'specificreason' just after the AttributeExtensions entry, I'm trying to get to the same output but through the .NET Platform SDK
Is there a caveat that I don't know? I used to inform this by attaching the reason on the the Reasons attribute to the NotReady request sent but now I need to inform it the same way IWS does
Navigation
[0] Message Index
[#] Next page
Go to full version