"Fossies" - the Fresh Open Source Software Archive

Member "bayonne-1.2.16/server/bayonne.conf" (27 May 2006, 23894 Bytes) of package /linux/misc/old/bayonne-1.2.16.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Copyright (C) 2000-2001 Open Source Telecom Corporation.
    2 #
    3 # This file is free software; as a special exception the author gives
    4 # unlimited permission to copy and/or distribute it, with or without
    5 # modifications, as long as this notice is preserved.
    6 #
    7 # This program is distributed in the hope that it will be useful, but
    8 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
    9 #
   10 # The single most important piece of data to configure for Bayonne is
   11 # the "plugin" interface.  Plugins control what modules are loaded
   12 # with the server.
   13 #
   14 [plugins]
   15 ; Specify the telephony driver plugin to use (phonedev, pika, dummy).
   16 ; only one driver may be selected.  Plugins can only be specified
   17 ; in the "global" bayonne.conf since they are not relocatable.
   18 driver = phonedev
   19 
   20 ; Specify an optional Bayonne "switch integration module".
   21 ; switch = smdi
   22 
   23 ; Specify an auditing module to record cdr logs, call statistics, and
   24 ; other audited events.
   25 auditing = append
   26 
   27 ; specify resident tgi interpreters.  otherwise they are auto-loaded.
   28 ;tgi = perl
   29 
   30 ; specify protocol modules and other server extensions.
   31 ;modules = vpim
   32 
   33 ; specify monitoring modules.
   34 ;monitors = tcpmon
   35 
   36 ; specify audio feed modules to load.
   37 ;feeds = soundcard 
   38 
   39 ; specify ccScript modules to pre-load.
   40 preload = file digits
   41 
   42 ; An optional debugging module.
   43 ;debug = trace
   44 
   45 ; An optional XML dialect parser.
   46 ;xml = callxml
   47 
   48 ; specify one or more optional dso network management interfaces.
   49 ;managers = 
   50 
   51 ; specify status monitoring interface.
   52 ;statmon = udpstat
   53 
   54 ; Specify tts rule module(s) to load.  One or more language rules
   55 ; may be installed.
   56 languages = english
   57 
   58 ; Specify default map entries to load.
   59 ;maps = names...
   60 
   61 ; Enable flite tts system
   62 ;tts = flite
   63 
   64 ; Enable a SQL driver!
   65 ;sql = postgres
   66 
   67 # This entry tells Bayonne where it's various components are to be found.
   68 #
   69 [paths]
   70 ; base tmpfs prefix
   71 tmpfs=/dev/shm
   72 
   73 ; base lib directory for DSO modules.
   74 libpath=/usr/local/lib/bayonne
   75 
   76 ; tgi default file search path
   77 tgipath=/usr/local/libexec/bayonne:/bin:/usr/bin:/sbin:/usr/sbin
   78 
   79 ; Base directory for tgi and bayonne loadable modules.  TGI modules are
   80 ; found in libexec/tgi, and bayonne loadable modules in libexec/bayonne.
   81 libexec=/usr/local/libexec/bayonne
   82 
   83 ; Location of newly recorded prompts and changable storage.
   84 datafiles=/var/lib/bayonne
   85 
   86 ; Installed location of bayonne scripts
   87 scripts=/usr/local/share/bayonne
   88 
   89 ; Optional application specific script directory to merge in
   90 altscripts=/home/bayonne
   91 
   92 ; installed base directory of language/voice specific prompt libraries
   93 prompts=/usr/local/share/bayonne
   94 
   95 ; optional alternate directory for application specific prompt libraries...
   96 altprompts=/home/bayonne
   97 
   98 ; running directory for locks, etc.
   99 runfiles=/var/run/bayonne
  100 
  101 ; cache directory to be used later
  102 cache=/var/cache/bayonne
  103 
  104 ; spool directory
  105 spool=/var/spool/bayonne
  106 
  107 ; base directory for argv0 "wrapper"'s, such as web/bayonne cross-bridges,
  108 ; etc.
  109 wrappers=/usr/local/share/aawrappers
  110 
  111 ; drop location for generating a php or perl config file.
  112 php=/var/www/inc/bayonne.inc
  113 
  114 ; set for embedded documents, set to "embed=" for no embedding
  115 embed=php
  116 
  117 ; path for sox for audio conversion
  118 sox=/usr/local/bin/sox
  119 
  120 ; path for written log files
  121 logpath=/var/log/bayonne
  122 
  123 # Define mapping between voices and translator language modules.
  124 [voices]
  125 UsEngM = english
  126 UsEngF = english
  127 ; ... etc ...
  128 
  129 # The import key is used to select fast-loading import modules for
  130 # embedded tgi languages.  This can further improve system startup times
  131 # when used correctly.
  132 [imports]
  133 ; Perl modules to autoload for all instances
  134 perl=
  135 
  136 ; Python modules to import for all instances
  137 python=
  138 
  139 # Handlers process services externally thru special gateway bindins.  This
  140 # allows native commands to be implimented that do special functions.
  141 [handlers]
  142 ; text to speech conversion engine in tgi (xxx.tts)
  143 ;say=festival
  144 
  145 ; default xml parser to select at startup
  146 ;xml=callxml
  147 
  148 ; url fetcher engine in tgi (xxx.url)
  149 url=wget
  150 
  151 ; default timeout for handlers (%audio.timeout)
  152 timeout=90
  153 
  154 # This section is used to specify national "localization" rules which are
  155 # used to adopt bayonne for use in different countries.  This can be
  156 # used to specify alternate/national specific phrasebook override rules
  157 # for phrasebook, to define currency rules, etc.
  158 [localize]
  159 
  160 ; example, our primary currency is the euro
  161 ;primary currency = euro
  162 ;primary change = cent
  163 ;primary decimal = 2
  164 
  165 ; example, our secondary (local) currency is the pound
  166 ;local currency = pound
  167 ;local change = pence
  168 ;local decimal = 2
  169 
  170 ; example, our conversion rate is 2.5 to 1
  171 ;convertcurrency = 2.50
  172 
  173 # The info section controls Bayonne's new broadcast database service
  174 # for connecting with infotel database adapters such as bayonnedb.
  175 #
  176 [info]
  177 ; broadcast or host address of bayonnedb adapter
  178 ;broadcast = 127.0.0.1
  179 
  180 ; port of bayonnedb adapter
  181 ;port = 6344
  182 
  183 ; default packet transaction expiration in seconds
  184 ;expires = 60
  185 
  186 ; infotel thread processing in milliseconds
  187 ;interval = 500
  188 
  189 ; infotel resend interval computation factor in milliseconds
  190 ;resend = 650
  191 
  192 ; total number of infotel transactions to hold in pending
  193 ;buffers = 1000
  194 
  195 [network]
  196 ; broadcast address address to use with other nodes
  197 broadcast = 127.0.0.1
  198 
  199 ; refresh interval for nodes
  200 refresh = 5
  201 
  202 ; time to live for a node
  203 live = 30
  204 
  205 ; time to elect a new buddy
  206 elect = 120
  207 
  208 ; time to expire a buddy
  209 expire = 300
  210 
  211 ; The address and port to bind to for sending Bayonne network
  212 ; broadcast messages.  Note that if the bind(2) system call fails for
  213 ; the address you give, Bayonne will terminate immediately WITH NO
  214 ; SENSIBLE ERROR MESSAGE.  So if you try to run Bayonne and it just
  215 ; says "Aborting" and dumps core, double-check that you didn't make a
  216 ; typo here.  Also make sure that your machine actually has an
  217 ; interface with the address you give, and that the UID that Bayonne
  218 ; is running as really does have permission to bind to it.
  219 address = 127.0.0.1:7000
  220 
  221 ; bayonnedb database server to connect to
  222 database = 127.0.0.1:7002
  223 
  224 ; host address to bind monitor to
  225 monitor = 127.0.0.1:7070
  226 
  227 # The bayonne mailbox keys are used to set common default values for
  228 # mailbox applications.
  229 #
  230 [msgbox]
  231 ; a default password for newly created mailboxes
  232 ;password = 999
  233 
  234 ; a default mailbox message count limit for newly created mailboxes
  235 ;count = 99
  236 
  237 ; a default maximum size limit for newly created mailboxes, in minutes
  238 ; of storage.
  239 ;limit = 30
  240 
  241 ; a total voice storage quota permitted for ALL voice mailboxes on the
  242 ; local storage medium, in minutes.
  243 ;quota = 30
  244 
  245 ; a minimum storage capacity left for accepting any new messages in
  246 ; seconds
  247 ;minumum = 150
  248 
  249 ; the maximum size of a single message that may be left in seconds
  250 ;maximum = 300 
  251 
  252 # This provides configuration data for audio feeds
  253 #
  254 [audiofeed]
  255 ; named feeds reserved for telephony port use, keep unique
  256 ;feeds = conf0 conf1 conf2
  257 
  258 ; number of 120ms jitter buffers for audio feeds
  259 ;buffers = 8
  260 
  261 ; stack size for audio feed threads
  262 ;stack = 4
  263 
  264 # The bayonne tone command generates tones as defined from [tones] which
  265 # are initially generated into ulaw sample streams as the server starts.
  266 # This allows one to redefine all the standard tones as needed.
  267 #
  268 [tones]
  269 ; pbx optional tone set
  270 pbx:dialtone = cont 350 440 30000
  271 
  272 ; define each tone, single or multi-freq.
  273 beep = 1000 500
  274 ringback = 440 480 2000
  275 busytone = 480 620 500 
  276 reorder = 480 620 250
  277 dialtone = 350 440 1000
  278 intercom = 350 440 100
  279 austel:busytone = 425 450
  280 
  281 # Sometimes individual drivers and plugins have their own config
  282 # entries.  The Pika driver has one as documented here.
  283 #
  284 [pika]
  285 ; Specify number of DSP audio buffers to sue when streaming audio to
  286 ; or from a Pika card.  These are used by the PlayAudio and RecordAudio
  287 ; service threads.
  288 buffers = 2
  289 
  290 ; specify ring debounce timer in milliseconds
  291 ;ringdebounce = 100
  292 
  293 ; specify maximum members per dsp conference group
  294 ;members = 6
  295 
  296 # The QuickNet driver also has some configuration data.
  297 #
  298 [phonedev]
  299 ; Maximum number of "/dev/phone" nodes that will be supported.
  300 ;devices = 16
  301 
  302 ; Line wink duration to use, in milliseconds.
  303 ;wink = 100
  304 
  305 ; "depth" of buffering to use for audio recording and playback.
  306 ;buffers = 2
  307 
  308 ; number of k in service thread stack space
  309 ;stack = 8
  310 
  311 # Configuration of aculab firmware and interfaces
  312 #
  313 [aculab]
  314 ; prime rate firmware module
  315 ;prifirmware = ets_usr.ram
  316 
  317 ; basic rate firmware module
  318 ;brifirmware = ets_bnet.ram
  319 
  320 ; prosody firmware module
  321 ;prosody = sp60u.smf
  322 
  323 ; pri config
  324 ;priconfig = -cNE
  325 
  326 ; bri config
  327 ;bricconfig = -cNE
  328 
  329 ; network audio format (alaw or ulaw)
  330 ;netformat = ulaw
  331 
  332 # As does the Dialogic driver plugin...
  333 #
  334 [dialogic]
  335 ; in globalcall, we use "spans", "span", and "protocol"
  336 ; number of globalcall spans
  337 spans = 1
  338 ; globalcall span protocol
  339 protocol = P_ISDN
  340 
  341 ; number of potential voice resource cards in system
  342 ;voice = 6
  343 
  344 ; number of potential digital cards in the system
  345 ;digital = 1
  346 
  347 ; number of pri spans to support, effects digital handling.
  348 ;pri = 0
  349 
  350 ; interval for balancing cpu load.
  351 ;delay = 10
  352 
  353 ; span is used to specify a default when autodetect fails.
  354 span = e1
  355 
  356 ; Hangup tone detection for runtime driver (analog cards) only:
  357 ; tone frequency, on time, off time and their deviations
  358 ; hangup_detect = on
  359 ; hangup_freq = 425
  360 ; hangup_freq_dev = 50
  361 ; hangup_on = 30
  362 ; hangup_on_dev = 15
  363 ; hangup_off = 30
  364 ; hangup_off_dev = 15
  365 ; hangup_rep = 2
  366 
  367 ; isdn facility coding, default unless overriden in trunk group,
  368 ; use "none" if no facility
  369 ; isdn facility = cpn
  370 
  371 ; isdn numbering plan, default unless overriden in trunk group, use
  372 ; "none" for unknown.
  373 ; isdn numbering = isdn
  374 
  375 ; isdn encoding format, ulaw, alaw, or adpcm, may be overriden in
  376 ; trunk grouo
  377 ; isdn encoding = alaw
  378 
  379 # Voicetronix hardware paramaters
  380 [vpb]
  381 ; physical i/o port address of first card in hex
  382 ;first = 300
  383 
  384 ; number of cards to test for
  385 ;cards = 1
  386 
  387 ; number of channels per card
  388 ;channels = 4
  389 
  390 ; number of k in stack frame of vpb thread
  391 ;stack = 8
  392 
  393 ; interval delay in async event thread, for cpu loading.
  394 ;delay = 10
  395 
  396 ; values to use in defining reorder tone detection which can act as
  397 ; an optional disconnect, example here is from fsf switch.
  398 ;reorder = 440, 350 
  399 
  400 ; specify voicetronix card model, V4PCI for OpenSwitch4, and 
  401 ; V12PCI for OpenSwitch12.
  402 model = V4PCI
  403 
  404 ; for V12PCI, specify station blocks for each card, a (first 8),
  405 ; b (last 4), or n for trunk only card
  406 stations = aabn
  407 
  408 ; faster step and sync timers
  409 step timer = 20ms
  410 sync timer = 30ms
  411 
  412 ; drop disconnect
  413 drop = y
  414 
  415 # The auditing system has it's own parms.
  416 #
  417 [audit]
  418 ; Specify directory for file logging.
  419 ;logpath = /var/log/bayonne
  420 
  421 ; optionally specify the logfile and statfile directly, at least for
  422 ; the "append" auditing module.
  423 ;statfile = /var/log/bayonne/stats
  424 ;logfile = /var/log/bayonne/calls
  425 
  426 ; retry interval for posting responses
  427 ;retry = 15
  428 
  429 ; expiration timer before failing cdr records
  430 ;expire = 60
  431 
  432 ;;; The following are for the "postgres" CDR auditing module.
  433 ;
  434 ; The IP address or hostname of the machine hosting the PostgreSQL
  435 ; server to connect to.
  436 ;pgserver = localhost
  437 
  438 ; The port number to connect use when connecting.
  439 ;pgport = 5432
  440 
  441 ; The database to connect to.
  442 ;pgdbname = cdr
  443 
  444 ; The table to insert cdr data into.
  445 ;pgtable = cdr
  446 
  447 ; The username to connect as.
  448 ;pgusername = postgres
  449 
  450 ; WARNING!  DO NOT USE THIS OPTION UNLESS YOU KNOW WHAT YOU ARE DOING!
  451 ; You should really be using host-based authentication instead.
  452 ;pgpassword = I_should_really_go_read_the_manual
  453 
  454 # The ccscript compiler supports the use of "constants", and these
  455 # constants may be defined here for convenience.  They are processed
  456 # internally with "$xxx" entries in your scripts at compile time.  Some
  457 # values also effect script operations.  Some are also used to initialize
  458 # default script variables.
  459 #
  460 [script]
  461 ; A default timeout if not specified by script paramater, such as for
  462 ; "record".
  463 timeout = 60
  464 
  465 ; A interdigit timeout value to use if not specified, in seconds.
  466 interdigit = 6
  467 
  468 password = 999
  469 extdigits = 3
  470 localdigits = 7
  471 natdigits = 10
  472 xferextension = FW
  473 dialextension = W
  474 diallocal = W9
  475 xferlocal = FW9
  476 dialnational = W9
  477 xfernational = FW9
  478 dialinternational = W9011
  479 xferinternational = FW9011
  480 localprefix=732
  481 dialoperator=0
  482 country=1
  483 ringtime=7
  484 language=english
  485 extension=.au
  486 encoding=ulaw
  487 voice=UsEngM
  488 
  489 fastpickup=2
  490 slowpickup=5
  491 
  492 
  493 # The "server" node is used to define some common and useful server
  494 # properties.
  495 #
  496 [server]
  497 ; Specify user id to run as if started under "root" 
  498 ;user = bayonne
  499 
  500 ; Specify group to select for user mode startup.
  501 ;group = bayonne
  502 
  503 ; specify default script name globally if no scheduler.
  504 ;default = default
  505 
  506 ; Specify node id for management systems.  This defaults to the
  507 ; system's "host" name if not specified.
  508 ;node = tel01
  509 
  510 ; specify automatic/default login handling for trunks.  This can be
  511 ; "none", or "admin" for auto-admin capabilities in scripting, or can
  512 ; be "dnis" or "ani" for such things, or even "port" for auto-id by
  513 ; port.
  514 ;login = none
  515 
  516 ; to be used in the future; specify trunk group / policy search order.
  517 ;policy = dnis, card, span, port
  518 
  519 ; Specify tgi token seperator for TGI 1.1 services protocol.
  520 ;token = &
  521 
  522 ; a configuration timestamp.  A ~/.bayonnerc may override this and the
  523 ; last one loaded is shown during startup so one can see which config
  524 ; file was in effect.  This is a syslog "banner".
  525 config = Bayonne Runtime Configuration
  526 
  527 ; maximum number of network nodes.
  528 ;nodes = 1
  529 
  530 ; password for remote (tcpmon) access
  531 ;password = fts
  532 
  533 ; optional time of day when auto-restart may be used if all ports idle
  534 ; restart = 02:30
  535 
  536 # Specify what tgi commands can be invoked by external processes thru
  537 # bayonne_wrapper when setuid root.  This provides a controlled bridge
  538 # for things like apache to bayonne cross-execution.  Specify userid
  539 # and permitted commands...
  540 [wrapper]
  541 ; example, enable apache tgi web click thru
  542 ;nobody = webdial.pl
  543 
  544 # The threads section effects scheduling and operation of Bayonne
  545 # server threads of various sort.
  546 #
  547 [threads]
  548 ; specify thread auditing option.
  549 ;audit=0
  550 
  551 ; specify scheduling policy to use.  can be used to enable realtime
  552 ; process scheduling.
  553 ;policy = rr
  554 
  555 ; enable memory locking (prevents swap) and specify number of pages 
  556 ; of stack space to pre-reserve.  default is 0 for no locking.
  557 ;pages = 64
  558 
  559 ; Specify priority that the bayonne server should run as relative to
  560 ; system priority.  higher is better (negative nice).
  561 ;priority = 0
  562 
  563 ; Specify priority that audio threads run at relative to the default
  564 ; main thread, higher values being higher priority.
  565 ;audio = 1
  566 
  567 ; Specify priority that audio feed sources which use threads will run
  568 ; at relative to the main thread.
  569 ;feed = 0
  570 
  571 ; Specify priority for any database interface threads.
  572 ;database=0
  573 
  574 ; Specify number of TGI gateway processes that will be running for
  575 ; tgi requests, and the relative priority they should run under.  A
  576 ; good minimal value is 1/3 the number of active ports.
  577 ; WARNING: The syntax for this option is currently undocumented, and
  578 ; the getSymbol() Common C++ member which retrieves the data for the
  579 ; priGateway() function to determine the relative process priority
  580 ; is also undocumented.  As a result, you should only change the number
  581 ; after the comma to change the number of TGI gateways running on the
  582 ; system.  The behavior of the system after modifying the number
  583 ; before the comma is unknown.
  584 ;gateways = 0,1
  585 
  586 ; Specify the number and priority of service threads as used by some
  587 ; drivers.  Service pools may be specified with a higher thread count for
  588 ; smp/very high capacity systems.
  589 ;services = 1,1
  590 
  591 ; Specify priority that the bayonne "scheduler" thread runs at
  592 ;scheduler = 0
  593 
  594 ; Specify priority of server gui threads.
  595 ;gui = 0
  596 
  597 ; Specify priority of rtp threads.
  598 ;rtp = 0
  599 
  600 ; Specify an additional "lag" time in milliseconds between script commands 
  601 ; when dsp reset events have occured.
  602 ;resetdelay = 18
  603 
  604 ; stepdelay is the number of milliseconds the ccScript interpreter
  605 ; will pause between executing steps.  This variable should be a
  606 ; multiple of the granularity of the select(2) call on your system,
  607 ; because it's pointless for the interpreter to check on the state of
  608 ; things more often than they can possibly change.  You can lower this
  609 ; variable to have lengthy scripts execute faster at the expense of
  610 ; additional CPU time.  See the select(2) documentation on your system
  611 ; to determine the value.  On Win32 platforms, investigating the
  612 ; thread quanta length for your installation is a good place to start.
  613 ; Note that "server" and "workstation" versions of Win32 have
  614 ; different default quanta lengths.
  615 ;stepdelay = 36
  616 
  617 ; Specify the interval used by the scheduler.  This is important for
  618 ; determining if Sync objects get called frequently enough.
  619 ;interval = 15
  620 
  621 ; Minimal step interval allowed.  Some cases may allow timing of steps
  622 ; for real-time adjustments.  This should be the minimal schedulable
  623 ; sleep interval of a select() call.
  624 ;stepinterval = 18
  625 
  626 ; specify running priority of the resolver thread and the number of
  627 ; minutes between each run interval.
  628 ;resolver = -1, 15
  629 
  630 ; default stack size in k
  631 ;stack = 8
  632 
  633 # Some global memory usage properties that may be adjusted to toon
  634 # bayonne.
  635 #
  636 [memory]
  637 ; Default symbol size of "created" symbols in ccscript when no implicit
  638 ; size is specified.
  639 ;symbols = 64
  640 
  641 ; Number of bytes to allocate in "pages".  The internal allocators
  642 ; in ccscript use "page" allocated objects to reduce fragmentation.
  643 ; This should be some multiple or factor of the system memory
  644 ; page size.  On very tight systems, this can be made very small.
  645 ;page = 1024
  646 
  647 ; Number of user id's for preferences
  648 ;users = 1000
  649 
  650 ; Maximum preferences per user
  651 ;prefs = 256
  652 
  653 # Specify trunk properties for the "default" trunk group.  Additional
  654 # trunk groups can be specified and assigned to specific ports.
  655 #
  656 [trunks]
  657 ; Specify the name of additional trunk groups to load
  658 groups = outgoing did station
  659 
  660 ; Specify dialtone detection for hangup detect during normal calls
  661 ;detect = 0
  662 
  663 ; Specify handling of pending requests, either never, at hangup, or
  664 ; during a specified polling interval in milliseconds while idle.
  665 ;requests = hangup
  666 
  667 ; Specify ready time for trunk to settle in idle before processing any
  668 ; requests in milliseconds.
  669 ;ready = 1000
  670 
  671 ; Number of rings before answer allowed.  This may be extended to
  672 ; assure callerid occurs and/or did trunk support.
  673 ;answer = 1
  674 
  675 ; whether to automatically accept calls or not.  Set to 0 to disable
  676 ; accept.
  677 ;accept = 1
  678 
  679 ; Specify active caller id duration for trunks in milliseconds.
  680 ;callerid = 1600
  681 
  682 ; Hangup "gaurd" time before the port becomes available again, as
  683 ; measured in milliseconds.
  684 ;hangup = 100
  685 
  686 ; Pickup "gaurd" time before the port is assumed off hook, as measured
  687 ; in milliseconds.
  688 ;pickup = 500
  689 
  690 ; Time interval of a ring "cycle" for this trunk group in seconds.
  691 ;ringtime = 7
  692 
  693 ; Time interval during line siezure for dialtone detect to occur.
  694 ;siezetime = 12
  695 
  696 ; Time interval for inactivity to be used as forced hangup.
  697 ;idletime = 600
  698 
  699 ; Call progress analysis timer for dialing, in seconds.
  700 ;analysis = 16
  701 
  702 ; Flash time for hook-flash operations in milliseconds.
  703 ;flash = 200
  704 
  705 ; Number of milliseconds to wait for dialtone to appear when doing
  706 ; outbound dialing.  Note that the Voicetronix cards must have at
  707 ; least 2000 milliseconds of steady dialtone before throwing a 
  708 ; dialtone event, so if you're planning on doing outbound dialing
  709 ; with a Voicetronix cards you should set this to 3500 or so.
  710 ;dialtone = 800
  711 
  712 ; Dialing speed for DTMF dialing, including "pause" between digits,
  713 ; as measured in milliseconds.
  714 ;dialspeed = 160
  715 
  716 
  717 ; Initial volume level adjustment.  As a % value.
  718 ;volume = 80
  719 
  720 ; Talkoff control for cards which have this settable.
  721 ;talkoff =5
  722 
  723 ; DTMF debounce for cards which have this settable.
  724 ;debounce = 0
  725 
  726 ; wink delay from ring, in milliseconds
  727 ;wink delay = 150
  728 
  729 ; wink timer for length of wink, in milliseconds
  730 ;wink timer = 150
  731 
  732 ; max wink duration, in milliseconds
  733 ;max wink = 200
  734 
  735 ; min wink duration, in milliseconds
  736 ;min wink = 100
  737 
  738 ; trunk selection policy; currently first order or last order
  739 ;select = last
  740 
  741 ; threashold of active calls before switching to requests (try command)
  742 ;threashold = 0
  743 
  744 ; specify a dialing "transfer" prefix string to use for blind transfers
  745 ;transfer = *9,
  746 
  747 ; specify a hold "dialing" string to use to put a call on hold
  748 ;hold = *8,
  749 
  750 ; you can specify a default xml handler by trunk policy
  751 ;xml=callxml
  752 
  753 ; extension numbers to ring immediately for inbound calls
  754 ;immediate = 0,1,2
  755 
  756 ; extension numbers to add for delayed ringing from inbound calls
  757 ;delayed = 3,4
  758 
  759 ; local country code
  760 country = 1
  761 
  762 ; local dialing prefix if none used
  763 local = 1732
  764 
  765 ; specify dialing mode (dtmf, mf, pulse)
  766 dialmode = dtmf
  767 
  768 ; minimum digits in dnid (only for dialogic drivers)
  769 ;mindigits = 10
  770 
  771 ; time out to get more digits (in seconds)
  772 ;mdigtimeout = 3
  773 
  774 ; specify station id for fax
  775 station = 1 111 222 3333
  776 
  777 # Default station trunk policy for all station ports
  778 #
  779 [station-trunks]
  780 ; specify cards in list or * for default
  781 stations = *
  782 
  783 ; The following lines should be uncommented to use the "keyterm" demo
  784 ; script.  These are actually not used by the Bayonne telephone system
  785 ; scripts, so they are disabled by default.  This can also be used to
  786 ; do special features or functionality in the pbx environment.
  787 
  788 ; specify script to run for offhook stations while idle and in service
  789 ; or "*" for scheduler
  790 ;station offhook = bts
  791 
  792 ; specify script to run for stations without service or * for scheduler
  793 ;station noservice = bts::noservice
  794 
  795 ; specify script to run when station is ringing or * for scheduler
  796 ;station ringing = bts::ringing
  797 
  798 ; specify script to run when answering intercom or transfered call or
  799 ; * for scheduler
  800 ;station answering = bts::answering
  801 
  802 ; specify script to run when answering recall (hold or transfer recall) or
  803 ; * for scheduler
  804 ;station recalling = bts::recall
  805 
  806 ; specify script run when doing outside line dialing requests for extensions
  807 ;station dialing = bts::dialing
  808 
  809 [did-trunks]
  810 answer = 2
  811 
  812 ; Trunks we may assign as "DID" trunks, by individual port numbers!
  813 ;trunks = 0,1,2
  814 
  815 # a trunk group for "outgoing" calls.  Maybe we have one or more trunk
  816 # lines assigned only for outgoing scripts.
  817 #
  818 [outgoing-trunks]
  819 ; Maybe the last port id of a 4 port server is dedicated for outgoing
  820 ; calls...
  821 ;trunks = 3
  822 
  823 # this controls options for the gui debugger X-Window screen.
  824 #
  825 [gui]
  826 ; screen height
  827 ;height = 400
  828 
  829 ; screen width
  830 ;width = 600
  831 
  832 ; primary typeface to use
  833 ;typeface = helvetica
  834 
  835 ; fixed font typeface to use
  836 ;fixed = fixed
  837 
  838 ; primary point size to use (rest relative)
  839 ;points = 10
  840 
  841 # Provides sql database info
  842 [sql]
  843 database = bayonne
  844 ; user = bayonne
  845 ; password = xxx
  846 ; host = localhost
  847 
  848 # provides support for SUN ONC RPC services plugin
  849 #
  850 [rpc]
  851 ; send = 0
  852 ; recv = 0
  853 ; protocols = udp tcp
  854 
  855 # Proxy server settings
  856 #
  857 [proxy]
  858 # default
  859 ; server = localhost
  860 ; port = 8080
  861 
  862 # protocol specific
  863 ; http server = localhost
  864 ; http port = 8080
  865 
  866 # timeout for web services
  867 ; timeout = 0
  868 
  869 # Different modules that relate to PBX integration of Bayonne will use
  870 # this section for common settings.  These include modules that do in-band
  871 # msg waiting lamp control and smdi, and even specialized protocol modules.
  872 #
  873 [switch]
  874 ; specify trunk group to use for in-band operations, not used for serial
  875 ;group = *
  876 
  877 ; specify pbx vendor of switch, none to disable, usually match with 
  878 ; mwi.mod script
  879 ;protocol = generic
  880 
  881 ; specify device driver interface for serial integration module
  882 ;device = /dev/ttyS0
  883 
  884 ; specify speed for serial integration
  885 ;speed = 1200
  886 
  887 ; in smdi specify message desk interface you are using
  888 ;desk = 1
  889 
  890 # used for application framework specific settings.  these appear as
  891 # additional %application.xxx constants.
  892 #
  893 [application]
  894