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 371

Programming Manual Pages
Issue  3  May 1998
9-149
calling_num
This parameter is a pointer to a null-terminated string that specifies the calling 
extension. (See trk parameter for more information.)
calling_type
This parameter is an optional plan_type_t structure that supplies additional 
information about the structure field that immediately precedes it (providing that 
the preceding field is not NULL).
called_num
This parameter is a pointer to a null-terminated string that specifies the called...

Page 372

Programming Manual Pages
9-150Issue  3  May 1998 
collect
The collect parameter is a boolean field containing the collect or collected flag. 
timeout
This parameter specifies the digit collection time out and is an integer value from
0 to 63 (the default is 0). 
call_udata 
This parameter is a pointer to a null-terminated character string of user data. If 
leng_udata is 0, then it points to a null character as the first character.
vdn_num 
This parameter contains the domain (VDN) from which the route...

Page 373

Programming Manual Pages
Issue  3  May 1998
9-151
call_id
This parameter identifies the call to be routed.
trk
This parameter is optional. It identifies the trunk number from which the call 
originated. Note that calling_num and trk are mutually exclusive. One or the 
other will be present, but not both.
oli
This parameter is optional. It identifies the Information Indicator (II) digits received 
in the originating line information IE for the call.
ucid
This parameter identifies the ucid (Universal Call...

Page 374

Programming Manual Pages
9-152Issue  3  May 1998 
C_RT_SEL (3ASAI)
Name
C_RT_SEL — Inform a route requester of a proposed route selection
Ty p e
Continuing — Unacknowledged
Usage
typedef struct{
long type;
long collect;
long timeout;
char *digits;
}user_code_t;
typedefstruct{
asai_common_t asai_common;
char *calling_num;
char *called_num;
user_user_t uudata;
long ofacility;
char *ofac_ext;
long priority_call;
long dir_agtcall;
user_code_t user_data;
party_id_t party_id;
long specific_event;
char...

Page 375

Programming Manual Pages
Issue  3  May 1998
9-153
asai_common
The programmer sets capability to C_RT_SEL and primitive_type to
C_REQUEST for a positive acknowledgement. The primitive_type is set to 
C_NEG_ACK for a negative acknowledgement. The programmer also sets the 
sao_id (also known as cluster_id) to identify the association of the route 
request.
calling_num, called_num
The calling and called extensions are specified by the null-terminated strings 
pointed to by these parameters. The calling...

Page 376

Programming Manual Pages
9-154Issue  3  May 1998 
dir_agtcall 
Setting this parameter to C_DIRAGT_ON indicates that the call should be tagged 
as a direct agent call; otherwise, the parameter should be set to C_DIRAGT_OFF.
user_data 
user_data provides the user information that will be sent to ECS.
type indicates the type of user code entered. The type field is restricted to the 
values C_TONE_DETECTOR and C_ADJUNCT_DIGITS. If C_ADJUNCT_DIGITS is 
specified, the time-out field is forced to zero(0) and...

Page 377

Programming Manual Pages
Issue  3  May 1998
9-155
Return Value
When this capability is used in an asai_send(), the function returns a 
nonnegative value upon success and -1 on failure. A return value of 0 does not 
indicate an error, it merely 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.
Notes
This capability can be issued only by a server.
See Also
asai_send()
C_RT_REQ C_RT_END 

Page 378

Programming Manual Pages
9-156Issue  3  May 1998 
C_SV_CONF (3ASAI) 
Name 
C_SV_CONF — Acknowledge a set value request
Ty p e
Terminating — Unacknowledged
Usage
typedef struct {
asai_common_t   asai_common;
long cause_value;
}sv_nak_t;
typedef union {
asai_comon_t   asai_common;
sv_nak_t   sv_nak; 
}sv_rsp_t;
Description
The client receives this capability as a positive or negative acknowledgment to a 
set value request. The union sv_resp contains the necessary information for 
both.
Within asai_common,...

Page 379

Programming Manual Pages
Issue  3  May 1998
9-157
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 does not 
indicate an error, it merely indicates that no data has been received at this time.
Errors
See Chapter 7, ‘‘Error Messages’’ for a list of error messages with brief 
explanations of their probable causes.
See Also
asai_rcv()
C_SV_REQ 

Page 380

Programming Manual Pages
9-158Issue  3  May 1998 
C_SV_REQ (3ASAI)
Name
C_SV_REQ — Set the value of an item in the domain of the provider
Ty p e
Initiating — Acknowledged
Usage
typedef struct {
asai_common_t asai_common;
long sv_item;
long mwi_item;
char called_num;
char pool [C_DATSZ];
}sv_mwi_val_t;
typedef struct {
sv_common_t sv_common;
call_id_t call_id;
long bill_type;
float bill_rate;
char pool [C_DATSZ];   
}sv_flex_t;
typedef struct {
asai_common_t asai_common;
long sv_item;
}sv_common_t;...
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