[Spce-user] CDRs not loggin
Brian Pelletier
brian.pelletier at aloe-me.net
Fri Feb 16 13:38:47 EST 2018
I just started using the SIPwise Provider CE software and seem to have a problem with CDRs not logging. I tried resetting all the databases and reconfigured everything and did a fresh install of the entire server. In both instances it would start logging calls but no more than 3 total before it would stop. Has anyone sense had this problem or know hot to fix it. Looking at the log it appears to me to be a database issue but I have verily little experience with databases. I provided what i have in the log if anyone as a though on what needs to be done or has had the same problem and knows how to fix it.
Feb 16 01:07:56 spce (debug) mediator[2681]: Locking process.
Feb 16 01:07:56 spce (debug) mediator[2681]: Daemonizing process.
Feb 16 01:07:56 spce (debug) mediator[2696]: Writing pid file.
Feb 16 01:07:56 spce (info) mediator[2696]: ACC acc database host='localhost', port='3306', user='kamailio', name='kamailio'
Feb 16 01:07:56 spce (info) mediator[2696]: CDR acc database host='localhost', port='3306', user='mediator', name='accounting'
Feb 16 01:07:56 spce (info) mediator[2696]: PROV database host='localhost', port='3306', user='mediator', name='provisioning'
Feb 16 01:07:56 spce (info) mediator[2696]: STATS database host='localhost', port='3306', user='mediator', name='stats'
Feb 16 01:07:56 spce (debug) mediator[2696]: Setting up mysql connections.
Feb 16 01:07:56 spce (info) mediator[2696]: Up and running, daemonized=1, pid-path='/var/run/mediator.pid', interval=10
Feb 16 02:09:16 spce (debug) mediator[2696]: Overall 1 CDRs created so far.
Feb 16 02:09:39 spce (debug) mediator[2696]: Overall 2 CDRs created so far.
Feb 16 02:09:52 spce (debug) mediator[2696]: Overall 3 CDRs created so far.
Feb 16 02:10:25 spce (debug) mediator[2696]: Parsing JSON: '{"mos":{"avg_score":4.2999999999999998,"avg_packetloss":0,"avg_jitter":18,"avg_rtt":40737}}'
Feb 16 02:10:25 spce (crit) mediator[2696]: Error executing query: Out of range value for column 'mos_average_roundtrip' at row 1
Feb 16 02:10:25 spce (crit) mediator[2696]: Failed query: 'insert into cdr_mos_data (cdr_id, mos_average, mos_average_packetloss, mos_average_jitter, mos_average_roundtrip, cdr_start_time) values (4, 4.3, 0$
Feb 16 02:10:25 spce (info) mediator[2696]: Shutting down.
Feb 16 02:10:25 spce (warning) mediator[2696]: Closing DB handle with still 1 statements in queue
Feb 16 02:10:25 spce (info) mediator[2696]: Successfully shut down.
Feb 16 02:10:25 spce (debug) mediator[2696]: Unlocking mediator.
Feb 16 04:13:15 spce (debug) mediator[2662]: Locking process.
Feb 16 04:13:15 spce (debug) mediator[2662]: Daemonizing process.
Feb 16 04:13:15 spce (debug) mediator[2687]: Writing pid file.
Feb 16 04:13:15 spce (info) mediator[2687]: ACC acc database host='localhost', port='3306', user='kamailio', name='kamailio'
Feb 16 04:13:15 spce (info) mediator[2687]: CDR acc database host='localhost', port='3306', user='mediator', name='accounting'
Feb 16 04:13:15 spce (info) mediator[2687]: PROV database host='localhost', port='3306', user='mediator', name='provisioning'
Feb 16 04:13:15 spce (info) mediator[2687]: STATS database host='localhost', port='3306', user='mediator', name='stats'
Feb 16 04:13:15 spce (debug) mediator[2687]: Setting up mysql connections.
Feb 16 04:13:15 spce (info) mediator[2687]: Up and running, daemonized=1, pid-path='/var/run/mediator.pid', interval=10
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '0'
Feb 16 04:13:15 spce (err) mediator[2687]: JSON type is not object: '0'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '{"mos":{"avg_score":4.2999999999999998,"avg_packetloss":0,"avg_jitter":9,"avg_rtt":30163}}'
Feb 16 04:13:15 spce (debug) mediator[2687]: Parsing JSON: '{"mos":{"avg_score":4.2999999999999998,"avg_packetloss":0,"avg_jitter":18,"avg_rtt":40737}}'
Feb 16 04:13:15 spce (crit) mediator[2687]: Error executing query: Out of range value for column 'mos_average_roundtrip' at row 1
Feb 16 04:13:15 spce (crit) mediator[2687]: Failed query: 'insert into cdr_mos_data (cdr_id, mos_average, mos_average_packetloss, mos_average_jitter, mos_average_roundtrip, cdr_start_time) values (14, 4.3, $
Feb 16 04:13:15 spce (info) mediator[2687]: Shutting down.
Feb 16 04:13:15 spce (warning) mediator[2687]: Closing DB handle with still 1 statements in queue
Feb 16 04:13:15 spce (info) mediator[2687]: Successfully shut down.
Feb 16 04:13:15 spce (debug) mediator[2687]: Unlocking mediator.
thanks
Brian Pelletier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20180216/9b92cff8/attachment.html>
More information about the Spce-user
mailing list