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
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
27 # Use "alaw" (default) or "ulaw" samples.
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.
38 # Use tone sets (default= tones_american).
39 # This can be overridden by the extension setting
40 #tones_dir tones_american
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
50 # Extensions directory where all configuration files and messages for all
51 # extensions are stored (default= extensions).
52 #extensions_dir extensions
54 # Prefix to dial national call (default= 0).
55 # If you omit the prefix, all subscriber numbers are national numbers.
59 # Prefix to dial international call (default= 00).
60 # If you omit the prefix, all subscriber numbers are international numbers.
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.
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.)
77 # Specify the H323 endpoint name. If omitted the hostname is used.
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
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.
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
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.
124 # Specify the port to listen on incoming H323 connections.
125 # The default value is 1720.
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.
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...)
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.
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
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).
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.