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