|
|
#include <sys/types.h> #include <sys/scoisdn.h>typedef struct isdnCallingNbr { isdnByte_t type; isdnByte_t pres; isdnByte_t number[MAX_NUMBER_DIGITS]; } isdnCallingNbr_t;
This structure is used by:
ISDN_CONNECT.ISDN_REQ(D7isdn)
ISDN_CONNECT.ISDN_IND(D7isdn)
ISDN_LISTEN.ISDN_REQ(D7isdn)
type
calling party number
information
element). At the calling side, the value supplied by the
application will be transmitted over the network; 0x00
is the suggested default value. At the called interface, the value
received from the network will be passed to the application.
The extension bit will always be cleared.
pres
calling party number
information
element). This byte may be used to allow or suppress the
presentation of the caller's number in an incoming call.
At the originating interface, the value supplied by the application will be transmitted over the network; 0x80 is the suggested default value. With this default value, the presentation of the caller's number is allowed. 0xA0 will suppress the presentation of the calling number if the network supports this mechanism.
At the called side, the value received from the network will be passed to the application. If this byte was not transmitted from the network, the controller inserts the valid default value 0x80 (user provided, not screened).
number
``SCO ISDN adapter drivers'' in Developing MDI network adapter drivers.