WARNING: Any manual MySQL modifications are at your own risk and should be performed by a person familiar with MySQL. Eventual issues caused are not covered by Bicom Systems support.
To access CDRs from mySQL, type the following:
/opt/pbxware/sh/mysql
You will be presented with MySQL console:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15498
Server version: 5.6.39-83.1 Source distribution
Copyright (c) 2009-2018 Percona LLC and/or its affiliates
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Select pbxware database:
use pbxware;
For example, to list all of the records with some field equal to some value, type:
select * from cdr where something = somevalue;
For more information on CDR database structure please check HOWTO CDR Table Structure