Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Import of ISDN4BSD configuration example files

  • Loading branch information...
commit 7a8035c01237a900aa610bd7bb945243a6e71c18 1 parent 616cd5f
martin authored
View
12 share/examples/isdn/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+FILES= holidays.D.SH isdnd.rates.A isdnd.rates.D isdnd.rates.F \
+ isdnd.rates.L isdnd.rates.UK.BT isdnd.rc.sample
+FILESDIR=/usr/share/examples/isdn
+.endif
+MKOBJ= no
+
+.include <bsd.prog.mk>
View
27 share/examples/isdn/holidays.D.SH
@@ -0,0 +1,27 @@
+#---------------------------------------------------------------------------
+#
+# holidays file for Germany, Schleswig-Holstein, 2000
+# ---------------------------------------------------
+#
+# last edit-date: [Mon Oct 9 13:18:24 2000]
+#
+# ref: http://hamburg.de/Services/ferien/ferien.htm
+#
+# $Id: holidays.D.SH,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+#---------------------------------------------------------------------------
+1.1 Neujahr
+21.4.2000 Karfreitag
+23.4.2000 Ostersonntag
+24.4.2000 Ostermontag
+1.5 1. Mai
+1.6.2000 Himmelfahrt
+11.6.2000 Pfingstsonntag
+12.6.2000 Pfingstmontag
+3.10 Tag der deutschen Einheit
+25.12 1. Weichnachstfeiertag
+26.12 2. Weichnachstfeiertag
+
+
View
39 share/examples/isdn/isdnd.rates.A
@@ -0,0 +1,39 @@
+#---------------------------------------------------------------------------
+#
+# i4b - PTA Telekom charging rates config file
+# --------------------------------------------
+#
+# $Id: isdnd.rates.A,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# last edit-date: [Mon Dec 13 21:42:02 1999]
+#
+# -mr updated to reflect last Telekom changes as of 1.9.99
+#
+#---------------------------------------------------------------------------
+#
+# reference: http://www.pta.at/
+#
+#---------------------------------------------------------------------------
+#
+# Syntax:
+# -------
+# rate-code: ra0 = Online Tarif
+# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
+# Rate: start_hour.minutes-end_hour.minutes:period in seconds
+#
+#------------------------------------------------------------------------------
+#
+#=================== Online ==================================
+#
+#rate-code Day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra0 0 00.00-24.00:360
+ra0 1 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
+ra0 2 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
+ra0 3 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
+ra0 4 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
+ra0 5 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
+ra0 6 00.00-24.00:360
+#================== EOF ======================================
View
52 share/examples/isdn/isdnd.rates.D
@@ -0,0 +1,52 @@
+#---------------------------------------------------------------------------
+#
+# i4b - Deutsche Telekom charging rates config file
+# -------------------------------------------------
+#
+# $Id: isdnd.rates.D,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# last edit-date: [Mon Dec 13 21:42:13 1999]
+#
+# -hm updated to reflect last Telekom changes as of 1.1.99
+#
+#---------------------------------------------------------------------------
+#
+# reference: http://www.telekom.de/untern/tarife/inland/index.htm
+#
+#---------------------------------------------------------------------------
+#
+# Syntax:
+# -------
+# rate-code: ra0 = City, ra1 = Deutschland
+# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
+# Rate: start_hour.minutes-end_hour.minutes:period in seconds
+#
+#------------------------------------------------------------------------------
+#
+#=================== T-ISDN City =============================================================
+#
+#rate-code Day rate1 rate2 rate3 rate4 rate5
+#--------- --- --------------- --------------- --------------- --------------- ---------------
+ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
+ra0 1 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
+ra0 2 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
+ra0 3 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
+ra0 4 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
+ra0 5 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
+ra0 6 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
+#
+#=================== T-ISDN Deutschland ======================================================
+#
+#rate-code Day rate1 rate2 rate3 rate4 rate5
+#--------- --- --------------- --------------- --------------- --------------- ---------------
+ra1 0 00.00-24.00:60
+ra1 1 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
+ra1 2 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
+ra1 3 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
+ra1 4 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
+ra1 5 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
+ra1 6 00.00-24.00:60
+#
+#================== EOF ======================================================================
View
154 share/examples/isdn/isdnd.rates.F
@@ -0,0 +1,154 @@
+#---------------------------------------------------------------------------
+#
+# i4b - Tarifs France Telecom
+# ---------------------------
+#
+# $Id: isdnd.rates.F,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# last edit-date: [Mon Dec 13 21:42:23 1999]
+#
+# -hm got from Aurelien Bargy <dj@dial.oleane.com>
+#
+#---------------------------------------------------------------------------
+#
+# a jour au 1.10.97
+# Aurelien Bargy - 18.03.97
+#
+# I wrote a rates file for France. It is rather approximative
+# because some time ago France Telecom decided to abandon the charging
+# units system. The problem is, on ISDN lines charging units are still
+# used for the aocd system, even as it gives a completely false price
+# for a communication, so "abandoning" the msg_charging_unit system for
+# French users of i4b is not a good idea :))
+#
+#---------------------------------------------------------------------------
+#
+# Syntax:
+# -------
+# rate-code: ra0 = local ; ra1 = zone 1 ; ra2 = zone 2...
+# plus quelques tarifs internationaux
+# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
+# Rate: start_hour.minutes-end_hour.minutes:period in seconds
+#
+#------------------------------------------------------------------------
+#
+#========================== Communications locales ======================
+#rate-code Day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra0 0 00.00-24.00:317
+ra0 1 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
+ra0 2 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
+ra0 3 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
+ra0 4 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
+ra0 5 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
+ra0 6 00.00-08.00:317 08.00-12.00:158 12.00-24.00:317
+#
+#
+#
+#================== Zone 1 : < 25 km ==================================
+#
+#rate-code Day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra1 0 00.00-24.00:222
+ra1 1 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
+ra1 2 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
+ra1 3 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
+ra1 4 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
+ra1 5 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
+ra1 6 00.00-08.00:222 08.00-12.00:111 12.00-24.00:222
+#
+#
+#
+#================== Zone 2 : 25-30 km =================================
+#
+#rate-code Day rate1 rate2 rate3
+#--------- --- --------------- --------------- --------------
+ra2 0 00.00-24.00:148
+ra2 1 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
+ra2 2 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
+ra2 3 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
+ra2 4 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
+ra2 5 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
+ra2 6 00.00-08.00:148 08.00-12.00:74 12.00-24.00:148
+#
+#=================== Zone 3 : 30-52 km ================================
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra3 0 00.00-24.00:94
+ra3 1 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
+ra3 2 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
+ra3 3 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
+ra3 4 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
+ra3 5 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
+ra3 6 00.00-08.00:94 08.00-12.00:47 12.00-24.00:94
+#
+#
+#=================== Zone 4 : > 52 km =================================
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra4 0 00.00-24.00:78
+ra4 1 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
+ra4 2 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
+ra4 3 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
+ra4 4 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
+ra4 5 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
+ra4 6 00.00-08.00:78 08.00-12.00:39 12.00-24.00:78
+#
+#
+#=================== INTERNATIONAL : Allemagne ========================
+# (pour appeler Hellmuth)
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra5 0 00.00-24.00:27
+ra5 1 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
+ra5 2 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
+ra5 3 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
+ra5 4 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
+ra5 5 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
+ra5 6 00.00-08.00:27 08.00-12.00:21 12.00-24.00:27
+#
+#
+#=================== INTERNATIONAL : Pays-Bas ==========================
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra6 0 00.00-24.00:25
+ra6 1 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
+ra6 2 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
+ra6 3 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
+ra6 4 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
+ra6 5 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
+ra6 6 00.00-08.00:25 08.00-12.00:20 12.00-24.00:25
+#
+#
+#=================== INTERNATIONAL : Portugal ===========================
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra7 0 00.00-24.00:22
+ra7 1 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
+ra7 2 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
+ra7 3 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
+ra7 4 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
+ra7 5 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
+ra7 6 00.00-08.00:22 08.00-12.00:18 12.00-24.00:22
+#
+#
+#=================== INTERNATIONAL : USA/Canada ========================
+#
+#rate-code day rate1 rate2 rate3
+#--------- --- --------------- --------------- ---------------
+ra8 0 00.00-24.00:25
+ra8 1 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
+ra8 2 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
+ra8 3 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
+ra8 4 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
+ra8 5 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
+ra8 6 00.00-24.00:25
+#
+#================== EOF ==============================================
View
45 share/examples/isdn/isdnd.rates.L
@@ -0,0 +1,45 @@
+#---------------------------------------------------------------------------
+#
+# i4b - Luxembourg PT charging rates config file
+# -------------------------------------------------
+#
+# $Id: isdnd.rates.L,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# last edit-date: [Mon Dec 13 21:42:33 1999]
+#
+# Sent in by Joakim Hernberg, Digital Design Luxembourg sarl, jbh@ddl.lu
+#
+#---------------------------------------------------------------------------
+#
+# reference: http://www.pt.lu
+#
+#---------------------------------------------------------------------------
+#
+# Syntax:
+# -------
+# rate-code: ra0 = Luxembourg normal isdn call
+# rate-code: ra1 = Luxembourg PT Internet access
+# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
+# Rate: start_hour.minutes-end_hour.minutes:period in seconds
+#
+#------------------------------------------------------------------------------
+#
+#rate-code Day rate1 rate2 rate3 rate4 rate5
+#--------- --- --------------- --------------- --------------- --------------- ----------------
+ra0 0 00.00-24.00:960
+ra0 1 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
+ra0 2 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
+ra0 3 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
+ra0 4 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
+ra0 5 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
+ra0 6 00.00-06.00:960 06.00-23.00:480 23.00-24.00:960
+
+ra1 0 00.00-24.00:60
+ra1 1 00.00-24.00:60
+ra1 2 00.00-24.00:60
+ra1 3 00.00-24.00:60
+ra1 4 00.00-24.00:60
+ra1 5 00.00-24.00:60
+ra1 6 00.00-24.00:60
View
63 share/examples/isdn/isdnd.rates.UK.BT
@@ -0,0 +1,63 @@
+#---------------------------------------------------------------------------
+#
+# i4b - BT charges
+# -------------------------------------------------
+#
+# $Id: isdnd.rates.UK.BT,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# Barry A. Scott barry@scottb.demon.co.uk
+#
+#---------------------------------------------------------------------------
+#
+# reference: http://www.bt.com/Business/price_frm.htm
+# (I use the bussiness figures as the Ex VAT gives more
+# accurate rate data because BT round the Inc VAT figures)
+#
+#---------------------------------------------------------------------------
+#
+# Syntax:
+# -------
+# rate-code: ra0 = Local, ra1 = Regional, ra2 = National
+# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
+# Rate: start_hour.minutes-end_hour.minutes:period in seconds
+#
+#------------------------------------------------------------------------------
+#
+#=================== Local =========================================================================
+#
+#rate-code Day rate1 rate2 rate1
+#--------- --- --------------- --------------- ---------------
+ra0 0 00.00-24.00:296
+ra0 1 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
+ra0 2 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
+ra0 3 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
+ra0 4 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
+ra0 5 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
+ra0 6 00.00-24.00:296
+#
+#=================== Regional =========================================================================
+#
+#rate-code Day rate1 rate2 rate1
+#--------- --- --------------- --------------- ---------------
+ra1 0 00.00-24.00:100
+ra1 1 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
+ra1 2 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
+ra1 3 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
+ra1 4 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
+ra1 5 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
+ra1 6 00.00-24.00:100
+#
+#=================== National =========================================================================
+#
+#rate-code Day rate1 rate2 rate1
+#--------- --- --------------- --------------- ---------------
+ra2 0 00.00-24.00:100
+ra2 1 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
+ra2 2 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
+ra2 3 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
+ra2 4 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
+ra2 5 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
+ra2 6 00.00-24.00:100
+#================== EOF ============================================================================================================
View
369 share/examples/isdn/isdnd.rc.sample
@@ -0,0 +1,369 @@
+#------------------------------------------------------------------------------
+#
+# example of a configuration file for the isdn daemon
+# ---------------------------------------------------
+#
+# $Id: isdnd.rc.sample,v 1.1.1.1 2001/01/06 13:26:27 martin Exp $
+#
+# $FreeBSD$
+#
+# last edit-date: [Wed Jul 19 09:59:42 2000]
+#
+# NOTICE:
+# =======
+# This configuration file is an EXAMPLE only and MUST be edited
+# carefully to get the desired results!
+#
+# Please read the "isdnd.rc" manual page (execute "man isdnd.rc")
+# for reference !
+#
+#------------------------------------------------------------------------------
+
+#==============================================================================
+# SYSTEM section: isdnd global configuration parameters
+#==============================================================================
+system
+
+# accounting
+# ----------
+
+acctall = on # generate info for everything
+acctfile = /var/log/isdnd.acct # name & location of accounting file
+useacctfile = yes # generate accouting info to file
+
+# monitor
+# -------
+
+monitor-allowed = yes # global switch: monitor on/off
+monitor-port = 451 # default monitor TCP port
+
+# Monitor rights are granted due to the most specific host/net spec, i.e. in
+# the example below host 192.168.1.2 will have the rights specified on that
+# line, even so it belongs to net 192.168.1.0/24 as well.
+#
+# A monitor specification may either be:
+#
+# - the name of a local (UNIX-domain) socket; this MUST start with a "/"
+monitor = "/var/run/isdn-monitor"
+monitor-access = fullcmd
+monitor-access = channelstate, logevents
+monitor-access = callin, callout
+#
+# - a dotted-quad host spec
+monitor = "192.168.1.2"
+monitor-access = restrictedcmd, channelstate, callin, callout
+#
+# - a dotted-quad net spec with "/len" (CIDR-style) netmask spec
+monitor = "192.168.1.0/24"
+monitor-access = restrictedcmd, channelstate, callin, callout
+#
+# - a resolveable host name
+monitor = "rumolt"
+monitor-access = restrictedcmd, channelstate, callin, callout
+#
+# - a resolveable net name with "/len" netmask (s.a.) appended
+monitor = "up-vision-net/24"
+monitor-access = restrictedcmd, channelstate, callin, callout
+
+# ratesfile
+# ---------
+
+ratesfile = /etc/isdn/isdnd.rates # name & location of rates file
+
+# regular expression pattern matching
+# -----------------------------------
+
+#regexpr = "connected.*KTS" # look for matches in log messages
+#regprog = connectKTS # execute program when match is found
+
+# realtime priority section
+# -------------------------
+
+rtprio = 25 # modify isdnd's process priority
+
+#==============================================================================
+# entry section: IP over ISDN example - i call back the remote end
+#==============================================================================
+entry
+
+name = I4BIP # name for reference. This name will
+ # be used in the logfile to identfy
+ # this entry.
+
+ # the network or telephone device
+ # the data traffic should be routed to:
+usrdevicename = ipr # ipr, isp, tel, rbch
+usrdeviceunit = 0 # unit number
+
+ # the ISDN controller number to be
+ # used for this entry:
+isdncontroller = 0 # contoller to use or -1 to use any
+isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
+
+ # incoming only, outgoing only or both:
+direction = inout # in, out, inout
+
+ # numbers used to verify a DIAL IN:
+local-phone-incoming = 321 # this is my number
+remote-phone-incoming = 0123456789 # this one can call in
+
+ # numbers used at DIAL OUT time:
+local-phone-dialout = 321 # this is my number
+remote-phone-dialout = 00123456789 # i call this remote number
+
+ # in case i have several remote
+ # telephone numbers specified, this
+ # is used to specify which one is
+ # used next on dial fail or retry:
+remdial-handling = first # first, last or next
+
+ # what happenes if someone dials in:
+dialin-reaction = callback # accept, reject, ignore, answer, callback
+
+ # normal dialout or do i call back:
+dialout-type = normal # normal / calledback
+
+callbackwait = 1 # no of secs to wait before calling back
+
+ # type of protocol on the B-channel:
+ # hdlc must be specified for IP (the
+ # ipr and isp drivers), raw must be
+ # specified for telephone answering
+b1protocol = hdlc # hdlc, raw
+
+ # shorthold mode and idle time
+ # configuration:
+ratetype = 0 # ratesfile entry to use
+unitlength = 90 # unitlength to assume
+unitlengthsrc = rate # none, rate, cmdl, conf, aocd
+idletime-incoming = 120 # incoming call idle timeout
+idletime-outgoing = 60 # outgoing call idle timeout
+earlyhangup = 5 # time to hangup before an expected
+ # next charging unit will occur
+
+ # retry and recovery parameters
+dialretries = 3 # # of dial retries
+dialrandincr = off # random dial increment time
+recoverytime = 5 # time to wait between 2 dial tries
+usedown = off # set i/f down
+downtries = 5 # retry cycles before set down
+downtime = 30 # time to be in down before going up
+
+connectprog = "ip-up" # run /etc/isdn/ip-up when an interface
+ # has established its network connection.
+ # example parameters are:
+ # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14
+disconnectprog = "ip-down" # like connectprog, but run after the connection
+ # is closed (ISDN layer down). The actual
+ # interface address might not be known
+ # any more. example parameters are:
+ # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0
+
+#==============================================================================
+# entry section: IP over ISDN example - i am called back by the remote end
+#==============================================================================
+entry
+
+name = I4BIP1 # name for reference
+
+usrdevicename = ipr # ipr, tel, rbch
+usrdeviceunit = 1 # unit number
+
+isdncontroller = 0 # contoller to use or -1 to use any
+isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
+
+ # numbers used to DIAL OUT
+remote-phone-dialout = 00401234567 # remote number to dial
+local-phone-dialout = 38 # our number to tell remote
+
+ # numbers used to verify at DIAL IN
+local-phone-incoming = 38 # we take calls for this local number
+remote-phone-incoming = 00401234567 # we take calls from this remote machine
+
+b1protocol = hdlc # hdlc, raw
+
+ratetype = 0 # city
+unitlength = 90 # default unit length
+earlyhangup = 5 # safety zone
+unitlengthsrc = aocd # none, rate, cmdl, conf, aocd
+
+dialin-reaction = accept # accept, reject, ignore, anwer, callback
+
+dialout-type = calledback # normal or calledback
+
+dialretries = 3
+recoverytime = 3
+calledbackwait = 20
+dialrandincr = off
+
+usedown = off
+downtries = 2
+downtime = 30
+
+idletime-incoming = 300
+idletime-outgoing = 30
+
+#==============================================================================
+# entry section: answering machine example
+#==============================================================================
+entry
+
+name = I4BTEL # name for reference
+usrdevicename = tel # ipr, tel, rbch
+usrdeviceunit = 0 # unit number
+
+isdncontroller = 0 # contoller to use or -1 to use any
+isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
+
+ # numbers used to verify at DIAL IN
+local-phone-incoming = 456 # this is my number
+remote-phone-incoming = * # anyone can call in
+
+dialin-reaction = answer # accept, reject, ignore, answer
+
+answerprog = answer # program to run
+
+b1protocol = raw # hdlc, raw
+
+idletime-incoming = 5 # 5 seconds idle timeout
+
+#=======================================================================
+# entry section: sync PPP example using the isp device
+#======================================================================
+entry
+
+name = I4BPPP # name for reference
+
+usrdevicename = isp # ipr, tel, rbch
+usrdeviceunit = 0 # unit number
+
+isdncontroller = 0 # controller to use or -1 to use any
+isdnchannel = -1 # channel to use or -1 to use any
+
+ # numbers used to verify at DIAL IN
+local-phone-incoming = 1234 # we take calls for this local number
+remote-phone-incoming = 5678 # we take calls from this remote machine
+
+ # numbers used to DIAL OUT
+remote-phone-dialout = 5678 # remote number to dial
+local-phone-dialout = 1234 # our number to tell remote
+
+ # used next on dial fail or retry:
+remdial-handling = first # first, last or next
+
+ # what happenes if someone dials in:
+dialin-reaction = accept # accept, reject, ignore, answer, callback
+
+ # normal dialout or do i call back:
+dialout-type = normal # normal / calledback
+
+ # type of protocol on the B-channel:
+ # hdlc must be specified for IP (the
+ # ipr and isp drivers), raw must be
+ # specified for telephone answering
+
+ppp-expect-auth = chap # authentication method used by the
+ # remote side to prove its identity,
+ # one of: none, pap or chap
+
+ppp-expect-name = LetMeIn # name sent in pap or chap message
+ppp-expect-password = Geheim # password that must be sent by the
+ # remote side
+
+ppp-send-auth = chap # authentication method that we have
+ # to use to be accepted by the remote
+ # side, one of: none, pap or chap
+
+ppp-send-name = ItsMe # our PPP login name at the remote site
+ppp-send-password = WhoKnows # the password the remote side expects
+ # us to send
+
+ppp-auth-paranoid = yes # do we expect the remote side to prove
+ # its identity even if we dial out
+
+ppp-auth-rechallenge = yes # chap only: rechallenge once in a while
+
+b1protocol = hdlc # hdlc, raw
+
+idletime-incoming = 240 # incoming call idle timeout
+idletime-outgoing = 30 # outgoing call idle timeout
+
+ratetype = 0 # city rate
+unitlength = 90 # default unit length
+unitlengthsrc = rate # none, rate, cmdl, conf, aocd
+
+dialretries = 3 # no of retries
+dialrandincr = on # increase time between dials
+recoverytime = 25 # wait between dails
+
+usedown = off # do not use soft up/down
+downtries = 2
+downtime = 30
+
+#==============================================================================
+# example of a configuration file for the isdn daemon and userland ppp.
+# (see the ppp setup examples in i4b's user-ppp dir and FAQ item 22 !)
+#==============================================================================
+entry
+name = userppp0 # name of entry
+usrdevicename = rbch # use the raw b channel access device
+usrdeviceunit = 0 # unit 0
+
+isdncontroller = 0 # use isdn controller 0
+isdnchannel = -1 # use any channel on this controller
+
+local-phone-incoming = 01494723626
+remote-phone-incoming = *
+local-phone-dialout = 01494723626
+remote-phone-dialout = 01494723626 # ppp(8) will override this
+
+remdial-handling = first
+dialin-reaction = ignore # no dialins allowed
+
+dialout-type = normal
+
+b1protocol = hdlc # b channel layer 1 protocol
+
+idletime-incoming = 900 # Should be larger than ppps timeout
+idletime-outgoing = 900 # Should be larger than ppps timeout
+
+ratetype = 0
+unitlength = 90
+unitlengthsrc = rate
+
+dialretries = 1
+dialrandincr = on
+recoverytime = 25
+
+usedown = off
+downtries = 2
+downtime = 30
+
+entry
+name = userppp1
+usrdevicename = rbch
+usrdeviceunit = 1
+isdncontroller = 0
+isdnchannel = -1
+local-phone-incoming = 01494723626
+remote-phone-incoming = *
+local-phone-dialout = 01494723626
+remote-phone-dialout = 01494723626 # ppp(8) will override this
+remdial-handling = first
+dialin-reaction = accept
+dialout-type = normal
+b1protocol = hdlc
+idletime-incoming = 900 # Should be larger than ppps timeout
+idletime-outgoing = 900 # Should be larger than ppps timeout
+ratetype = 0
+unitlength = 90
+unitlengthsrc = rate
+dialretries = 1
+dialrandincr = on
+recoverytime = 25
+usedown = off
+downtries = 2
+downtime = 30
+
+# EOF #########################################################################
+
Please sign in to comment.
Something went wrong with that request. Please try again.