Author Topic: IWS - Custom ready state  (Read 13460 times)

Offline RobertH

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 1
Re: IWS - Custom ready state
« Reply #15 on: December 03, 2012, 10:53:07 PM »
Hi

Same way it will never work.
You want to request interaction server not tserver.
[code]
Genesyslab.Platform.OpenMedia.Protocols.InteractionServer.ReasonInfo reasons = Genesyslab.Platform.OpenMedia.Protocols.InteractionServer.ReasonInfo.Create("BCW", "0");
Genesyslab.Enterprise.Model.Channel.IClientChannel chnl = agent_.FirstMediaEmail.Channel;

log_.Info("channel protocol id: " + isrv.ServerContext.ProxyId);
RequestCancelNotReadyForMedia request = RequestCancelNotReadyForMedia.Create(isrv.ServerContext.ProxyId+1, null, "email", reasons);
chnl.Protocol.Request(request);
[/code]

I did short test with request using platform sdk.
But there is media type and proxy client id hardcoded.

Maybe it will give you some hint.

Regards
Robert

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: IWS - Custom ready state
« Reply #16 on: December 04, 2012, 07:09:25 AM »
Thx for your reply and hints. May be, I am on low-level SDK and I think,that I would use IWS commands. Commands for voice and openmedia contents request Ready with KeyValueCollection in parameter. So,I have created new topic.

I think,that I should use IdentityServiceExtensions and method ReadyMultimedia - but I cannot configure correctly all required parameters yet :-( I still get exception " No place for agent"

Thanks again for all,Robert.
« Last Edit: December 04, 2012, 09:35:16 AM by Kubig »