Home | Register |    
 
Forums         |        Articles          |      Software          |      Portals          |      Resource          |      Wiki      |    White Papers         
 
Go Back   PBX Info :: Your Free PBX, PABX and Telephone Information Resource > PBX SYSTEMS > Ericsson
   SEARCH  
     
User Name Password      
Save ?
Ericsson Ask Questions and Find Answers on Ericsson Systems

Tags: ,

Post New Thread  Reply
 
LinkBack Thread Tools Display Modes
Old 03-06-2007, 06:56 AM   #1 (permalink)
cms
Junior Member

Activity Longevity
0/20 5/20
Today Posts
0/0 ssssssss1
Rep Power: 0cms is an unknown quantity at this point

Total Points:
Donate
Country:

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.

cms is offline   sendpm.gif Reply With Quote
Old 11-23-2007, 10:38 AM   #2 (permalink)
ASUL
Junior Member

Activity Longevity
0/20 3/20
Today Posts
0/0 ssssssss1
Rep Power: 0ASUL is an unknown quantity at this point

Total Points:
Donate
Country:

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);
ASUL is offline   sendpm.gif Reply With Quote
Post New Thread  Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Tags   |   Advertise    |    Media Partners   |    Admin   |   About us   |   Contact Us   |   RSS   


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
Copyright PBXINFO LLC 2006