Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1395 → Rev 1396

/asterisk-stats/trunk/cdr_details.php
4,6 → 4,7
Prolog();
 
if(array_key_exists('active', $_GET)) {
SetPageTitle("Active Call Details");
$db->query_params("select acctid, calldate, linkdate, clid, src, dst, dcontext,"
. " channel, dstchannel, lastapp, lastdata,"
. " extract(epoch from date_trunc('second',current_timestamp-calldate)) as duration,"
19,6 → 20,7
. " where acctid=$1 and duration is null", array($_GET['active']));
}
elseif(array_key_exists('detail', $_GET)) {
SetPageTitle("History Call Details");
$cdr_detail = array();
$db->query_params("select r.*,"
. " p1.person_name as src_name, e1.entry_title as src_title,"