X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=default%2Foptions.conf;h=6e5ba13fbdb2f9dac26035354b1fa56c3089390e;hp=6c84d979f4aa2c88d1f71fcc7580b9c109f936bb;hb=5463e1b62a39ce417b610584e3d34a8bc30ac15e;hpb=0a0643e3a561de5f34927ea80c2bd0ce6405fd3c diff --git a/default/options.conf b/default/options.conf index 6c84d97..6e5ba13 100644 --- a/default/options.conf +++ b/default/options.conf @@ -11,13 +11,16 @@ #define DEBUG_BCHANNEL 0x0008 #define DEBUG_PORT 0x0100 #define DEBUG_ISDN 0x0110 +#define DEBUG_GSM 0x0120 +#define DEBUG_SS5 0x0140 #define DEBUG_VBOX 0x0180 +#define DEBUG_SIP 0x10000 #define DEBUG_EPOINT 0x0200 -#define DEBUG_CALL 0x0400 +#define DEBUG_JOIN 0x0400 #define DEBUG_CRYPT 0x1000 #define DEBUG_ROUTE 0x2000 #define DEBUG_IDLETIME 0x4000 -#define DEBUG_LOG 0x7fff +#define DEBUG_LOG 0x7fffff #debug 0x0000 @@ -38,7 +41,14 @@ #schedule 0 # Use tone sets (default= tones_american). -# This can be overridden by the extension setting +# Tones/announcements are streamed from user space. It is possible to use +# the module "mISDN_dsp.o" instead. It provides simple tones with much less cpu +# usage. If supported by special hardware, tones are loops that require no +# bus/cpu load at all, except when the tone changes. +# Use parameter "american", "german", or "oldgerman". "oldgerman" sounds like +# the old german telephone system used until end of year 1998. +# This can be overridden by the the tones_dir in the interface.conf. +# Both options.conf and interface.conf can be overridden by extension setting. #tones_dir tones_american # Fetch tone sets as specified here. @@ -49,10 +59,6 @@ # Don't use spaces to seperate! #fetch_tones tones_american,tones_german,vbox_english,vbox_german -# Extensions directory where all configuration files and messages for all -# extensions are stored (default= extensions). -#extensions_dir extensions - # Prefix to dial national call (default= 0). # If you omit the prefix, all subscriber numbers are national numbers. # (example: Danmark) @@ -75,17 +81,40 @@ # Default is nothing. #dummyid 0 -# Tones/announcements are streamed from user space. It is possible to use -# the module "mISDN_dsp.o" instead. It provides simple tones with much less cpu -# usage. If supported by special hardware, tones are loops that require no -# bus/cpu load at all, except when the tone changes. -# This works only for ISDN ports. It can be overridden by extension's tone set. -# Defautlt is streaming of tones. Use parameter "american", "german", or -# "oldgerman". "oldgerman" sounds like the old german telephone system (POTS). -#dsptones none - # Source email address of the LCR. E.g. it is used when sending a mail # from the voice box. It is not the address the mails are sent to. # Most mail servers require an existing domain in order to accept mails. #email lcr@your.domain +# Directory to write lock file and admin socket file to. +# If /var/run does not have the rights to run LCR, you may choose /var/tmp +# or any directory with the appropiet rights LCR runs with. +#lock /var/run + +# Change rights of LCR socket, where lcradmin or chan_lcr connects to. +# By default 700 (user only) rights are set. If Asterisk runs with a different +# user, the rights may be changed to all users (777). +# Rights must have 0 in front, if octal values above are used. +#socketrights 0700 + +# Change user of LCR socket, where lcradmin or chan_lcr connects to. +# So: change to asterisk, if you have asterisk run as user "asterisk" e.g. +#socketuser asterisk + +# Change group of LCR socket, where lcradmin or chan_lcr connects to. +# So: change to asterisk, if you have asterisk run in group "asterisk" e.g. +#socketgroup asterisk + +# Enable polling in main loop. +# This feature is temporarily for test purpose. Don't enable it +#polling + +# Two Loopback interfaces for audio transfer between GSM/Asterisk and mISDN. +# The first interface must provide B-channels for each GSM call or channel +# instance, the seond interface links them to LCR. +# Use 30 B-channels unless you need more due to more instances. +# -> Load with: "modprobe mISDN_l1loop pri=1 nchannel=30" +# By default "mISDN_l1loop.1" and "mISDN_l1loop.2" is used. +#loopback-ext mISDN_l1loop.1 +#loopback-lcr mISDN_l1loop.2 +