Changeset 10549

Show
Ignore:
Timestamp:
11/12/10 16:41:58 (3 years ago)
Author:
p_lindheimer
Message:

add amportal.conf configuration variables for now Time Conditions overrides re #4636

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/libraries/config.functions.php

    r10412 r10549  
    1616  'AMPSYSLOGLEVEL '=> array('std' , 'LOG_ERR'), 
    1717  'ARI_ADMIN_PASSWORD' => array('std' , 'ari_password'), 
     18  'TCINTERVAL      '=> array('std' , '60'), 
    1819 
    1920  'ASTETCDIR'      => array('dir' , '/etc/asterisk'), 
     
    5657  'DISABLECUSTOMCONTEXTS'   => array('bool' , false), 
    5758  'DIVERSIONHEADER' => array('bool' , false), 
     59  'TCMAINT'         => array('bool' , true), 
     60  'DAYNIGHTTCHOOK'  => array('bool' , false), 
    5861); 
    5962 
  • freepbx/trunk/amportal.conf

    r10413 r10549  
    261261# and include the contexts. 
    262262 
     263# TCINTERVAL=integer_seconds 
     264# DEFAULT VALUE: 60 
     265# The polling interval used by the Time Conditions manintenace task, launched by an Asterisk call file 
     266# used to update Time Conditions override states as well as keep custom device state hint values up-to-date 
     267# when being used with BLF. This interval should be shorter than the shortest time condition true (open) or 
     268# false (closed) interval to assure that an override is reset after the current time period has expired that 
     269# it was set in. 
     270 
     271# TCMAINT=true|false 
     272# DEFAULT VALUE: true 
     273# If set to false, this will override the execution of the Time Conditons maintenace task launched by call 
     274# files. If all the feature codes for time conditions are disabled, the maintenance task will not be launched 
     275# so this is not needed for that condition. Setting this to false would be fairly un-common. On an extremely 
     276# active system that has constant calls flowing throught all time conditions of interest that might be overriden 
     277# one might set this to avoid the additional polling that would otherwise occur since calls traversing the 
     278# time conditions contexts will also maintain all the necessary state information. You may also set this 
     279# temporarily if debugging a system to avoid the periodic dialplan running through the CLI that the maintenance 
     280# task otherwise creates. 
     281 
     282# DAYNIGHTTCHOOK true|false 
     283# DEFAULT VALUE: false 
     284# By default, the Day/Night module will not hook Time Conditions allowing one to associate a daynight manual 
     285# override with a time condition since now time conditions have their own feature code. If there is already 
     286# an associaiton configured (on an upgraded system), this will have no affect for the Time Conditions that 
     287# are effected. Setting this to true reverts the previous behavior by allowing for the continued use of a 
     288# daynight toggle to be associated with a time conditon. This can be useful for two scenarios. First, to override 
     289# a Time Condition without the automatic resetting that occurs with the built in Time Condition overrides. 
     290# The second use is the ability to associate a single daynight toggle with multiple time conditions thus creating 
     291# a "master switch" that can be used to override several possible call flows through different time conditions. 
     292