This topic describes:
This is the ISDN Software nccPlaceCall extended parameter structure and its substructures:
typedef struct
{
DWORD size; /* Size of this structure */
BYTE ie_list[NCC_ISDN_MAX_IE_LIST]; /* additional information elements */
CALLEDNUM callednumber; /* Called number substructure */
CALLINGNUM callingnumber; /* Calling number substructure */
REDIRECTINGNUM redirectingnumber; /* Redirecting number substructure */
char callingname[32]; /* Calling name */
WORD service; /* Service */
WORD nsf_present; /* NSF usage flag */
WORD nsf_service_feature; /* Service or feature is set in the */
/* Coding field */
WORD nsf_facility_coding; /* NSF coding */
WORD nsf_param_fld; /* NSF parameterized facility coding value.*/
WORD getcallid; /* Get callid for this call */
} PLACECALL_EXT;
typedef struct
{
DWORD size; /* Size of this structure */
WORD plan; /* Q.931 numbering plan of calling address */
WORD type; /* Q.931 numbering type of calling address */
WORD screen; /* Q.931 ANI screening indicator */
WORD presentation; /* Q.931 caller ID presentation indicator */
} CALLINGNUM;
typedef struct
{
DWORD size; /* Size of called number */
WORD plan; /* Q.931 numbering plan of called address */
WORD type; /* Q.931 numbering type of called address */
} CALLEDNUM;
typedef struct
{
DWORD size; /* Size of this structure */
char digits[33]; /* Redirecting address */
char pad[3]; /* Padding */
WORD plan; /* Q.931 numbering plan of redirecting address */
WORD type; /* Q.931 numbering type of redirecting address */
WORD screen; /* Q.931 redirecting address screening indicator */
WORD presentation; /* Q.931 redirecting address presentation indicator*/
WORD reason; /* Q.931 reason for redirection */
WORD pad[1] /* Padding */
} REDIRECTING_NUM;
nccPlaceCall always causes a SETUP message to be sent on the trunk. The following table shows the fields in PLACECALL_EXT that are valid for each network variant:
PLACECALL_EXT field |
4 |
E |
N |
D |
E |
V |
H |
A |
N |
K |
T |
Q |
D |
T |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ie_list |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
callednumber |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
callingname |
x |
x |
x |
x |
|
|
||||||||
callingnumber |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
getcallid |
|
x |
x |
|
|
|
||||||||
redirectingnumber |
x |
x |
x |
x |
|
|
|
|||||||
service |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
|
x |
nsf_param_fld |
x |
|
|
|
|
|||||||||
nsf_present |
x |
|
|
|
|
|||||||||
nsf_service_feature |
x |
|
|
|
|
|||||||||
nsf_facility_coding |
x |
|
|
|
|
The following table describes the fields in the PLACECALL_EXT structure and in substructures referenced by this structure. Allowed values for these fields are defined in isdnval.h.
Field |
Description |
---|---|
size |
Size of PLACECALL_EXT. |
ie_list |
Null-terminated array of additional Q.931 information elements. See Sending additional information elements for more information. |
callednumber.size |
Size of called number. |
callednumber.plan |
Q.931 numbering plan of called address. |
callednumber.type |
Q.931 numbering type of called address. |
callingname |
Pointer to calling name information. |
callingnumber.size |
Size of calling number. |
callingnumber.plan |
Q.931 numbering plan of calling address. |
callingnumber.type |
Q.931 numbering type of calling address. |
callingnumber.screen |
Q.931 ANI screening indicator. |
callingnumber.presentation |
Q.931 caller ID presentation indicator. |
redirectingnumber.size |
Size of redirecting address. |
redirectingnumber.digits |
Redirecting address. |
redirectingnumber.plan |
Q.931 numbering plan of redirecting address. |
redirectingnumber.type |
Q.931 numbering type of redirecting address. |
redirectingnumber.screen |
Q.931 redirecting address screening indicator. |
redirectingnumber.presentation |
Q.931 redirecting address presentation indicator. |
redirectingnumber.reason |
Q.931 reason for redirection. |
service |
|
nsf_facility_coding |
NSF service or feature ID. |
nsf_param_fld |
NSF parameterized facility coding value. |
nsf_present |
Network-specific facilities usage flag. |
nsf_service_feature |
Service or feature is set in the coding field. |