Initial import from FreeBSD RELENG_4:
[dragonfly.git] / share / examples / isdn / i4brunppp / i4brunppp-isdnd.rc
1 #------------------------------------------------------------------------------
2 #
3 #    sample isdnd.rc for taking incoming calls with userland ppp
4 #    -----------------------------------------------------------
5 #
6 # $FreeBSD: src/share/examples/isdn/i4brunppp/i4brunppp-isdnd.rc,v 1.1.2.1 2001/08/12 01:57:09 obrien Exp $
7 #
8 #    last edit-date: [Sat Jul 21 13:40:50 2001]
9 #
10 #------------------------------------------------------------------------------
11 #==============================================================================
12 # SYSTEM section: global configuration parameters
13 #==============================================================================
14 system
15
16 ratesfile       = /etc/isdn/isdnd.rates # name & location of rates file
17
18 useacctfile     = yes                   # generate accouting info to file
19 acctall         = on                    # generate info for everything
20 acctfile        = /var/log/isdnd.acct   # name & location of accounting file
21
22 rtprio          = 25                    # modify isdnd's priority
23
24 regexpr = "ULPPP.*call active"          # look for matches in log messages
25 regprog = i4brunppp                     # execute program when match is found
26
27 #==============================================================================
28 # ENTRY: Userland PPP over ISDN
29 #==============================================================================
30 entry                           
31                                 
32 name                    = ULPPP         # name for reference
33                                 
34 usrdevicename           = rbch          # ipr, tel, rbch
35 usrdeviceunit           = 0             # unit number
36                                 
37 isdncontroller          = 0             # contoller to use or -1 to use any
38 isdnchannel             = -1            # channel (1/2) to use or 0 or -1 for any
39
40                                         # numbers used to verify at DIAL IN
41 local-phone-incoming    = 567           # this is my number
42 remote-phone-incoming   = 123           # this one can call in
43
44                                         # numbers used to DIAL OUT
45 local-phone-dialout     = 567           # this is my number
46 remote-phone-dialout    = 123           # i call this number
47
48 remdial-handling        = first         # first, last or next
49                                 
50 dialin-reaction         = accept        # accept, reject, ignore, answer
51
52 dialout-type            = normal        # normal / calledback
53
54 b1protocol              = hdlc          # hdlc, raw
55
56 idletime-incoming       = 30            # 3 seconds idle timeout
57 idletime-outgoing       = 30            # 3 seconds idle timeout
58
59 ratetype                = 0             # ratesfile entry to use
60 unitlength              = 60            # unitlength to assume
61
62 dialretries             = 2             # # of dial retries
63 recoverytime            = 5             # time to wait between 2 dial tries
64
65 # EOF #########################################################################