Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Fredrick on March 23, 2011, 04:38:15 PM

Title: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: Fredrick on March 23, 2011, 04:38:15 PM
Voice platform Sdk 7.6 sample Softphone application can connect with T-Server for Cisco Unified Communications Manager, Version: 8.0.001.01. It throws null value when we are register dn, and tserver protocol status also in closed status.But using the genesys platform SDK 7.2 version DLL its working properly. we are getting response from tserver correctly. Why?Can you please  anyone share idea regarding this?
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: René on March 23, 2011, 05:59:22 PM
Hi,

Can you post here log of T-Server?

R.
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: nareshgenesys on March 24, 2011, 08:35:43 AM
What is logged in the Platform SDK debug log?
Can you test with the latest Platform SDK 8.0.2?
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: René on March 28, 2011, 05:51:46 PM
Hi Fredrick,

Based on provided logs your app doesn't even connect to T-Server when using 7.6 release of PSDK. Honestly, it's a bit strange as connection management is part of T-Server Common Part and I know from my own experience that PSDK 7.6 works.

Could you post here your code?

R.
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: Fredrick on April 05, 2011, 05:53:37 PM
Hi Rene,

Ya..its like strange...its not even connects T-server....it throws protocol exception...but when i am using 7.2 libraries instead of 7.6 server responding well...it gives all events properly...but with same code using 7.2, 7.5and 7.6 dll connects with Avaya communication manager tserver properly..i suspects about UCM 8.0..

here is that code for t-server connection...

      public TServerProtocol tServerProtocol;

      public TServerProtocol DoConnect()
      {
          try
          {
              Uri tServerUri = new Uri("tcp://" + TServerHost + ":" + TServerPort);
              tServerProtocol = new TServerProtocol(new Endpoint(TServerName, tServerUri));
             
              tServerProtocol.Open();
              return tServerProtocol;
          }
          catch (Exception ex)
          {
              throw new Exception(ex.ToString());
          }
      }
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: René on April 06, 2011, 10:07:40 AM
Hi,

What kind of exception you get when trying to establish connection with T-Server?

R.
Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: Fredrick on April 07, 2011, 05:10:15 PM
Hi ,

i am getting the following error when i am using 7.6 v dll in genesys voice platform sample code. but using same code with 7.2 v dll iam not getting this error. same t-server connection will be good for 7.2.

"Exception Occured during channel opening"

"System.Net.Sockets.SocketException: An invalid Argument was supplied"

Title: Re: T-Server for Cisco UCM can't connect to .net voice platform sdK 7.6 application
Post by: domenicp on June 12, 2011, 04:31:45 AM
We have the same exact issue.  We can connect to TServer for CUCM using 7.6 SDK or higher.  With the 7.2 SDK, it works.  Anyone have any resolution?