Tsapi client connection

Post Reply
joaoj
Member
Posts: 9
Joined: 19 Jan 2016 10:15

Tsapi client connection

Post by joaoj » 19 Jan 2016 10:34

Hi, i was trying to develop a small software to connect to Alcatel Tsapi Server. I have some experience because i have done the same with AVAYA AES, but because the lack of information regarding Alcatel, i'm a bit stuck.

The server is working fine (Cstatst32 is OK), when i try to use the acsOpenStream in my dev. client to connect, I'm receiving zero has result, but the acsHandler is always 1 (one). I think this is wrong. In the server logs seems that the connection is open sucessfully, but i cannot call events with this acsHandler.

Any Ideias? Maybe is related with diferences between AVAYA and Alcatel Data types.
Or, If someone some sort of documentation about TSAPI/OXE (like acs.h, csta.h, ... or Dev Manuals) that can provide me, i will be very grateful.

Thanks.

joaoj
Member
Posts: 9
Joined: 19 Jan 2016 10:15

Re: Tsapi client connection

Post by joaoj » 20 Jan 2016 06:49

Ok, the acsHandler is really 1. It's working. In Avaya the handler is a random number like 532162.

Anyone knows the differences between TSAPI and TSAPI++ ?

joaoj
Member
Posts: 9
Joined: 19 Jan 2016 10:15

Re: Tsapi client connection

Post by joaoj » 20 Jan 2016 13:45

Hi again, this is a bit difficult without documentation.
I'm using acsGetEventBlock to get events, but all the CSTAUnsolicited events returns eventClass and eventType equal to zero. The other events are fine.

For example, pickup the phone should be eventClass = 4 and eventType = 56, but i receive eventClass = 0 and eventType = 0. I receive in the event the call Id, the device id, the timestamp in the private data, etc... but not the eventClass or eventType.

As i said, if the event is solicited everything works fine.

Does anyone know what might be?

sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 500
Joined: 02 Jun 2006 07:11
Location: Portugal

Re: Tsapi client connection

Post by sadim » 22 Jan 2016 05:41

Hi,

What is the TSAPI and OXE Release

Regards

joaoj
Member
Posts: 9
Joined: 19 Jan 2016 10:15

Re: Tsapi client connection

Post by joaoj » 22 Jan 2016 09:44

The OXE is R.10.1.1 and the TSAPI is :

apiVer = TSAPI V2.21
libVer = 6.4.7
tsrvVer = 06.04.07
drvrVer = 3.560.31

joaoj
Member
Posts: 9
Joined: 19 Jan 2016 10:15

Re: Tsapi client connection

Post by joaoj » 22 Jan 2016 13:06

Is it possible in Alcatel OTS maintenance to see the events data that are send to my application?
Just to check where is the problem.

JJ

sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 500
Joined: 02 Jun 2006 07:11
Location: Portugal

Re: Tsapi client connection

Post by sadim » 22 Jan 2016 19:37

Hi,

For OXE R10 the TSAPI must be R7.0.5 minimum.
Try with a R7 TSAPI to check if ok

Regards

Post Reply

Return to “TSAPI”