Bewerken

Delen via


Specifying ISDN Keys and Values for an ISDN Adapter

In addition to a WanEndpoints value, an INF file for an ISDN adapter must add (through an add-registry-section) the following keys and values to the instance key for the adapter. For more information, see Specifying WAN Endpoints for a WAN Adapter.

Note ISDN drivers are deprecated in Windows 8.1, Windows Server 2012 R2, and later.

  • IsdnNumDChannels

    Specifies the number of D-channels that are supported by the ISDN adapter.

  • IsdnAutoSwitchDetect (Optional)

    Specifies whether the ISDN adapter supports automatic switch detection. A value of 1 indicates that the adapter supports automatic switch detection. A value of zero indicates that the adapter does not support automatic switch detection.

  • IsdnSwitchTypes

    Specifies the switch types that are supported by the ISDN adapter.

    Switch Description

    ISDN_SWITCH_AUTO

    Auto Detect (North America only)

    ISDN_SWITCH_ATT

    ESS5 (AT&T, North America)

    ISDN_SWITCH_NI1

    National ISDN 1 (NI-1)

    ISDN_SWITCH_NI2

    National ISDN 2 (NI-2)

    ISDN_SWITCH_NT1

    Northern Telecom DMS 100 (NT-1)

    ISDN_SWITCH_INS64

    NTT INS64 (Japan)

    ISDN_SWITCH_1TR6

    German National (1TR6). This switch type is rarely used.

    ISDN_SWITCH_VN3

    French National (VN3). This switch type is rarely used.

    ISDN_SWITCH_NET3

    European ISDN (DSS1)

    ISDN_SWITCH_DSS1

    European ISDN (DSS1)

    ISDN_SWITCH_AUS

    Australian National. This switch type is rarely used.

    ISDN_SWITCH_BEL

    Belgium National. This switch type is rarely used.

    ISDN_SWITCH_VN4

    French National (VN4)

    ISDN_SWITCH_SWE

    Swedish National

    ISDN_SWITCH_ITA

    Italian National

    ISDN_SWITCH_TWN

    Taiwanese

To specify multiple switch types, simply add the individual switch type values together.

The ISDN Wizard, which runs automatically during the installation of an ISDN component, allows the user to select one of the switch types specified by IsdnSwitchTypes. The selected switch type determines which other ISDN parameters the ISDN Wizard subsequently displays for configuration. These ISDN parameters include the phone number, the SPID (service profile identifier), the subaddress, and the multisubscriber number.

  • An IsdnNumBChannels value and a D-channel key for each D-channel

    The D-channel key is a zero-based index from 0 through 9 that identifies the D-channel. IsdnNumBChannels is a REG_DWORD value added to the D-channel key. IsdnNumBChannels specifies the number of B-channels supported by the D-channel.

The following is an example of an add-registry-section that adds ISDN keys and values to the instance key of an ISDN adapter. Two D-channels are specified for the adapter, and two B-channels are specified for each D-channel.

[ISDNadapter.reg]
HKR,,  WanEndPoints,         0x00010001, 4
HKR,,  IsdnNumDChannels,     0x00010001, 2
HKR,,  IsdnAutoSwitchDetect, 0x00010001, 1
HKR,,  IsdnSwitchTypes,      0x00010001, 0x00000004  ;NI1

HKR, 0, IsdnNumBChannels,    0x00010001, 2

HKR, 1, IsdnNumBChannels,    0x00010001, 2

The ISDN Wizard itself also adds ISDN keys and values to the instance key for an ISDN adapter, based on the parameter values specified by the user. The ISDN Wizard adds the following keys and values:

  • IsdnSwitchType

    A REG_DWORD that indicates the switch type that was selected by the user for the ISDN adapter.

  • IsdnMultiSubscriberNumbers value for each D-channel

    A REG_MULTI_SZ value that indicates the multisubscriber numbers that were specified by the user for the D-channel.

  • A B-channel key and an IsdnSpid, IsdnPhoneNumber, and/or an IsdnSubaddress value for each B-channel:

Key or Value Description

B-channel key

A zero-based index that identifies the B-channel. The maximum value for a B-channel key is one less than the IsdnNumBchannels value assigned to the D-channel to which the B-channel belongs.

IsdnSpid

A REG_SZ value that indicates the SPID, if any, specified by the user for the B-channel.

IsdnPhoneNumber

The phone number, if any, specified by the user for the B-channel.

IsdnSubaddress

The subaddress, if any, specified by the user for the B-channel.

The following example is an ISDN adapter's registry section layout . Each registry key is enclosed in square brackets, for example: [ KeyName ]. The ISDN keys and values that were added by the INF file for the ISDN adapter are highlighted in boldface text; the ISDN keys and values that were added by the ISDN Wizard appear in normal (nonboldface) text.

[...Enum\emumeratorID\device-instance-id]  ;ISDN adapter instance key
WanEndpoints=4
IsdnNumDChannels=2
IsdnAutoSwitchDetect=1
IsdnSwitchType=0x4  ;National ISDN 1

[...Enum\emumeratorID\device-instance-id\0]  ;D-channel 0
IsdnNumBChannels=2
IsdnMultiSubscriberNumbers=1234567 2345678 3456789

[...Enum\emumeratorID\device-instance-id\0\0]  ;B-channel 0 for D-channel 0
IsdnSpid=00555121200
IsdnPhoneNumber=5551212
IsdnSubaddress=

[...Enum\emumeratorID\device-instance-id\0\1]  ;B-channel 1 key for D-channel 0
IsdnSpid=00555121300
IsdnPhoneNumber=5551213
IsdnSubaddress=

[...Enum\emumeratorID\device-instance-id\1]  ;D-channel 1 key
IsdnNumBChannels=2
IsdnMultiSubscriberNumbers=8675309 2390125 7658156

[...Enum\emumeratorID\device-instance-id\1\0]  ;B-channel 0 for D-channel 1
IsdnSpid=00555987600
IsdnPhoneNumber=5559876
IsdnSubaddress=

[...Enum\emumeratorID\device-instance-id\1\0]  ;B-channel 1 for D-channel 1
IsdnSpid=00555876500
IsdnPhoneNumber=5558765
IsdnSubaddress=