bkruse: branch bkruse/cdr_revamp r3950 - in /team/bkruse/cdr_revamp/config: ....
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Oct 7 15:31:24 CDT 2008
Author: bkruse
Date: Tue Oct 7 15:31:23 2008
New Revision: 3950
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3950
Log:
CDR's are almost finished, well, they are.
It works, just want to add some more "cool" factors like
actually being able to setup the CDR engine.
Added:
team/bkruse/cdr_revamp/config/cdr.old.html
- copied unchanged from r3948, team/bkruse/cdr_revamp/config/cdr.html
team/bkruse/cdr_revamp/config/cdr_conf.old.html
- copied unchanged from r3948, team/bkruse/cdr_revamp/config/cdr_conf.html
Removed:
team/bkruse/cdr_revamp/config/cdr.html
team/bkruse/cdr_revamp/config/cdr_conf.html
Modified:
team/bkruse/cdr_revamp/config/index.html
team/bkruse/cdr_revamp/config/js/astman.js
Modified: team/bkruse/cdr_revamp/config/index.html
URL: http://svn.digium.com/view/asterisk-gui/team/bkruse/cdr_revamp/config/index.html?view=diff&rev=3950&r1=3949&r2=3950
==============================================================================
--- team/bkruse/cdr_revamp/config/index.html (original)
+++ team/bkruse/cdr_revamp/config/index.html Tue Oct 7 15:31:23 2008
@@ -218,6 +218,10 @@
<div class="ui-accordion-link">Asterisk Logs</div>
<div class="ui-accordion-desc">Asterisk Log messages.</div>
</div>
+ <div page='cdr.html' class='AdvancedMode'>
+ <div class="ui-accordion-link">Call Detail Records <sup><font color=#fffc31><b>beta</b></font></sup></div>
+ <div class="ui-accordion-desc">Read all your records from Asterisk.</div>
+ </div>
<div page='status.html' class='AdvancedMode'>
<div class="ui-accordion-link">Active Channels <sup><font color=#fffc31><b>beta</b></font></sup></div>
<div class="ui-accordion-desc">Displays current Active Channels on the PBX, with the options to Hangup or Transfer.</div>
Modified: team/bkruse/cdr_revamp/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/team/bkruse/cdr_revamp/config/js/astman.js?view=diff&rev=3950&r1=3949&r2=3950
==============================================================================
--- team/bkruse/cdr_revamp/config/js/astman.js (original)
+++ team/bkruse/cdr_revamp/config/js/astman.js Tue Oct 7 15:31:23 2008
@@ -444,6 +444,17 @@
cliCommand : function(cmd) { // ASTGUI.cliCommand(cmd);
ASTGUI.debugLog("Executing manager command : '" + cmd + "'" , 'manager');
return makeSyncRequest ( { action :'command', command: cmd } );
+ },
+
+ is_true: function(str) {
+ if (typeof(str) != 'string' || str.length < 1 ) {
+ return false;
+ }
+ return ["yes", "true", "y", "t", "1", "on"].contains(str.toLowerCase().trim());
+ },
+
+ trim: function(str) {
+ return str.replace(/^[\s]+/, "").replace(/[\s]+$/, "");
},
getUser_DeviceStatus : function( usr ){ // ASTGUI.getUser_DeviceStatus(usr)
@@ -2684,6 +2695,7 @@
ASTGUI.scripts['generateZaptel'] = 'sh ' + ASTGUI.paths['scripts'] + 'editzap.sh';
ASTGUI.scripts['generatemISDN_init'] = 'sh ' + ASTGUI.paths['scripts'] + 'editmisdn.sh';
ASTGUI.scripts['dldsoundpack'] = 'sh ' + ASTGUI.paths['scripts'] + 'dldsoundpack';
+ASTGUI.scripts['mastercsvexists'] = 'sh ' + ASTGUI.paths['scripts'] + 'mastercsvexists';
ASTGUI.apps = {};
ASTGUI.apps['Ztscan'] = 'ztscan > ' + ASTGUI.paths['asteriskConfig'] +'ztscan.conf' ;
More information about the asterisk-gui-commits
mailing list