Merge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr
[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       0x0130
16 #define DEBUG_VBOX      0x0180
17 #define DEBUG_EPOINT    0x0200
18 #define DEBUG_JOIN      0x0400
19 #define DEBUG_CRYPT     0x1000
20 #define DEBUG_ROUTE     0x2000
21 #define DEBUG_IDLETIME  0x4000
22 #define DEBUG_LOG       0x7fff
23
24 #debug 0x0000
25
26 # The log file can be used to track actions by the LCR. Omit the parameter
27 # to turn off log file. By default, log file is located inside the directory
28 # "/usr/local/lcr/log".
29 #log /usr/local/lcr/log
30
31 # Use "alaw" (default) or "ulaw" samples.
32 #alaw
33
34 # The LCR should run as real time process. Because audio is streamed and
35 # ISDN protocol requires a certain response time, we must have high priority.
36 # By default, the process runs an normal priority, lika most processes do.
37 # To debug, it is whise to use "schedule" with no parameter to turn off
38 # realtime scheduling. In case of an endless loop bug, LCR will take
39 # all CPU time forever - your machine hangs.
40 #schedule 0
41
42 # Use tone sets (default= tones_american).
43 # Tones/announcements are streamed from user space. It is possible to use
44 # the module "mISDN_dsp.o" instead. It provides simple tones with much less cpu
45 # usage. If supported by special hardware, tones are loops that require no
46 # bus/cpu load at all, except when the tone changes.
47 # Use parameter "american", "german", or "oldgerman". "oldgerman" sounds like
48 # the old german telephone system used until end of year 1998.
49 # This can be overridden by the the tones_dir in the interface.conf.
50 # Both options.conf and interface.conf can be overridden by extension setting.
51 #tones_dir tones_american
52
53 # Fetch tone sets as specified here.
54 # The tone sets will be loaded during startup, and no harddisk access is
55 # required. Specify all tone sets seperated by komma.
56 # By default, no tone is fetched. Tone sets, that are not specified here, will
57 # be streamed from hard disk.
58 # Don't use spaces to seperate!
59 #fetch_tones tones_american,tones_german,vbox_english,vbox_german
60
61 # Prefix to dial national call (default= 0).
62 # If you omit the prefix, all subscriber numbers are national numbers.
63 # (example: Danmark)
64 #national 0
65
66 # Prefix to dial international call (default= 00).
67 # If you omit the prefix, all subscriber numbers are international numbers.
68 #international 00
69
70 # On external calls, dialing can be done via normal called party number
71 # information element or via keypad facility. Some telephone systems require
72 # dialing via keypad to enable/disable special functions.
73 # By default keypad facility is disabled.
74 #keypad
75
76 # For calls to external where caller id is not available, this id is used.
77 # It is sent of type "subscriber number". This ID is only usefull if the
78 # external line will not screen caller id. It will be sent anonymous.
79 # If you don't know what to use it for, you don't need it.
80 # Default is nothing.
81 #dummyid 0
82
83 # Source email address of the LCR. E.g. it is used when sending a mail
84 # from the voice box. It is not the address the mails are sent to.
85 # Most mail servers require an existing domain in order to accept mails.
86 #email lcr@your.domain
87
88 # Directory to write lock file and admin socket file to.
89 # If /var/run does not have the rights to run LCR, you may choose /var/tmp
90 # or any directory with the appropiet rights LCR runs with.
91 #lock /var/run
92
93 # Change rights of LCR socket, where lcradmin or chan_lcr connects to.
94 # By default 700 (user only) rights are set. If Asterisk runs with a different
95 # user, the rights may be changed to all users (777).
96 # Rights must have 0 in front, if octal values above are used.
97 #socketrights 0700
98
99 # Change user of LCR socket, where lcradmin or chan_lcr connects to.
100 # So: change to asterisk, if you have asterisk run as user "asterisk" e.g.
101 #socketuser asterisk
102
103 # Change group of LCR socket, where lcradmin or chan_lcr connects to.
104 # So: change to asterisk, if you have asterisk run in group "asterisk" e.g.
105 #socketgroup asterisk
106
107 # Enable GSM network capability.
108 # This option turns LCR into a GSM network. Additional options are specified
109 # in 'gsm.conf'. You also need openbsc at compile time and of yourse -
110 # a base station transceiver. For more refer to LCR home page.
111 #
112 # !!! DANGER !!!
113 # Running a GSM network may disturb other networks and may be prossecuted by
114 # law of your country.
115 # Running a GSM network may prevent mobile users from making EMERGENCY CALLS.
116 # Be sure to allow emergency calls to be routed to emergency facilities.
117 #
118 #gsm
119