I have found the resolution it seems that the memcache module that is used to hold the session information is not started at bootup
It can be started Manually by
/etc/init.d/memcached start
on my system
chkconfig --list | grep mem
shows
memcached 0:off 1:off 2:off 3:off 4:off 5:off 6:off
memcached needs to be running at runlevels 2,3,4 & 5
do issue the following command
chkconfig memcached on
chkconfig --list | grep mem
now shows
memcached 0:off 1:off 2:on 3:on 4:on 5:on 6:off
All good--- CDR's should work fine now
so you need to issue the following commands
/etc/init.d/memcached start
chkconfig --add memcached
chkconfig memcached on
Monday, September 26, 2011
CDR export file no data correction:
You need apply the following patch
--- /root/cdr.php_orig 2010-09-08 12:56:20.000000000 +0300
+++ /var/www/html/maint/modules/cdrreport/controllers/cdr.php 2010-09-08 13:01:05.000000000 +0300
@@ -351,7 +353,7 @@
$ret = $db->query("SELECT count(*) as totalrecords FROM cdr $where");
$this->reportsize = $ret->current()->totalrecords;
- return $db->query("SELECT * FROM cdr $where $orderby LIMIT ? OFFSET ?", array((int)$datalimit, (int)$datastart));
+ return $db->query("SELECT * FROM cdr $where $orderby" . ((int)$datalimit > 0 ? " LIMIT ? OFFSET ?" : ""), array((int)$datalimit, (int)$datastart));
//return $db->query("SELECT * FROM cdr $where $orderby LIMIT ? OFFSET ?", array(100, (int)$datastart));
}
--- /root/cdr.php_orig 2010-09-08 12:56:20.000000000 +0300
+++ /var/www/html/maint/modules/cdrreport/controllers/cdr.php 2010-09-08 13:01:05.000000000 +0300
@@ -351,7 +353,7 @@
$ret = $db->query("SELECT count(*) as totalrecords FROM cdr $where");
$this->reportsize = $ret->current()->totalrecords;
- return $db->query("SELECT * FROM cdr $where $orderby LIMIT ? OFFSET ?", array((int)$datalimit, (int)$datastart));
+ return $db->query("SELECT * FROM cdr $where $orderby" . ((int)$datalimit > 0 ? " LIMIT ? OFFSET ?" : ""), array((int)$datalimit, (int)$datastart));
//return $db->query("SELECT * FROM cdr $where $orderby LIMIT ? OFFSET ?", array(100, (int)$datastart));
}
Trixbox Fixed Command for CDR play recordings:
Trixbox recording to play missing just copy/paste into putty and install quick time
[trixbox1.localdomain ~]# ln -s /var/spool/asterisk/monitor /var/www/html/maint/cache/monitor
Hope that helps
[trixbox1.localdomain ~]# ln -s /var/spool/asterisk/monitor /var/www/html/maint/cache/monitor
Hope that helps
Subscribe to:
Posts (Atom)