Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Ali on October 05, 2017, 01:24:56 PM

Title: IWS-Related Development
Post by: Ali on October 05, 2017, 01:24:56 PM
Hi to all!

We attached a web-based CRM application to our IWS Desktop Application.

What I want to ask you guys is the following:

We would like to insert a button inside this (embedded) web-application with which we can place outbound call. This button will trigger a Javascript function. So, is it possible to have this Javascript function make call over IWS desktop? As far as I know, we need to define a HTTP listener in IWS, so it can fetch Javascript-based calls.

In this case,

1. Do you have a sample code?
2. AND/OR any is there any SDK-related documentation you can advise me?

Thank you in advance and best regards,

Ali
Title: Re: IWS-Related Development
Post by: cavagnaro on October 05, 2017, 01:57:36 PM
What you can do is to create a call to URS Web interface, so URS instructs TServer what to do, like a call on that DN. Check my question and the solution that was given.

Another solution as you say is to create a socket listener and implement a HTTP service or Websocket.
There are many solutions on the Internet for that.


Enviado de meu E6633 usando Tapatalk

Title: Re: IWS-Related Development
Post by: Ali on October 05, 2017, 05:44:10 PM
Thank you for your reply.

Is it possible to develop HTTP Listener using Inteaction Workspace API?
Title: Re: IWS-Related Development
Post by: cavagnaro on October 05, 2017, 06:21:50 PM
???  Ermmm...no, Genesys doesn't have control on OS sockets. That is another part. You need to implement that.
Title: Re: IWS-Related Development
Post by: Ali on October 19, 2017, 02:43:04 PM
I have figured out how to this.

For System.Windows.Controls.WebBrowser, we need to use ScriptHandler, so the web application can talk to IWS thru JavaScript.

Cherio!

Ali