Version
|
If you want to...
|
Then use...
|
|---|---|
|
Get line status information
|
nccGetLineStatus
|
|
Get call status information
|
nccGetCallStatus
|
|
Get protocol-specific call status information
|
nccGetExtendedCallStatus
|

typedef struct
{
DWORD size; /* No of bytes written to by linestatus */
DWORD state; /* Current state of line */
DWORD pendingcmd; /* Last command not ack'd by board */
char protocol[NCC_MAX_PNAME+1]; /* Array of protocols on line */
CTA_MVIP_ADDR port; /* MVIP address of port */
unsigned numcallhd; /* Number of unreleased call handles */
} NCC_LINE_STATUS;

typedef struct
{
DWORD size; /* No of bytes written to by callstatus */
DWORD state; /* Current call state */
char calledaddr [NCC_MAX_DIGITS+1]; /* Called number address */
char callingaddr[NCC_MAX_DIGITS+1]; /* Calling number address */
char callingname[NCC_MAX_CALLING_NAME]; /* Calling name info */
DWORD pendingcmd; /* Last command not ack'ed by board */
DWORD held; /* Non--zero value when call is held */
DWORD direction; /* Indicates inbound or outbound call */
CTAHD linehd; /* Line handle on which call resides */
} NCC_CALL_STATUS;



Note: This event is generated only if the NCC_REPORT_STATUSINFO bit is set in the NCC.START.eventmask parameter (see Appendix C).

Version