(Page 1 of 1 in this chapter) Version
|
Operation
|
Supported?
|
|---|---|
|
Receiving inbound calls
|
Yes
|
|
Placing outbound calls
|
Yes
|
|
Releasing calls
|
Yes
|
|
Call blocking
|
Yes
|
|
Call transfer
|
No
|
* s1sn # d1dn * t1tn
* and s digits from the string.
# d1dn are the digits to dial.
* and t digits from the string.
Figure 22. ADI Service Inbound Call State Diagram
Figure 23. Sequence Diagram for Answering an Inbound Call
Figure 24. Sequence Diagram for Rejecting an Inbound Call
Figure 25. Sequence Diagram for Accepting and then Rejecting an Inbound Call
Figure 26. Sequence Diagram for Accepting and then Answering an Inbound Call
Figure 27. ADU Service Outbound Call State Diagram
Figure 28. Sequence Diagram for an Outbound Call
Figure 29. Sequence Diagram for Network-Initiated Release
Figure 30. Sequence Diagram for Application-Initiated Release
#define ADI_MAX_DIGITS 31
#define ADI_MAX_CNAME 31
typedef struct
{ /* Used by adiGetCallStatus */
DWORD size; /* Size returned by adiGetCallStatus */
DWORD state; /* Call states (ADI_CC_STATE_xxx) */
INT32 reason; /* Reason for going back to IDLE state */
char calledaddr [ADI_MAX_DIGITS+1]; /*DNIS info, called number */
/* (null-terminated string) */
char callingaddr[ADI_MAX_DIGITS+1]; /*ANI info, calling number */
/* (null-terminated string) */
char callingname[ADI_MAX_CNAME+1]; /* Calling party name */
DWORD pendingcommand; /* Current unacknowledged command */
char usercategory; /* User category of the calling party */
char tollcategory; /* Toll category (generally same as */
/* usercategory) */
BYTE stream; /* MVIP address of B channel */
BYTE timeslot; /* MVIP address of B channel */
WORD billingrate; /* Billing rate of call */
char callednumplan; /* Q.931 numbering plan ID of */
/* called number (if supported) */
char callednumtype; /* Q.931 number type of */
/* called number (if supported) */
char callingnumplan; /* Q.931 numbering plan ID of */
/* calling number (if supported) */
char callingnumtype; /* Q.931 number type of */
/* calling number (if supported) */
char callingpres; /* Caller ID presentation indicator */
char callingscreen; /* Q.931 ANI screening indicator */
char progressdescr; /* Progress descriptor */
char releasecause; /* Cause for call release */
char redirectingaddr[ADI_MAX_DIGITS+1]; /* Redirecting no. info */
char redirectingplan; /* Q.931 numbering plan ID of */
/* redirecting number (if supported) */
char redirectingtype; /* Q.931 number type of */
/* redirecting number (if supported) */
char redirectingpres; /* Redirecting number presentation */
/* indicator */
char redirectingscreen; /* Q.931 redirecting number screen */
/* indicator */
char redirectingreason; /* Q.931 reason for redirection */
char originalcalledaddr [ADI_MAX_DIGITS+1]; /* (For future use) */
char UUI[132]; /* User-to-user information */
/* (132 chars max) */
char origcalledplan; /* Q.931 numbering plan ID if supported */ char origcalledtype; /* Q.931 number type if supported */ char origcalledpres; /* original called number pres. indicator */ char origcalledscreen; /* Q.931 redirecting number screen ind. */ char origcalledreason; /* Q.931 reason for redirection */ } ADI_CALL_STATUS;
2 Field may be filled when the call is alerting.
3 Field may be filled when the call is released.
typedef struct
{
DWORD size; /* Size of this structure */
char uui[132]; /* UUI */
ISDN_CALLEDNUMBER callednumber; /* Called number substructure */
ISDN_CALLINGNUMBER callingnumber; /* Calling number substructure */
ISDN_REDIRECTINGNUMBER redirectingnumber; /* Redir num substructure */
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 */
} ISDNPLACECALL_EXTARGS;
|
ISDNPLACECALL_EXTARGS Field
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
x
|
x
|
x
|
|
x
|
x
|
|
|
x
|
x
|
x
|
|
|
callednumber
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
|
callingnumber
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
|
redirectingnumber
|
x
|
x
|
x
|
x
|
|
|
|
|
|
|
|
|
|
service
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
|
nsf_present
|
x
|
|
|
|
|
|
|
|
|
|
|
|
|
nsf_service_feature
|
x
|
|
|
|
|
|
|
|
|
|
|
|
|
nsf_facility_coding
|
x
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct
{
DWORD size; /* Size of this structure */
char uui [132]; /* UUI */
} ISDNANSWERCALL_EXTARGS;
|
ISDNANSWERCALL_EXTARGS Field
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
x
|
x
|
|
|
x
|
x
|
|
|
x
|
x
|
x
|
|
|
Parameter
|
Macros
|
Description
|
|---|---|---|
|
uui
|
isdn_answercall_a_uui
|
Pointer to a string with user-to-user information (132 chars max)
|
typedef struct
{
DWORD size; /* Size of this structure */
char uui [132]; /* UUI */
WORD cause; /* Cause value */
WORD progressdescription; /* Progress description */
} ISDNACCEPTCALL_EXTARGS;
|
ISDNACCEPTCALL_EXTARGS Field (PROGRESS message)
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
Not sent
| |||||||||||
|
cause
|
x
|
x
|
x
|
x
|
x
|
|
|
|
|
|
|
|
|
progressdescription
|
x
|
x
|
x
|
x
|
x
|
|
|
|
|
|
|
|
|
ISDNACCEPTCALL_EXTARGS Field (ALERTING message)
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
|
|
|
|
x
|
x
|
|
|
x
|
x
|
x
|
|
|
cause
|
Not sent
| |||||||||||
|
progressdescription
|
Not sent
|
|
|
|
|
|
|
|
|
| ||
typedef struct
{
DWORD size; /* Size of this structure */
char uui [132]; /* UUI */
WORD cause; /* Disconnect cause (NCC value) */
WORD pad;
} ISDNREJECTCALL_EXTARGS;
|
ISDNREJECTCALL_EXTARGS Field
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
x
|
x
|
x
|
|
x
|
x
|
|
|
x
|
x
|
x
|
|
|
cause
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
typedef struct
{
DWORD size; /* Size of this structure */
char uui [132]; /* UUI */
WORD cause; /* Disconnect cause (NCC value) */
WORD pad;
} ISDN RELEASECALL_EXTARGS;
|
ISDNRELEASECALL_EXTARGS Field (DISCONNECT message)
|
4ESS
|
E10
|
NI2
|
DMS100
|
ETSI
|
VN6
|
HKG
|
AUSTEL1
|
NTT
|
KOREA
|
TAIWAN
|
QSIG
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
uui
|
x
|
|
x
|
|
x
|
x
|
|
|
x
|
x
|
x
|
|
|
cause
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
x
|
(Page 1 of 1 in this chapter) Version