File: rate_engine.conf.sample

package info (click to toggle)
rate-engine 0.5.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 176 kB
  • ctags: 188
  • sloc: ansic: 1,486; makefile: 84; sql: 81
file content (42 lines) | stat: -rw-r--r-- 1,106 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;
; Call Rating Engine Configuration File
;
; Copyright (C) 2003 by Troll Phone Networks AS
;
; This program is distributed under the terms of the GNU General Public License
; as published by the Free Software Foundation; either version 2, or (at your
; option) any later version.
;
;	$Id: rate_engine.conf.sample,v 1.5 2003/11/28 16:20:46 tholo Exp $
;

;
; Common configuration
;
[general]
system=myname			; Name of our system
host=server.sigmasoft.com	; Database host
;port=3306			; Port on database server
;socket=/var/run/mysql.sock	; Socket for localhost usage
username=asterisk		; Username w/database
password=secret			; Password w/database
database=rating			; Name of database
reloadevery=0			; Reload rates & routes every N minutes, 0 is no automatic reload

;
; Configuration for CDR logging
;
[cdr]
table=cdr			; Table for CDR data
dropthres=1000
warnthres=500
warnfreq=25

;
; Configuration for Least Cost Routing
;
[route]
errors=exception		; Table for errors
egress=egress			; Table for egress routes
cost=rate			; Table for cost routing
avglen=180			; Length (in seconds) of an average call