" /> OpenMediaServer sample Platform SDK7.6 - Genesys CTI User Forum

Author Topic: OpenMediaServer sample Platform SDK7.6  (Read 2567 times)

Offline tamichan

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
OpenMediaServer sample Platform SDK7.6
« on: October 16, 2013, 06:54:29 PM »
Advertisement
Okay I am a total newbie to Genesys, but not to programming.  I'm hoping someone can point me in the right direction.

The ultimate goal is to create a web service that can create an email interaction.  It was recommended that I use the OpenMediaServer sample from the PlatformSDK 7.6.  I updated the code with values appropriate to our environment.  I'm getting "Client registration failed" on the line of code that opens the InteractionServerProtocol.  I'm not really finding much information on this error message on the Genesys site or on this site

Is anyone familiar with this error?  I do have a case open with Genesys, but I thought I would give this forum a shot as well.  I haven't included any code, but can if it is needed.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: OpenMediaServer sample Platform SDK7.6
« Reply #1 on: October 17, 2013, 11:07:10 AM »
As a client of any Genesys server (in your case client of IXN) you have to be authorized at first, so in code where you create communication protocol you would configure client name, there are more parameters, but not all are necessary. So, if you only want to have WS, that can create an email interaction , you can use or get inspiration from WebAPI samples. Only disadvantage of this is, that you have to integrate and deploy WebAPI.

Offline tamichan

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: OpenMediaServer sample Platform SDK7.6
« Reply #2 on: October 17, 2013, 01:02:29 PM »
The communication protocol code is where I'm getting the error.  There is something that I am missing.  The WebAPI is not something I have heard of, but am looking at the documentation now. 

Thanks for the info.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: OpenMediaServer sample Platform SDK7.6
« Reply #3 on: October 17, 2013, 01:07:36 PM »
Yes, I know, but in code where you "build" communication protocol you have to specify which user or application object will be used for authorize. Put your code, if you want and we can check them and should get help

Offline tamichan

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: OpenMediaServer sample Platform SDK7.6
« Reply #4 on: October 22, 2013, 02:13:41 PM »
Just wanted to wrap this up.  I finally got an id to access the dev environment and found out the my issue was not as complicated as it seemed.  I was given the wrong port number to use.  Once I had access to the dev environment I could confirm my connection parameters. 

Thanks for your patience and assistance.  I know I will have other newbie questions.

Tamichan