Author Message
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Hi,

I have a JTAPI client talking to AES 4.2:

Version: r4-2-0-19-4-0
Server Type: OTHER
Offer Type: SWONLY

Whenever I set Security to "encrypted" on the TSAPI link, I get the "com.avaya.jtapi.tsapi.TsapiPlatformException: server not found" error. It works fine when Security is not encrypted.
What is strange is the exactly client works fine another AES 4.2 that has similiar setup. I'm wondering if there is some configuration that I might have overlooked.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
I presume you have read and checked these items mentioned in the TSAPI Programers Reference ...

TSAPI client connections over secure links
Beginning with AE Services 4.1.0, the TSAPI service provides the option for configuring secure application links between the TSAPI client and the AE Services server.

In terms of the TSAPI client you will need to set up the configuration file (tslib.ini, for Windows or tslibrc, for Linux) to select the AE Services Server (AE Server) which is configured for secure TLINKs (described next in Server Implementation notes for TSAPI client connections). To
establish a session, TSAPI based applications use the acsOpenStream( ) service to open a TLINK. As a result of accommodating secure links, acsOpenStream() provides several new return values. For more information, see acsOpenStream ( ) on page 73. (of the TSAPI Programmer's Reference Manual).


Server Implementation notes for TSAPI client connections: To implement client connections over secure TLINKs, you need to administer the AE Services Server, using the Application Enablement Services (AE Services) Operations, Administration, and Maintenance
(OAM) Web-based interface, as follows:
?? (Optional) Administer "Encrypted TLINK Ports" on the Ports OAM page.To access this setting in OAM, select CTI OAM Administration > Administration > Network Configuration > Ports. [jtb - I'd at least check the port settings and make sure that any firewalls in the data stream path have these ports opened]

?? Administer TSAPI links with the Encrypted security setting on the Add / Edit TSAPI Links
OAM page. To access This page in OAM, select CTI OAM Administration > Administration > CTI Link Admin > TSAPI Links. From the TSAPI Links OAM page,
select Add Link or Edit Link.

----------------------------------------------------------
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I am using JTAPI. I have problem only when I set security to "encrypted" in the TLINK setup. It works fine when security is unencrypted. I check the ports on the AES machine. It's listen on 450 and 1066. Any other clue?

Here is the JTAPI logs I am getting:
01/13/09 11:12:52.078 <GetEventThread#1> java.net.SocketException: socket closed   at java.net.SocketInputStream.socketRead0(Native Method)
01/13/09 11:12:52.078 <GetEventThread#1>    at java.net.SocketInputStream.read(Unknown Source)
01/13/09 11:12:52.078 <GetEventThread#1>    at com.avaya.java.tsapiInterface.streams.c.a(SourceFile:49)
01/13/09 11:12:52.078 <GetEventThread#1>    at com.avaya.java.tsapiInterface.streams.c.a(SourceFile:60)
01/13/09 11:12:52.078 <GetEventThread#1>    at com.avaya.java.tsapiInterface.oio.j.run(SourceFile:219)
01/13/09 11:12:52.093 {Thread-2} TSProvider: version '4.2.1 Build 338 [production build]', for TSProvider[#2]@12c7378
01/13/09 11:12:52.093 {Thread-2} TSProvider: calling acsOpenStream serverID=AVAYA#S8720DD#CSTA#AES05 loginID=ctserveruser passwd=******* for TSProvider[#2]@12c7378
01/13/09 11:12:52.093 {Thread-2} browser: GENERIC
01/13/09 11:12:52.093 {Thread-2} AvayaJtapiThread - thread created: name=GetEventThread#2, hash= @19020562
01/13/09 11:12:52.093 {Thread-2} Sent InvokeID 1 for TSProvider[#2]@12c7378
01/13/09 11:12:52.093 {Thread-2} ACSNameSrvRequest ::=
01/13/09 11:12:52.093 {Thread-2} {
01/13/09 11:12:52.093 {Thread-2} streamType 1 < ST_CSTA >
01/13/09 11:12:52.093 {Thread-2} }
01/13/09 11:12:52.187 <GetEventThread#2> Received invokeID 1 for TSProvider[#2]@12c7378
01/13/09 11:12:52.187 <GetEventThread#2> ACSNameSrvReply ::=
01/13/09 11:12:52.187 <GetEventThread#2> {
01/13/09 11:12:52.187 <GetEventThread#2> more FALSE
01/13/09 11:12:52.187 <GetEventThread#2> list
01/13/09 11:12:52.187 <GetEventThread#2> {
01/13/09 11:12:52.187 <GetEventThread#2> {
01/13/09 11:12:52.187 <GetEventThread#2> serverName "AVAYA#S8720DD#CSTA-S#AES05"
01/13/09 11:12:52.187 <GetEventThread#2> serverAddr 2 0 4 2a 94 93 63 b4 0 0 0 0 0 0 0 0
01/13/09 11:12:52.187 <GetEventThread#2> }
01/13/09 11:12:52.187 <GetEventThread#2> }
01/13/09 11:12:52.187 <GetEventThread#2> }
01/13/09 11:12:52.187 <GetEventThread#2> Handling INVOKE ID 1 for TSProvider[#2]@12c7378
01/13/09 11:12:52.187 <GetEventThread#2> DONE handling INVOKE ID 1 for TSProvider[#2]@12c7378
01/13/09 11:12:52.187 {Thread-2} Sent InvokeID 2 for TSProvider[#2]@12c7378
01/13/09 11:12:52.187 {Thread-2} ACSAbortStream ::=
01/13/09 11:12:52.187 {Thread-2} {
01/13/09 11:12:52.187 {Thread-2} NULL
01/13/09 11:12:52.187 {Thread-2} }
01/13/09 11:12:52.187 {Thread-2} Tsapi<init>: com.avaya.jtapi.tsapi.TsapiPlatformException: server not found
01/13/09 11:12:52.187 <GetEventThread#2> Call Control: no handler for session
01/13/09 11:12:52.187 <GetEventThread#2> Exception received: java.net.SocketException: socket closed
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I figured it out. I had to use "CSTA-S" instead of "CSTA" in the service name. Thanks.
Go to:   
Mobile view