Changeset 12473
- Timestamp:
- 08/31/11 16:29:39 (2 years ago)
- Files:
-
- modules/branches/2.10/cdr/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/cdr/functions.inc.php
r12436 r12473 175 175 function cdr_export_csv($csvdata) { 176 176 global $db; 177 177 // Searching for more than 10,000 records take more than 30 seconds. 178 // php default timeout is 30 seconds, hard code it to 3000 seconds for now (which is WAY overkill). 179 // TODO: make this value a setting in Advanced Settings 180 set_time_limit(3000); 178 181 $fname = "cdr__" . (string) time() . $_SERVER["SERVER_NAME"] . ".csv"; 179 182 $csv_header ="calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield\n";
