" /> Custom Server - PSDK - Genesys CTI User Forum

Author Topic: Custom Server - PSDK  (Read 3168 times)

Offline SisB

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Custom Server - PSDK
« on: May 27, 2009, 02:20:19 PM »
Advertisement
Hi All:

I am planning to deploy a custom server (for the first time) on AIX. What I understand from manual is that the custom procedure file has to be compiled and kept as shared object (.so) file in custom server directory. I can do that easily as long as I am writing source code in C/CPP.

Does anyone know how to integrate PSDK with the custom server (Is JNI the only way?!!). I need to get some data from config database (preferably by not doing a direct db read and trying to avoid WS as well).

Thanks.

Offline SisB

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Custom Server - PSDK
« Reply #1 on: May 27, 2009, 02:57:08 PM »
Well, apparently creating .so might not be difficult from java (I see gcj allows you to do that). But has anyone used it successfully or having similar set up working?

Thanks.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Custom Server - PSDK
« Reply #2 on: May 28, 2009, 06:18:55 AM »
What exactly do you need to read from CME? URS is pretty adapt to recovering almost all sort of information from there. To answer your question regarding .so, I had not done this with .so, but I had no problem with using PSDK from a custom server dll. I don't see a problem with doing the same in .so. Especially if you are going to use a Java variant of PSDK.

Vic

Offline SisB

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Custom Server - PSDK
« Reply #3 on: May 28, 2009, 07:16:04 AM »
Thanks Victor.

All I have is the agent login in hand. I need to find the associated agent, so that I can do something meaningful from strategy. Also, I need to find under which switch in Config the agent login resides. It is probably not possible to do these using IRD functions/URS.

I've to use java PSDK as we are fully AIX based, but was just wondering if object compiled from java will be compatible with custom server. I understand for Windows this would be much simpler (.NET PSDK->dll).

Thanks.