Connecting hosts using different D channel protocols

This FAQ describes how to configure different hosts to use TCP/IP
connections over ISDN. The basic ideas will be explained within this paper. At
the end of this document important mapping functions will be explained.

The illustration below shows different machines, that use the service tcp/ip
over ISDN . Some hosts are connected to an ISDN basic rate adapter, others are
connected to an ISDN primary rate adapter. Four machines are using Euro ISDN
and three machines are using the german ISDN.

______________________________________________
| euro_S0 (Rel.>=4.2 (MSN1) (MSN2)
| ISDN-CLI : +49 911 994715 +49 911 994716 DSS1 - S0
| ISDN-IP-IF : 200.1.1.1
| PABX-Escape: UNIX
|______________________________________________

______________________________________________
| german_PRI
| ISDN-CLI : +49 89 888888 | 1TR6 - PRI
| ISDN-IP-IF : 200.1.1.2
| PABX-Escape: UNIX
|______________________________________________

______________________________________________
| euro_PRI (Rel.>=4.x
| ISDN-CLI : +49 911 333333 DSS1 - PRI
| ISDN-IP-IF : 200.1.1.3
| PABX-Escape: UNIX
|______________________________________________

______________________________________________
| german_S0
| ISDN-CLI : +49 911 123456 1TR6 - S0
| ISDN-IP-IF : 200.1.1.4
| PABX-Escape: UNIX
|______________________________________________

______________________________________________
| german_pabx
| ISDN-CLI : +49 911 9673-25 | 1TR6 - S0|
| ISDN-IP-IF : 200.1.1.5 PABX
| PABX-Escape: 0 UNIX
|______________________________________________

______________________________________________
| euro_dos (Rel.>=1.44 (MSN1)
| ISDN-CLI : +49 40 222333 DSS1 - S0
| ISDN-IP-IF : 200.1.1.7
| PABX-Escape: DOS
|______________________________________________

The configuration of the example will be explained in detail for every host.
The files services and hosts (to find in the directory /usr/isi/config or
/usr/bianca/config) are the same on every machine:

SERVICES (for each machine except euro_dos)
------------------------------------------------------------------------
LOCAL isitools 0070001
LOCAL tcp/ip 0070002 T.70;X.75
LOCAL tcp/ip2 0070002 NOL3;X.75
* isitools 007000
* tcp/ip 007000 T.70;X.75
* tcp/ip2 007000 NOL3;X.75
------------------------------------------------------------------------

Remark:
-------
The service isitools is bound with the local address 0070001 (i.e.
the EAZ 1 is used to select this service) and the service tcp/ip2 is bound
with the local address 0070002 (i.e. the EAZ 2 is used for the selection of
the tcp/ip2 service). For outgoing calls ( * entries) the EAZ is defined in
the file hosts. The term EAZ will be explained in the appendix.

HOSTS (for each machine except euro_dos)
------------------------------------------------------------------------
euro_S0_1 49.911.994715. # isitools
euro_S0_2 49.911.994716. # tcp/ip2
german_PRI_1 49.89.8888881. # isitools
german_PRI_2 49.89.8888882. # tcp/ip2
euro_PRI_1 49.89.3333331. # isitools
euro_PRI_2 49.89.3333332. <49.89.3333330. # tcp/ip2
german_S0_1 49.911.1234561. # isitools
german_S0_2 49.911.1234562. # tcp/ip2
german_pabx_1 49.911.9673.251 # isitools
german_pabx_2 49.911.9673.252 # tcp/ip2
euro_dos 49.40.2223332. # tcp/ip2
------------------------------------------------------------------------

Remark:
-------
The last digit of the ISDN numbers of the german hosts (using 1TR6
!) is the EAZ, i.e. every german host has 2 different numbers corresponding
to the 2 different ISDN services being provided by this host. The hosts using
DSS1, which are connected to an ISDN basic access, has also 2 different
numbers; By means of the 2 Multiple Subscriber Numbers (MSN, see appendix)
the appropriate ISDN service will be selected. For the PRI host using DSS1
there also are 2 defined numbers, although it has got only one subscriber
number: the primary access is configured as PABX connection, i.e. digits
being sent after the subscriber number 333333 will be interpreted by the
host (as the terminal equipment). This is known as direct dial in (DDI).

Remark:
-------
The Calling Line Identification (CLI .. sent by the exchange) of a
DSS1 S2M line with DDI capability will have a 0 at the end. This 0 is actually
sent by the ISDN exchange. therefore the line for the tcp/ip entry contains
a number for outgoing calls and a number for incoming calls.


------------------------------------------------------------------------
MACHINE: euro_S0
------------------------------------------------------------------------
This host is connected to an ISDN basic access with the D channel protocol
DSS1. The release of the BinTec software is 4.2 or higher.

ISI (/etc/default/isi)
------------------------------------------------------------------------
...
BASE_myhost=euro_S0_1
...
------------------------------------------------------------------------

IPIF
------------------------------------------------------------------------
NET is0 TYPE isdn ADDR 200.1.1.1
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.2 ISDN german_PRI_2,tcp/ip2
INET 200.1.1.3 ISDN euro_PRI_2,tcp/ip2
INET 200.1.1.4 ISDN german_S0_2,tcp/ip2
INET 200.1.1.5 ISDN german_pabx_2,tcp/ip2
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
------------------------------------------------------------------------

BOARDS
------------------------------------------------------------------------
0 ielc -1 u_dss1_pmp -e1=4715 -e2=4716
------------------------------------------------------------------------

Remark:
-------
The boards file takes care of loading the appropriate D channel
driver. Incoming calls for the first MSN (49.911.994715.) will be recognized
and mapped to EAZ 1. Consequently incoming calls for the second MSN
(49.911.994716.) will be mapped to EAZ 2. On outgoing calls, the reverse
mapping will take place, i.e. an outgoing call from EAZ 1 will be mapped to an
outgoing call from the first MSN. By this mechanism all the known 1TR6
configuration ideas can be used.


------------------------------------------------------------------------
MACHINE: german_PRI
------------------------------------------------------------------------
This host is connected to an ISDN primary access with D channel protocol
1TR6 (the EAZ feature has to be supported).

ISI
------------------------------------------------------------------------
...
BASE_myhost=german_PRI_1
...
------------------------------------------------------------------------

IPIF
------------------------------------------------------------------------
NET is0 TYPE isdn ADDR 200.1.1.2
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.1 ISDN euro_S0_2,tcp/ip2
INET 200.1.1.3 ISDN euro_PRI_2,tcp/ip2
INET 200.1.1.4 ISDN german_S0_2,tcp/ip2
INET 200.1.1.5 ISDN german_pabx_2,tcp/ip2
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
------------------------------------------------------------------------

BOARDS
------------------------------------------------------------------------
0 ielc -1 u_1tr6_s2m
------------------------------------------------------------------------


------------------------------------------------------------------------
MACHINE: euro_PRI
------------------------------------------------------------------------
This host is connected to an Euro ISDN primary rate interface. The release of
the BinTec software has to be 4.X. The primary rate interface is configured
with the feature direct dial in, i.e. digits being sent after the subscriber
number will be interpreted by the host (ISDN software).

ISI
------------------------------------------------------------------------
...
BASE_myhost=euro_PRI_1
...
------------------------------------------------------------------------

IPIF
------------------------------------------------------------------------
NET is0 TYPE isdn ADDR 200.1.1.3
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.1 ISDN euro_S0_2,tcp/ip2
INET 200.1.1.2 ISDN german_PRI_2,tcp/ip2
INET 200.1.1.4 ISDN german_S0_2,tcp/ip2
INET 200.1.1.5 ISDN german_pabx_2,tcp/ip2
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
------------------------------------------------------------------------

BOARDS
------------------------------------------------------------------------
0 pmx -1 u_dss1_s2m -e1=3331 -e2=3332
------------------------------------------------------------------------

Remark:
-------
Although you have only one number at a DSS1 S2M line you can
reach the connection with subsequent digits, e.g. 1, 2, ..
When you call this line with 0911 3333331 the Called party number
(-> pmxtrace) will be 3333331. With the mapping -e1=3331 the call
will be given to the EAZ 1.


------------------------------------------------------------------------
MACHINE: german_S0
------------------------------------------------------------------------
This host is connected to an ISDN basic access with D channel protocol 1TR6
(the EAZ feature has to be supported).

ISI
------------------------------------------------------------------------
...
BASE_myhost=german_S0_1
...
------------------------------------------------------------------------

IPIF
------------------------------------------------------------------------
NET is0 TYPE isdn ADDR 200.1.1.4
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.1 ISDN euro_S0_2,tcp/ip2
INET 200.1.1.2 ISDN german_PRI_2,tcp/ip2
INET 200.1.1.3 ISDN euro_PRI_2,tcp/ip2
INET 200.1.1.5 ISDN german_pabx_2,tcp/ip2
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
------------------------------------------------------------------------

BOARDS
------------------------------------------------------------------------
0 ielc -1 u_1tr6_pmp
------------------------------------------------------------------------

------------------------------------------------------------------------
MACHINE: german_pabx
------------------------------------------------------------------------
This host is connected to an ISDN basic access of a PABX with D channel
protocol 1TR6 (the EAZ feature has to be supported).

ISI
------------------------------------------------------------------------
...
BASE_myhost=german_pabx_1
BASE_escape=0
BASE_national=00
BASE_internat=000
BASE_iescape=
BASE_inational=0
BASE_iinternat=00
...
------------------------------------------------------------------------

IPIF
------------------------------------------------------------------------
NET is0 TYPE isdn ADDR 200.1.1.5
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.1 ISDN euro_S0_2,tcp/ip2
INET 200.1.1.2 ISDN german_PRI_2,tcp/ip2
INET 200.1.1.3 ISDN euro_PRI_2,tcp/ip2
INET 200.1.1.4 ISDN german_S0_2,tcp/ip2
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
------------------------------------------------------------------------

BOARDS
------------------------------------------------------------------------
0 ielc -1 u_1tr6_pmp
------------------------------------------------------------------------


------------------------------------------------------------------------
MACHINE: euro_dos
------------------------------------------------------------------------
This host is connected to Euro ISDN basic rate interface. The release of the
BinTec software is 1.44 or higher.

ISI
------------------------------------------------------------------------
...
BASE_myhost=euro_dos
...
IP_defaultservice=tcp/ip2
...
------------------------------------------------------------------------

SERVICES
------------------------------------------------------------------------
LOCAL tcp/ip2 0070002 NOL3;X.75
* tcp/ip2 007000 NOL3;X.75
------------------------------------------------------------------------

HOSTS (for each machine except euro_dos)
------------------------------------------------------------------------
euro_S0_2 49.911.994716. # tcp/ip2
euro_PRI_2 49.89.3333332. <49.89.3333330. # tcp/ip2
german_S0_2 49.911.1234562. # tcp/ip2
german_pabx_2 49.911.9673.252 # tcp/ip2
german_PRI_2 49.89.8888882. # tcp/ip2
euro_dos 49.40.2223332. # tcp/ip2
------------------------------------------------------------------------

IP
------------------------------------------------------------------------
INET 200.1.1.7 ISDN euro_dos,tcp/ip2
INET 200.1.1.1 ISDN euro_S0_2,tcp/ip2
INET 200.1.1.2 ISDN german_PRI_2,tcp/ip2
INET 200.1.1.3 ISDN euro_PRI_2,tcp/ip2
INET 200.1.1.4 ISDN german_S0_2,tcp/ip2
INET 200.1.1.5 ISDN german_pabx_2,tcp/ip2
------------------------------------------------------------------------

BIANCA.CFG
------------------------------------------------------------------------
...
EAZ2=2333
...
------------------------------------------------------------------------

Remark:
-------
There is no IPIF file here, so the own IP address has to be configured in
the IP file.


------------------------------------------------------------------------
APPENDIX I
------------------------------------------------------------------------

Important Mappings
------------------

A: The mapping from 1TR6 to DSS1
---------------------------------

There is a well defined mapping according to the 1TR67 specification.
This mapping is used at the ISDN drivers site.

ISDN 1TR6
---------

A setup packet within the 1TR6 protocol contains the values Service Indicator
(SI) and Additional information (AI). Common values are SI=007 and AI=000.
When the setup packet arrives at the "border switch" (linking the german ISDN
and the Euro ISDN) this values will be mapped to a distinct element of
DSS1, i.e. a setup packet with SI and AI values will be mapped to a setup
packet, which contains the Euro ISDN protocol element:

"Bearer Capability: unrestricted digital information (64Kbits/s)"

ISDN DSS1
---------

The BinTec configuration originates from the german ISDN (1TR6). Therefore
the file services contains the values:

Service Indicator (SI) and
Additional Information (AI)

as part of the local address. When an outgoing call is set up, the
configuration 007000 will be mapped to the Euro ISDN protocol element
"Bearer Capability: unrestricted digital information (64Kbits/s)".
The outgoing setup packet will contain this information.

For an incoming call the situation is just the opposite: When a setup
packet with the Euro ISDN protocol element
"Bearer Capability: unrestricted digital information (64Kbits/s)"
will arrive at the driver site, the software will - caused by the mapping -
transform this back to the value 007000

(SI+AI), i.e. the appropriate 1TR6 element will be generated.


B: The mapping from an EAZ to a Multiple Subscriber Number (MSN)
-----------------------------------------------------------------

As mentioned above the BinTec ISDN configuration originates from 1TR6.
A part of 1TR6 is the EAZ feature, which is used as a number to select a
unique device at the S0 bus.

To introduce the EAZ feature to the Euro ISDN, BinTec maps MSN's to EAZ's.

Example:
--------
euro_S0 has the MSN's 49.911.994715. and 49.911.994716.
Incoming calls for the first MSN will be mapped to the EAZ 1 and incoming
calls for the second MSN will be mapped to the EAZ 2 (file boards).
This mapping is performed by the ISDN driver of the BinTec software.

When a host calls the first MSN (49.911.994715) the ISDN driver of
euro_S0 will map this MSN to the EAZ 1. By this mechanism the BASE-software
will be able to use the EAZ facility.


------------------------------------------------------------------------
APPENDIX II
------------------------------------------------------------------------

Terms
-----

MSN
---
Multiple ISDN numbers can be assigned to one single ISDN interface (e.g.
3 in germany, 2 in sweden). Each of this Multiple Subscriber Numbers will
terminate at the same equipment.

EAZ
---
Actually this term is only of importance within the german ISDN. But
nevertheless we used it within our configuration. The EAZ is of significance,
if several devices are connected to the same S0 bus and these devices are
responsible for the same service (e.g. 3 telephones).

To address one specific device (among other devices providing the same
service) the EAZ is used.

 

Wichtige Links

FAQ-Indexseite
 
If you have comments or suggestions, send email  at support@BinTec.DE