Home > Lucent Technologies > Communications System > Lucent Technologies DEFINITY Enterprise Communications Server Release 6 CallVisor PC ASAI Instructions Manual

Lucent Technologies DEFINITY Enterprise Communications Server Release 6 CallVisor PC ASAI Instructions Manual

Here you can view all the pages of manual Lucent Technologies DEFINITY Enterprise Communications Server Release 6 CallVisor PC ASAI Instructions Manual. The Lucent Technologies manuals for Communications System are available online for free. You can easily download all the documents as PDF.

Page 391

Programming Manual Pages
Issue  3  May 1998
9-169
Notes
This capability can be issued only by a server.
See Also
asai_rcv()
C_VQ_REQ C_VQ_RESP 

Page 392

Programming Manual Pages
9-170Issue  3  May 1998 
C_VQ_REQ (3ASAI)
Name
C_VQ_REQ — Request information about status or value of a service or feature 
within the domain of the provider
Ty p e
Initiating — Acknowledged
Usage
typedef struct{
asai_common_t asai_common;
long vq_item;
char *split_ext;
char pool[C_DATSZ];
}vq_split_stat_t;
typedefstruct{
asai_common_t asai_common;
long vq_item;
char *tg_ext;
char pool[C_DATSZ];
}vq_tg_stat_t;
typedef struct{
asai_common_t asai_common;
long vq_item;
char...

Page 393

Programming Manual Pages
Issue  3  May 1998
9-171
typedef struct{
asai_common_t asai_common;
long vq_item;
char *extension;
char pool[C_DATSZ];
}vq_cal_stat_t;
typedef struct{
asai_common_t asai_common;
long vq_item;
call_id_t call_id;
char pool[C_DATSZ];
}vq_pty_stat_t;
typedef struct{
asai_common_t asai_common;
long vq_item;
char *extension;
char pool[C_DATSZ];
}vq_ext_stat_t;
typedef struct{
asai_common_t asai_common;
long vq_item;
char *extension;
char pool[C_DATSZ];
}vq_mwi_stat_t;
typedef struct{...

Page 394

Programming Manual Pages
9-172Issue  3  May 1998 
typedef struct{
asai_common_t asai_common;
long vq_item;
call_id_t call_id;
char pool[C_DATSZ];
}vq_ucid_t;                                /* 63V6 */
typedef struct{
asai_common_t asai_common;
long vq_item;
}vq_common_t;
typedef union{
vq_common_t vq_common;
vq_split_stat_t vq_split_stat;
vq_tg_stat_t vq_tg_stat;
vq_agt_stat_t vq_agt_stat;
vq_station_t vq_station;
vq_agt_aud_t vq_agt_aud;
vq_cal_stat_t vq_cal_stat;
vq_pty_stat_t vq_pty_stat;
vq_ext_stat_t...

Page 395

Programming Manual Pages
Issue  3  May 1998
9-173
The parameters contained in the vq_buf union members vq_split_stat, 
vq_common,vq_tg_stat,vq_common,vq_agt_stat,vq_station, 
vq_agt_aud,vq_cal_stat,vq_pty_stat,vq_ext_stat,vq_mwi_stat, 
vq_sac_stat, and vq_scf_stat supply mandatory and optional information 
concerning the requested item.
The following table shows the vq_item value, the associated vq_buf union 
member, the information contained in the member, and a description of the 
information....

Page 396

Programming Manual Pages
9-174Issue  3  May 1998 
Return Value
When this capability is used in an asai_send(), the function returns a 
nonnegative value when successful and -1 on failure. A return value of 0 indicates 
that no data has been sent.
Errors
See Chapter 7, ‘‘Error Messages’’ for a list of error messages with brief 
explanations of their probable causes.
See Also
asai_send()
C_VQ_RESP C_VQ_CONF C_SAC_STAT vq_sac_stat extension
. See C_STATION.
pool. See C_ACDSPT_STAT.
C_SCF_STAT vq_scf_stat...

Page 397

Programming Manual Pages
Issue  3  May 1998
9-175
C_VQ_RESP (3ASAI)
Name
C_VQ_RESP — Respond to a value query request
Ty p e
Continuing — Unacknowledged
Usage
typedef struct{
asai_common_t asai_common;
long vqr_item;
char *agtext_list;
plan_type_t agtext_type;
long num_ext;
char pool[C_DATSZ];
}vqr_agtaud_t;
typedef struct{
asai_common_t asai_common;
long vqr_item;
}vqr_common_t;
typedef union{
vqr_common_t vqr_common;
vqr_agtaud_t vqr_agtaud;
}vqr_buf_t;
Description
The client receives this capability...

Page 398

Programming Manual Pages
9-176Issue  3  May 1998 
Return Value
When this capability is used in an asai_rcv(), the function returns the size of 
the message when successful and -1 on failure. A return value of 0 indicates that 
no data has been received.
Errors
See Chapter 7, ‘‘Error Messages’’ for a list of error messages with brief 
explanations of their probable causes.
Notes
This capability can be issued only by a server.
See Also
asai_rcv()
C_VQ_REQ C_VQ_CONF
Table 9-6. Associated Items and...

Page 399

Issue  3  May 199810-1
10
Te s t i n g
Integration Test Tool
This Integration Test Tool (ITT) is designed to help test the ASAI library by 
exercising its function calls and optionally, by comparing the expected results to 
the actual results for received messages. See Figure 10-1 on page 10-1 for ITT 
structure.
Figure 10-1. Integration Test Tool — Overview
script
answers
fd
ASAI
LibraryIntegration
Te s t
To o l
User
DEFINITY ECS  

Page 400

Testing
10-2Issue  3  May 1998 
Terminology
The following terms are used extensively throughout this chapter and are unique 
to the ITT:
test script Runs the test by telling the tool which ASAI library 
functions to execute and which capabilities they 
should invoke.
capability info scriptIf the test tool needs additional information about 
the selected capability, it asks the user for that 
input. Alternatively, the script may contain the name 
of an input file that would answer all the specifics 
about...
Start reading Lucent Technologies DEFINITY Enterprise Communications Server Release 6 CallVisor PC ASAI Instructions Manual

Related Manuals for Lucent Technologies DEFINITY Enterprise Communications Server Release 6 CallVisor PC ASAI Instructions Manual

All Lucent Technologies manuals