" /> Call a DLL or EXE from URS - Genesys CTI User Forum

Author Topic: Call a DLL or EXE from URS  (Read 6406 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Call a DLL or EXE from URS
« on: April 11, 2009, 05:17:45 PM »
Advertisement
Hi guys,
I was wondering if any of you have an idea on how I can call a external application from URS. My goal is that under certain circumstances URS will call a DLL and a public class inside this to do some tasks that URS or Genesys can't do by itself.
I do know that we have External Service on IRD but for what I understand that must be build with GIS or Interaction SDK, however this DLL is not build with those functions.
Was thinking on build a webservice but have some issues with that idea for customer.
Will appreciate any ideas.

Thanks

Offline JGMG

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #1 on: April 12, 2009, 12:32:27 AM »
You used to be able to build a Custom Server for use with URS - a DLL that had to support threading and other requirements.
I'm not sure if the recent versions still support Custom Server - would have to check the docs.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Call a DLL or EXE from URS
« Reply #2 on: April 13, 2009, 07:13:30 PM »
Thanks, I have been reading the docus and well doesn't look very confident and specially were Genesys doesn't provide support for it. So will try a different approach with SPs on the DB server itself.
Thanks a lot

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #3 on: April 14, 2009, 04:26:05 AM »
If you have IxnServer in your environment, you can build ESP server (PSDK .Net or Java) and invoke it from the strategy using generic ESP object.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Call a DLL or EXE from URS
« Reply #4 on: April 14, 2009, 04:53:48 AM »
Nop, no GIS. Only Platform SDK available.

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #5 on: April 16, 2009, 04:33:01 AM »
I'm not about Genesys Interface Server, but Interaction Server. If you have Interaction Server you can use Platform SDK to build ESP server and invoke it from the strategy.
Also Web service maybe the option. No Interaction Server necessary.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Call a DLL or EXE from URS
« Reply #6 on: April 20, 2009, 03:17:13 PM »
Hi Cav,

I would say there are 3 ways how to do it:

1/ WebService - not preferred solution but personally I would consider it that as the best one

2/ CustomServer - comes as part of URS and doesn't require any license. It's possible to even develop DLL for CustomServer using .NET. There is sample available on Genesys DevZone

3/ ESP Service - new protocol used for communication with external server by Interaction Server. You need GIS or Platform SDK to develop the application. Comparing with the options above this one would be most complicated + would require some license.

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Call a DLL or EXE from URS
« Reply #7 on: April 20, 2009, 03:31:01 PM »
Hey René,
Thanks. Up to now what I did was to use what I have on hand, use a SP on the DB and then from there call what I need, not very flexible but does the job very well. Will check the DevZone example you mention :)
Thanks a lot mates!

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #8 on: April 23, 2009, 03:41:01 AM »
Hi Rene, you do not need licenses to use custom ESP server.

Offline kowari

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #9 on: April 23, 2009, 06:17:20 AM »
We use web services and custom servers here to do all kinds of things... and they work just fine.
If the application is not webby, writing a custom server really isnt as bad as it seems. I would say that the custom server framework is more solid than the SOAP one is, certainly more flexible *shudders at restrictions on SOAP in IRD*

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Call a DLL or EXE from URS
« Reply #10 on: April 24, 2009, 08:58:27 AM »
[quote author=YevgeniyP link=topic=4085.msg18253#msg18253 date=1240458061]
Hi Rene, you do not need licenses to use custom ESP server.
[/quote]

Are you sure about that? I had discussion with SDK Product Manager in the past and if I do remember well she told me a licence (business not technical one) is required...

R.

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: Call a DLL or EXE from URS
« Reply #11 on: April 24, 2009, 06:28:06 PM »
It was probably about PSDK business license. No technical license control exist for ESP services.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Call a DLL or EXE from URS
« Reply #12 on: April 30, 2009, 12:33:28 PM »
Yevgeniy,

You're right but it doesn't matter if we're talking about business or technical license. You still need (buy) the license to be able to run ESP Server in your environment otherwise.

R.