1,22 → 1,24 |
<?php |
|
$db_type = 'PGSQL'; |
$db_host = 'localhost'; |
$db_user = 'astweb'; |
$db_password = 'password'; |
$db_database = 'asterisk'; |
$g_config['db_type'] = 'PGSQL'; |
$g_config['db_host'] = 'localhost'; |
$g_config['db_user'] = 'astweb'; |
$g_config['db_password'] = 'password1'; |
$g_config['db_database'] = 'asterisk'; |
|
$mgr_host = 'localhost'; |
$mgr_port = 5038; |
$mgr_user = 'originator'; |
$mgr_password = 'password2'; |
$mgr_channel = 'SIP'; |
$mgr_context = 'default'; |
$g_config['mgr_host'] = 'localhost'; |
$g_config['mgr_port'] = 5038; |
$g_config['mgr_user'] = 'originator'; |
$g_config['mgr_password'] = 'password2'; |
$g_config['mgr_channel'] = 'SIP'; |
$g_config['mgr_context'] = 'default'; |
|
// any local specific query |
function BaseQuery() |
$g_config['originate_src'] = 'I'; // which 'entry_title' may originate a call |
|
// any local specific query for list of calls |
function CdrBaseQueryWhere() |
{ |
return " (dstchannel is null or dstchannel != '')"; |
return " (dcontext is null or dcontext != 'incoming_fix_callerid' and dcontext != 'incoming_delayed')"; |
} |
|
?> |