Summary: | ASTERISK-02910: [PATCH] cdr_dumper_php | ||
Reporter: | wolfson (wolfson) | Labels: | |
Date Opened: | 2004-11-30 22:18:51.000-0600 | Date Closed: | 2011-06-07 14:04:53 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_dumper_php.c ( 1) logview.php ( 2) save.php | |
Description: | This is a new cdr backend to dump CDR records and chan vars to a php file. PHP is them called with this file similarly to how sox is called by the voicemail code. "save.php" will need to exist in the directory defined in the file. From here you can write the data out to SQL or do whatever you want with it. | ||
Comments: | By: wolfson (wolfson) 2004-11-30 22:20:03.000-0600 This code is heavily based on cdr_dumper.c written by BKW that dumped to a perl formated file. By: Clod Patry (junky) 2004-11-30 22:59:57.000-0600 Disclaimer on files? By: wolfson (wolfson) 2004-11-30 23:15:51.000-0600 Its filed out. Will be faxed in tomorow. BKW noted that the code dumping chan vars could possibly error out if the chan is destroyed before the cdr code is called. By: wolfson (wolfson) 2004-12-01 10:00:52.000-0600 Disclaimer has been faxed to Digium. By: Brian West (bkw918) 2004-12-01 10:06:57.000-0600 ya what we do with getting the channel back is a no no :) bkw By: wolfson (wolfson) 2004-12-01 13:02:31.000-0600 Uploaded a sample save.php that serializes the chanvars. This way they can all be saved into sql and pulled back out as an array again. By: wolfson (wolfson) 2004-12-12 05:08:45.000-0600 Added a sample php file to view the database created by save.php. Channel variables are unserialized and displayed. Also supports direct linking to call recordings. You must map a directory with your web server to support this feature. By: Brian West (bkw918) 2004-12-26 17:18:10.000-0600 Left here for docs... it does sa no no thing.. ;) |