| |||||||||
![]() | | ||||||||
| |||||||||||||||
| |||||||||||||||
| Ericsson Ask Questions and Find Answers on Ericsson Systems |
| Tags: acseventnotify, acsopenstream |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | ||||||||
| Junior Member
Rep Power: 0 ![]() | acsOpenStream and acsEventNotify I have worked with TSAPI for years for Avaya platforms. I am now trying to implement a TSAPI application to integrate with the Ericsson Application Link 4.0 and it's giving me some grief. The acsOpenStream returns no error, the acsHandle returned seems to be valid (value = 1), but when I call acsEventNotify for this handle I get a return code -10 (ACSERR_BADHDL ). Now the (Lucent) TSAPI documentation says “If acsOpenStream( ) is successful, TSAPI guarantees that the application has a valid acsHandle. If acsOpenStream( ) is notsuccessful, then the function return code gives the cause of the failure.” Since acsOpenStream does not return an error, how can the acsHandle be invalid??? Anyone any ideas? Any help much appreciated. ![]() | ||||||||
| | |
| | #2 (permalink) | ||||||||
| Junior Member
Rep Power: 0 ![]() | The connection script to the server must be something like: host=CO001S004;tcp/ip=2562 CO001S004 Is the name of the server and 2562 the PORT available for conexion. Please use the SDK available for ERICSSON. oascsta32.dll unsigned short sendQSize; sendQSize=0; unsigned short sendExtraBufs; sendExtraBufs=0; unsigned short recvQSize; recvQSize=0; unsigned short recvExtraBufs; recvExtraBufs=0; ServerID_t ServidorId; LoginID_t LoginId; Passwd_t Password; AppName_t AppId; Version_t Version; strcpy(ServidorId,"host=CO001S004;tcp/ip=2562"); strcpy(LoginId,""); strcpy(Password,""); strcpy(AppId,"ASUL"); strcpy(Version,CSTA_API_VERSION); m_RetornoInvokeId=acsOpenStream ( &m_HandleConexion, LIB_GEN_ID, 0, ST_CSTA, &ServidorId, &LoginId, &Password, &AppId, ACS_LEVEL1, &Version, sendQSize, sendExtraBufs, recvQSize, recvExtraBufs, NULL); | ||||||||
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |