Difference between revisions of "System.conf"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 6: | Line 6: | ||
* '''balance_check_period''' – how often to recalculate total price for user's concurent calls. Calculated price is compared with user's balance and if total price is lower than balance limit, all user's calls will be terminated. Default value is 1 (in seconds) | * '''balance_check_period''' – how often to recalculate total price for user's concurent calls. Calculated price is compared with user's balance and if total price is lower than balance limit, all user's calls will be terminated. Default value is 1 (in seconds) | ||
* '''active_calls_check_period''' – how often to update active calls. Default value is 5 (in seconds) | * '''active_calls_check_period''' – how often to update active calls. Default value is 5 (in seconds) | ||
* '''enforced_global_hgc''' – set specific hangupcause for all failed, busy and no answer calls. Only answered calls will return default 16 | * '''enforced_global_hgc''' – set specific hangupcause for all failed, busy and no answer calls. Only answered calls will return default 16 hangupcause. For example ''enforced_global_hgc = 34'' will return ''503 Service Unavailable'' to originator for all non answered calls. |
Revision as of 14:36, 27 April 2015
This file is in /etc/asterisk/ and describes some values for the app_m2.so application, which is the main M2 core working in the Asterisk environment.
- hostname, dbname, user, password, port – All these values describe connections to the database
- cdr_batch_size – after call end, cdr is stored in a buffer and when that buffer is full, all cdrs are flushed to database. This variable defines how many cdrs are buffered before flushing to database. Default value is 30 (after 30 calls all cdrs will be flushed to database)
- cdr_flush_time – cdr buffer is periodically flushed to database. This variable defines how often to flush cdr buffer to database (value is in seconds). Default value is 60 seconds (after 60 seconds, all cdrs will be flushed to database, no matter how many calls are buffered)
- balance_check_period – how often to recalculate total price for user's concurent calls. Calculated price is compared with user's balance and if total price is lower than balance limit, all user's calls will be terminated. Default value is 1 (in seconds)
- active_calls_check_period – how often to update active calls. Default value is 5 (in seconds)
- enforced_global_hgc – set specific hangupcause for all failed, busy and no answer calls. Only answered calls will return default 16 hangupcause. For example enforced_global_hgc = 34 will return 503 Service Unavailable to originator for all non answered calls.