e63935000a3bc2f93d5e46e799ec36795ec5d889
[lcr.git] / default / options.conf
1 # PBX options
2 #############
3
4 # Turn debugging all on=0xffff or off=0x0000 (default= 0x0000)
5 #define DEBUG_CONFIG    0x0001
6 #define DEBUG_MSG       0x0002
7 #define DEBUG_STACK     0x0004
8 #define DEBUG_BCHANNEL  0x0008
9 #define DEBUG_PORT      0x0100
10 #define DEBUG_ISDN      0x0110
11 #define DEBUG_H323      0x0120 
12 #define DEBUG_VBOX      0x0180
13 #define DEBUG_EPOINT    0x0200
14 #define DEBUG_CALL      0x0400
15 #define DEBUG_CRYPT     0x1000
16 #define DEBUG_ROUTE     0x2000
17 #define DEBUG_IDLETIME  0x4000
18 #define DEBUG_LOG       0x7fff
19
20 #debug 0x0000
21
22 # The log file can be used to track actions by the PBX. Omit the parameter
23 # to turn off log file. By default, log file is located inside the directory
24 # "/usr/local/pbx/log".
25 #log /usr/local/pbx/log
26
27 # Use "alaw" (default) or "ulaw" samples.
28 #alaw
29
30 # The pbx should run as real time process. Because audio is streamed and
31 # ISDN protocol requires a certain response time, we must have high priority.
32 # By default, the process runs with realtime scheduling and high priority.
33 # To debug, it is whise to use "schedule" with no parameter to turn off
34 # realtime scheduling. In case of an endless loop bug, PBX4Linux will take
35 # all CPU time forever - your machine hangs.
36 #schedule 0
37
38 # Use tone sets (default= tones_american).
39 # This can be overridden by the extension setting
40 #tones_dir tones_american
41
42 # Fetch tone sets as specified here.
43 # The tone sets will be loaded during startup, and no harddisk access is
44 # required. Specify all tone sets seperated by komma.
45 # By default, no tone is fetched. Tone sets, that are not specified here, will
46 # be streamed from hard disk.
47 # Don't use spaces to seperate!
48 #fetch_tones tones_american,tones_german,vbox_english,vbox_german
49
50 # Extensions directory where all configuration files and messages for all
51 # extensions are stored (default= extensions).
52 #extensions_dir extensions
53
54 # Prefix to dial national call (default= 0).
55 # If you omit the prefix, all subscriber numbers are national numbers.
56 # (example: Danmark)
57 #national 0
58
59 # Prefix to dial international call (default= 00).
60 # If you omit the prefix, all subscriber numbers are international numbers.
61 #international 00
62
63 # On external calls, dialing can be done via normal called party number
64 # information element or via keypad facility. Some telephone systems require
65 # dialing via keypad to enable/disable special functions.
66 # By default keypad facility is disabled.
67 #keypad
68
69 # Internal/external ports (cards connected to your isdn line)
70 # MUST be the card number. Use "./pbx query" to list.
71 # Add "ptp" for using internal port as point-to-point. (Only required for NT mode ports.)
72 # Example: port 2
73 #          port 3 ptp
74 port 2
75 port 3
76
77 # Specify the H323 endpoint name. If omitted the hostname is used.
78 #h323_name PBX4Linux
79
80 # Incoming H323 calls can be connected prior answer, because some clients will
81 # not play any inband tones during ringing, they just wait as nothing would
82 # happen.
83 # This only works for external calls. If a H323 caller is authenticated via
84 # h323_gateway.conf, a special "connect" option may be used to connect as
85 # soon as the call is received.
86 # By default this feature is turned off.
87 #h323_ringconnect
88
89 # Specify which codecs may be used for H323 calls
90 # "h323_law"    ALaw and muLaw codec which requre more than 64k internet
91 #               connection cause by overhead. The parameter defines the frame
92 #               size. The size range is 10 - 240.
93 # "h323_g726"   The adpcm codec G726. The parameter defines the bits per sample.
94 #               The bits must be 2, 3, 4, or 5. (16, 24, 32, 40 kbits/s) 
95 #               The given value will always include all modes with lower value.
96 # "h323_gsm"    GSM0610 and MicrosoftGSM codecs (not compatible with netmeeting)
97 #               The prameter defines the frame size. The frame range is 1 - 7.
98 # "h323_lpc10"  Codec with very low bandwith usage which can even be used on
99 #               slow internetconnections like 9600 kBit (about 300 bytes/s)
100 # "h323_speex"  Non standard Speex codec. The parameter defines the mode.
101 #               The mode range is 2 - 6.
102 #               The given value will always include all modes with lower value.
103 # "h323_xspeex" Non standard XiphSpeex codec. The parameter defines the mode.
104 #               The mode range is 2 - 6.
105 #               The given value will always include all modes with lower value.
106 # The priority of the codecs to use is given by it's order.
107 # By default, no codec is used
108 h323_gsm 4
109 h323_g726 2
110 #h323_lpc10
111 #h323_speex 4
112 #h323_xspeex 4
113 h323_law 64
114
115 # To allow incoming calls via H323, the following option is used:
116 # "h323_icall [<prefix>]"
117 # The given prefix is used for incoming calls which do not send any dialing
118 # information. If you like to route calls to an extension, give extension
119 # dialing as specified at numbering_ext.conf.
120 # By default no calls are accepted.
121 # Omit the prefix and it must be dialed by the caller.
122 h323_icall 0
123
124 # Specify the port to listen on incoming H323 connections.
125 # The default value is 1720.
126 #h323_port 1720
127
128 # To register with a gatekeeper, the following option is used:
129 # "h323_gatekeeper [<host or ip>]
130 # If no parameter is given, the gatekeeper is searched automatically.
131 #h323_gatekeeper
132
133 # To use dtmf detection for call from or to ISDN, uncomment the keyword "dtmf".
134 # By default dtmf detection is used. Note that dtmf detection needs cpu time.
135 # Dtmf detection is essential when handling the call after connect using
136 # keypad. (conferrence, callback, ect...)
137 #nodtmf
138
139 # For calls to external where caller id is not available, this id is used.
140 # It is sent of type "subscriber number". This ID is only usefull if the
141 # external line will not screen caller id. It will be sent anonymous.
142 # If you don't know what to use it for, you don't need it.
143 # Default is nothing.
144 #dummyid 0
145
146 # If your external ISDN line(s) support inband patterns prior call connect,
147 # you may say 'yes' here. In this case the PBX's tones are used for incoming
148 # calls. This may require a special subscription because it can be abused
149 # to transfer audio prior charge of call
150 #inbandpattern no
151
152 # Tones/announcements are streamed from user space. It is possible to use
153 # the module "mISDN_dsp.o" instead. It provides simple tones with much less cpu
154 # usage. If supported by special hardware, tones are loops that require no
155 # bus/cpu load at all, except when the tone changes.
156 # This works only for ISDN ports. It can be overridden by extension's tone set.
157 # Defautlt is streaming of tones. Use parameter "american", "german", or
158 # "oldgerman". "oldgerman" sounds like the old german telephone system (POTS).
159 #dsptones none
160
161 # Source email address of the PBX. E.g. it is used when sending a mail
162 # from the voice box. It is not the address the mails are sent to.
163 # Most mail servers require an existing domain in order to accept mails.
164 #email pbx@jolly.de
165