August 2000: Software Reference Isdn 1
August 2000: Software Reference Isdn 1
August 2000: Software Reference Isdn 1
August 2000
Software Reference
ISDN
ISDN
Software Reference
Table of Contents
Table of Contents
ISDN
A
REFERENCE
1.1
1.1.1
B and D Channels
1.1.2
ISDN Interfaces
1.1.3
1.1.4
10
1.2
12
1.2.1
12
1.3
14
1.3.1
Overview
14
1.3.2
Dispatching Algorithm
15
1.3.3
Outgoing Calls
26
1.4
26
1.4.1
ShortHold
26
1.4.2
26
Software Reference
ISDN
Table of Contents
ISDN
Software Reference
Software Reference
REFERENCE
ISDN
1.1
B Channel
B Channel
D Channel
64 kbps
16 kbps
ISDN
Software Reference
1.1.1
B and D Channels
ISDN Interfaces
Software Reference
ISDN
ISDN
Software Reference
1.1.3
The signalling used in setting up ISDN calls includes information that identifies both the caller and callee and is referred to as the Calling Partys Number and Called Partys
Number respectively. Both addresses consist of a Local
Number and an optional Subaddress. The calling party
and called party numbers are sometimes called directory
numbers in the ISDN world.
Calling Partys Address
3512 F ...
D
Subaddress
Local-Number
S0
ISDN
S0
2925
3512
Caller
Callee
Local Number
Most ISDN basic rate interfaces today come with three separate telephone numbers. These numbers are commonly
used to identify specific telecommunications equipment at
a subscribers site. For example, the caller in the diagram
above might have the ISDN numbers 2925, 2926, and 2927.
Euro-ISDN and National-ISDN in Germany use different
names and procedures for identifying separate local numbers.
Euro-ISDN
In Euro-ISDN, the DSS1 signalling protocol is used.
Depending on the type of service arrangement
with the local telephone company, the subscriber
Software Reference
ISDN
NOTE:
Subaddressing in ISDN should not be confused with the different local numbers available in Euro ISDN and 1TR6
(National ISDN in Germany). Subaddressing is not available
in the 1TR6 protocol. In other ISDN protocols subaddresses
are optional and usually have to be purchased separately
from the ISDN provider.
receives three or more Local Numbers. These numbers are called MSNs (multiple subscriber
number). Additional MSNs can normally be purchased from the ISDN service provider.
1TR6 (National ISDN in Germany)
In Germany, the 1TR6 signalling protocol is used.
The ISDN number assigned by the telephone company, e.g. 0911 / 99002, can be extended by appending an additional digit (known as the EAZ, or Endgerteauswahlziffer) to this number. Up to nine
different EAZ numbers (1...9) can be used. EAZ 0 is
used as a global, to allow all equipment to receive
incoming calls in parallel. This signalling protocol
is not supported by PABX-BinTec routers and, in
any case, will no longer be supported in the new
millenium, as it is being replaced by the DSS1.
1.1.4
ISDN
Software Reference
the call packet. The values shown below are used and indicate the respective circumstances.
Screening Indicator
network
Software Reference
CPN assigned by
network
user-verified
user
user
user
user-failed
user
ISDN
11
1.2
1.2.1
isdnStkTable
Field
Must be:
ProtocolProfile
dss1 or dtr6
Configuration
point_to_point or
point_to_multipoint
Status
loaded
ISDN
Software Reference
ure process by displaying the isdnIfTable. If the AutoconfigState field is set to done, then the auto configure procedure is complete.
Next, verify the operational status of the interface by
viewing the isdnStkTable. If the Status field is set to loaded then auto configuration was also successful. The interface is ready to accept connections.
Turning Off Auto Configuration
As long as isdnIfAutoconfig is set to on (the default), auto
configuration will be performed. If set to off then information for the respective interface will not be configured, but
will be loaded from the isdnStkTable instead.
Restarting Auto Configuration
If auto configuration was not successful you can restart the
procedure by assigning start to the isdnIfAutoconfigState field of the isdnIfTable .
isdnIfAutoconfigState:0=start
Software Reference
ISDN
13
1.3
1.3.1
Overview
14
ISDN
Software Reference
ISDN
Called
Party
Number
Check Dispatch Table
PPP
Login
Pots
CAPI
Dispatching Algorithm
This diagram shows the initial steps used to dispatch incoming calls on the BinTec router. Information relating to
Software Reference
ISDN
15
Call Timeout
no match found
match found
Is
Item = ppp
?
no
Is
Item = login
?
yes
no
yes
Is
Item = pots
?
no
yes
Call
signalled as
data
?
no
Call
signalled as
telephony
?
yes
no
yes
LoginOnPPPDispatch
enabled
?
yes
Routing Service
Login Service
no
Pots Service
CAPI Service
16
ISDN
Software Reference
Here, the isdnDispatchTable is searched for a matching entry. Note that since this is an incoming call, only entries
with Direction = both or incoming are valid in this context.
A match is found if the Called Partys Number matches the
LocalNumber field. It is important that each MSN is
mapped to no more than one service.
The Item field of the matched entry determines which
BinTec router service is informed of the call.
Note that the ISDN may signal a call (just another term for
identifying the calls type) as being a data or a telephony
call. This step has been implemented for sites that only
have one MSN. See step 4.
This additional step has been implemented for sites that
only have one
MSN. Since these sites will have to use their sole MSN for
the routing service this step allows them to dispatch calls to
the login service using the isdnLoginOnPPPDispatch variable.
The isdnlogin command (from the SNMP shell) can be
used from a remote BinTec router to establish an ISDN call
to a BinTec router with one MSN (and appropriately configured) using the servicename telephony.
isdnlogin <telephone number> telephony
Software Reference
ISDN
17
Routing Service
The Routing service decides whether to accept or reject the
call based on the diagram shown below.
(Main)
Routing Service
no
yes
no
Are we
Screening this
caller
no
no
Using
CHAP|PAP
for caller
yes
yes
Using
no
RADIUS server
?
yes
ISDN
indicator
Screening
yes
yes
no
yes
Did
no
RADIUS verify
caller
no
yes
yes
Using
RADIUS server
?
Have
partners w/o
incoming #
no
Was
CHAP|PAP
successful
yes
no
Call Timeout
Is
biboPPPTable
empty?
Does
Calling Party
Number
match
Did
no
RADIUS verify
caller
yes
Accept Call
18
ISDN
Software Reference
found the caller still has not incurred any charges at this
point.
If the Calling Partys Number couldnt be matched in the
DialTable the BinTec router checks to see if any WAN partners exist (biboPPPTable) that do not have an incoming
number (biboDialDirection = both or incoming).
If a RADIUS server is configured in biboAdmRadiusServer
this step resolves as yes. The call is then initially accepted
(charges are incurred by the caller) if it hasnt already been,
and the RADIUS server is consulted.
The Screening field from the matched DialTable entry from
step 1 determines whether screening should be performed
for calls from this number. If Screening for this entry is set
to dont_care the screening feature is not being used.
Screening is the second step of OUTBAND authentication;
meaning that ISDN charges for the caller still have not been
incurred.
Background information on ISDN Screening is covered
the section ISDN Screening Indicator.
WAN partners configured to use CHAP and/or PAP authentication are identified in the biboPPPTable by the Authentication field which will be set to either; pap, chap, or
both.
Once the dispatching algorithm reaches this step, the
ISDN call is initially accepted to perform INBAND authentication.
If the RADIUS server was able to verify the caller, the
BinTec router accepts the call and establishes the network
connection according to the parameters provided by the
RADIUS server. Otherwise, the call is disconnected.
Software Reference
ISDN
19
When screening incoming calls, the biboDialScreening variable is compared to the screening indicator provided by
the ISDN. The value provided by the ISDN must be greater
than or equal to biboDialScreening.
The last step for WAN partners that must authenticate via
CHAP or PAP.
20
ISDN
Software Reference
Login Service
The Login Service may accept or reject an incoming call
based on the diagram shown below.
(Main)
Login Service
Does
Calling Party
Number
match
yes
no
Call Timeout
Is
no
LoginAllowTable
empty?
yes
ISDN
indicator
Screening
no
yes
Accept Call
Software Reference
ISDN
21
Pots Service
(FAX, voice, modem calls)
Multiple isdnDispatchTable
entries may match. For each
match this test is performed.
yes
no
Does
DspSlot-Unit
support call
type
yes
no
Call Timeout
Is
potsTable
empty?
Accept Call
22
ISDN
Software Reference
CAPI Service
The CAPI service on the BinTec router must inform registered CAPI clients of incoming calls. Depending on the Dispatch Table, the type of call, and the registered applications,
the CAPI service accepts or rejects calls as follows.
Software Reference
ISDN
23
(Main)
CAPI Service
Did
no
DispatchTable
match
CPN
yes
Notify all
listening CAPI
1.1 and 2.0 apps
(capiListenTable)
Notify all
listening CAPI
2.0 apps
(capiListenTable)
Any
application
want call
?
yes
Call Timeout
no
Accept Call
24
ISDN
Software Reference
Software Reference
ISDN
25
1.3.3
Outgoing Calls
1.4
1.4.1
ShortHold
26
ISDN
Software Reference
port for a specific connection the following fields of the biboPPPTable are used:
biboPPPInitConn
InitConn defines the number of channels to open
each time an ISDN connection is requested.
biboPPPMaxConn
MaxConn defines the maximum number of channels MLS may have open at any one time.
biboPPPMinConn
MinConn defines the minimum number of channels to keep open at all times. If throughput drops,
the number of open channels drops back to the value specified. There is one exception to this, see
Shorthold.
biboPPPShortHold
ShortHold specifies a fixed time value (in seconds)
to wait before closing all channels, once the line becomes silent (i.e., no data is being transferred). For
more information see: Static Short Hold.
biboPPPDynShortHold
DynShortHold specifies the percentage of the current ChargeInterval to wait before closing all channels, once the line becomes silent. For more information see: Dynamic Short Hold
Note:
Software Reference
ISDN
27