fixup
[lcr.git] / default / options.conf
1 # LCR options
2 #############
3
4 # Turn debugging all on=0xffff or off=0x0000 (default= 0x0000)
5 # Note that debugging is for developer only. If you wan't to 'see the LCR
6 # working', you will find a logging feature below. Also detailed traces
7 # are possible using the admin tool.
8 #define DEBUG_CONFIG    0x0001
9 #define DEBUG_MSG       0x0002
10 #define DEBUG_STACK     0x0004
11 #define DEBUG_BCHANNEL  0x0008
12 #define DEBUG_PORT      0x0100
13 #define DEBUG_ISDN      0x0110
14 #define DEBUG_GSM       0x0120
15 #define DEBUG_SS5       0x0140
16 #define DEBUG_VBOX      0x0180
17 #define DEBUG_SIP       0x10000
18 #define DEBUG_EPOINT    0x0200
19 #define DEBUG_JOIN      0x0400
20 #define DEBUG_CRYPT     0x1000
21 #define DEBUG_ROUTE     0x2000
22 #define DEBUG_IDLETIME  0x4000
23 #define DEBUG_LOG       0x7fffff
24
25 #debug 0x0000
26
27 # The log file can be used to track actions by the LCR. Omit the parameter
28 # to turn off log file. By default, log file is located inside the directory
29 # "/usr/local/lcr/log".
30 #log /usr/local/lcr/log
31
32 # Use "alaw" (default) or "ulaw" samples.
33 #alaw
34
35 # The LCR should run as real time process. Because audio is streamed and
36 # ISDN protocol requires a certain response time, we must have high priority.
37 # By default, the process runs an normal priority, lika most processes do.
38 # To debug, it is whise to use "schedule" with no parameter to turn off
39 # realtime scheduling. In case of an endless loop bug, LCR will take
40 # all CPU time forever - your machine hangs.
41 #schedule 0
42
43 # Use tone sets (default= tones_american).
44 # Tones/announcements are streamed from user space. It is possible to use
45 # the module "mISDN_dsp.o" instead. It provides simple tones with much less cpu
46 # usage. If supported by special hardware, tones are loops that require no
47 # bus/cpu load at all, except when the tone changes.
48 # Use parameter "american", "german", or "oldgerman". "oldgerman" sounds like
49 # the old german telephone system used until end of year 1998.
50 # This can be overridden by the the tones_dir in the interface.conf.
51 # Both options.conf and interface.conf can be overridden by extension setting.
52 #tones_dir tones_american
53
54 # Fetch tone sets as specified here.
55 # The tone sets will be loaded during startup, and no harddisk access is
56 # required. Specify all tone sets seperated by komma.
57 # By default, no tone is fetched. Tone sets, that are not specified here, will
58 # be streamed from hard disk.
59 # Don't use spaces to seperate!
60 #fetch_tones tones_american,tones_german,vbox_english,vbox_german
61
62 # Prefix to dial national call (default= 0).
63 # If you omit the prefix, all subscriber numbers are national numbers.
64 # (example: Danmark)
65 #national 0
66
67 # Prefix to dial international call (default= 00).
68 # If you omit the prefix, all subscriber numbers are international numbers.
69 #international 00
70
71 # On external calls, dialing can be done via normal called party number
72 # information element or via keypad facility. Some telephone systems require
73 # dialing via keypad to enable/disable special functions.
74 # By default keypad facility is disabled.
75 #keypad
76
77 # For calls to external where caller id is not available, this id is used.
78 # It is sent of type "subscriber number". This ID is only usefull if the
79 # external line will not screen caller id. It will be sent anonymous.
80 # If you don't know what to use it for, you don't need it.
81 # Default is nothing.
82 #dummyid 0
83
84 # Source email address of the LCR. E.g. it is used when sending a mail
85 # from the voice box. It is not the address the mails are sent to.
86 # Most mail servers require an existing domain in order to accept mails.
87 #email lcr@your.domain
88
89 # Directory to write lock file and admin socket file to.
90 # If /var/run does not have the rights to run LCR, you may choose /var/tmp
91 # or any directory with the appropiet rights LCR runs with.
92 #lock /var/run
93
94 # Change rights of LCR socket, where lcradmin or chan_lcr connects to.
95 # By default 700 (user only) rights are set. If Asterisk runs with a different
96 # user, the rights may be changed to all users (777).
97 # Rights must have 0 in front, if octal values above are used.
98 #socketrights 0700
99
100 # Change user of LCR socket, where lcradmin or chan_lcr connects to.
101 # So: change to asterisk, if you have asterisk run as user "asterisk" e.g.
102 #socketuser asterisk
103
104 # Change group of LCR socket, where lcradmin or chan_lcr connects to.
105 # So: change to asterisk, if you have asterisk run in group "asterisk" e.g.
106 #socketgroup asterisk
107
108 # Enable polling in main loop.
109 # This feature is temporarily for test purpose. Don't enable it
110 #polling
111
112 # Define OTP directory and identity
113 #otp-dir /root/
114 #otp-ident myname
115