DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ISDN_CONNECT.ISDN_RESP(D7isdn)


ISDN_CONNECT.ISDN_RESP -- ISDN incoming call response

Synopsis

   #include <sys/stream.h>
   #include <sys/mdi.h>
   #include <sys/types.h>
   #include <sys/scoisdn.h>
   

typedef struct isdn_connect_resp { isdnPLCI_t plci; isdnReject_t reject; isdnBproto_t bProto; isdnConnNbr_t ConnNbr; isdnConnAdr_t ConnAddr; isdnLLC_t llc; isdnAddInfo_t info; } isdn_connect_resp_t;

Description

The ISDN_CONNECT.ISDN_RESP message consists of one M_PROTO(D7str) message block containing the response to an ISDN_CONNECT.ISDN_IND(D7isdn) message. It is used to accept or reject an incoming call on behalf of the application.

The incoming call is identified using the plci parameter. The reject parameter is used to accept, reject, or ignore the call. When the call is ignored on a BRI (Basic Rate Interface) bus, other ISDN equipment connected on the bus will have the opportunity to accept the call; when the call is rejected, it is terminated on the entire bus. For the PRI (Primary Rate Interface) bus, the reject parameter values will behave the same.

Parameters


plci
Physical Link Connection Identifier; see isdnPLCI(D4isdn).

reject
Reject; see isdnReject(D4isdn). Any unknown reject value will be mapped to ISDN_REJECT_NORMAL (Reject, normal call clearing). Any reject value other than ISDN_REJECT_OK (Accept the call) will cause an ISDN_DISCONNECT.ISDN_IND(D7isdn) message to be sent to the application.

bProto
B protocol to use; see isdnBproto(D4isdn). The absence of a B protocol value (that is, coding as an empty structure) will result in the default protocol behavior: ISO 7776 (X.75) and window size 7. This selection gets overall connectivity with the benefits of HDLC error recovery. However, ISO 7776 deals with a default maximum data length of 128 octets, while the SCO ISDN implementation can handle at least 2048 octets, depending on the values of the ISDN_REGISTER ioctl called by an application.

ConnNbr
Connected number; see isdnConnNbr(D4isdn).

ConnAddr
Connected subaddress; see isdnConnAdr(D4isdn).

llc
Low Layer Compatibility. See isdnLLC(D4isdn). This parameter can optionally be used for LLC negotiation if supported by the network.

info
Additional information elements; see isdnAddInfo(D4isdn).

References

Intro(D4isdn), Intro(D7isdn)

ISDN_CONNECT.ISDN_REQ(D7isdn), ISDN_CONNECT.ISDN_IND(D7isdn), ISDN_CONNECT.ISDN_CONF(D7isdn)

``SCO ISDN adapter drivers'' in Developing MDI network adapter drivers


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005