<?php
/*
 * Global configuration part
 */

// Available recording systems (all available contents of cnxtype)
$systemlist = array( '01PRI' => 'Primary Rate (Swisscom)',
                     '02PCM' => 'PCM (IPC)',
                     '03BRI' => 'Radio et analogique'
                   );

// Optional pre-filter definitions (generic and login based)
/*
 * $PLAYBACK_PREFILTER = array( '*'           => array( "NOT LIKE '753_'",
 *                                                      "NOT LIKE '463_'",
 *                                                    ),
 *                              'dummy_user1' => array( "= '012426480'",
 *                                                    ),
 *                              'test'        => array( "<> '012426480'",
 *                                                    ),
 *                            );
 */

// Where are the recordings stored for playback (could also be the recording path!!)
define('PLAYBACK_PLAY_PATH',    'f:/playback/');


/*
 * Overrideable default settings
 */
// define('PLAYBACK_ARCHIVE_PATH', 'f:/archive/');  // When doing archiveing
// define('PLAYBACK_HTTP_PATH',    '/recording/');  // When using remote loggers
// define('PLAYBACK_SHOW_PREFILT', false);   // Don't show pre-filter
// define('PLAYBACK_SHOW_REFFILT', false);   // Don't show reference filter
// define('PLAYBACK_MIN_DURATION', 10);      // Proposal for search filter (min. recording duration)
// define('PLAYBACK_SEARCH_LIMIT', 100);     // Show not more then 100 results (top limit)
// define('PLAYBACK_ALLOW_HDSAVE', true);    // Show option for saving a recording to disk
// define('PLAYBACK_ON_MPLAYER',   true);    // Show option to play a recording in the mediaplayer
// define('PLAYBACK_ON_PHONE',     true);    // Show option to play a recording on phone
// define('PLAYBACK_SNAP_TIME',    2);       // Max deviation (secs) for time matching of redundant recordings
// define('PLAYBACK_DAYS_IN_DB',   100);     // Number of days the entries will be stored in DB


/*
 * The following configuration line must be set in "/nv_web/conf/playback.ini" 
 * for redundant systems (systems with doubled recorders). Otherwise ignore this!
 *
 *  define('PLAYBACK_SIDE_PRIO',  '<');   // '<' lower side, '>' upper side
 *
 *  $PLAYBACK_RESYNC_FROM = array('192.45.3.10', '192.45.3.11');
 */

?>