Subversion Repositories general

Rev

Rev 1387 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1387 Rev 1388
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
$db_type = 'PGSQL';
3
$g_config['db_type']       = 'PGSQL';
4
$db_host = 'localhost';
4
$g_config['db_host']       = 'localhost';
5
$db_user = 'astweb';
5
$g_config['db_user']       = 'astweb';
6
$db_password = 'password';
6
$g_config['db_password']   = 'password1';
7
$db_database = 'asterisk';
7
$g_config['db_database']   = 'asterisk';
8
 
8
 
9
$mgr_host = 'localhost';
9
$g_config['mgr_host']      = 'localhost';
10
$mgr_port = 5038;
10
$g_config['mgr_port']      = 5038;
11
$mgr_user = 'originator';
11
$g_config['mgr_user']      = 'originator';
12
$mgr_password = 'password2';
12
$g_config['mgr_password']  = 'password2';
13
$mgr_channel = 'SIP';
13
$g_config['mgr_channel']   = 'SIP';
14
$mgr_context = 'default';
14
$g_config['mgr_context']   = 'default';
15
 
15
 
-
 
16
$g_config['originate_src'] = 'I';  // which 'entry_title' may originate a call
-
 
17
 
16
// any local specific query
18
// any local specific query for list of calls
17
function BaseQuery()
19
function CdrBaseQueryWhere()
18
{
20
{
19
	return " (dstchannel is null or dstchannel != '')";
21
	return " (dcontext is null or dcontext != 'incoming_fix_callerid' and dcontext != 'incoming_delayed')";
20
}
22
}
21
 
23
 
22
?>
24
?>