1 #------------------------------------------------------------------------------
3 # sample isdnd.rc for taking incoming calls with userland ppp
4 # -----------------------------------------------------------
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 $
9 # last edit-date: [Sat Jul 21 13:40:50 2001]
11 #------------------------------------------------------------------------------
12 #==============================================================================
13 # SYSTEM section: global configuration parameters
14 #==============================================================================
17 ratesfile = /etc/isdn/isdnd.rates # name & location of rates file
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
23 rtprio = 25 # modify isdnd's priority
25 regexpr = "ULPPP.*call active" # look for matches in log messages
26 regprog = i4brunppp # execute program when match is found
28 #==============================================================================
29 # ENTRY: Userland PPP over ISDN
30 #==============================================================================
33 name = ULPPP # name for reference
35 usrdevicename = rbch # ipr, tel, rbch
36 usrdeviceunit = 0 # unit number
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
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
45 # numbers used to DIAL OUT
46 local-phone-dialout = 567 # this is my number
47 remote-phone-dialout = 123 # i call this number
49 remdial-handling = first # first, last or next
51 dialin-reaction = accept # accept, reject, ignore, answer
53 dialout-type = normal # normal / calledback
55 b1protocol = hdlc # hdlc, raw
57 idletime-incoming = 30 # 3 seconds idle timeout
58 idletime-outgoing = 30 # 3 seconds idle timeout
60 ratetype = 0 # ratesfile entry to use
61 unitlength = 60 # unitlength to assume
63 dialretries = 2 # # of dial retries
64 recoverytime = 5 # time to wait between 2 dial tries
66 # EOF #########################################################################