NO CDR Record

175 views
Skip to first unread message

smk...@gmail.com

unread,
Jul 1, 2018, 2:21:40 PM7/1/18
to MagnusBilling English
I have installed Magnusbilling 6.3.0 on CentOS 7(64bit), everything is working OK except the CDR, there are No CDR entries generated of any call. Is this the bug of this version (6.3.0) or I did a mistake somewhere, please guide me to fixed it..

Ricardo Leonardi Ferreira

unread,
Dec 21, 2018, 12:15:28 PM12/21/18
to MagnusBilling English
Hello, After upgrade from v6.2.6 to 6.4.1 has the same problem, Do you have a solution ?

Ricardo Leonardi Ferreira

unread,
Dec 22, 2018, 7:37:35 AM12/22/18
to MagnusBilling English
I found the error on file:
<apache_dir>/protected/runtime/cron.log
and the application.log is empty


2018/12/22 10:18:37 [error] [exception.CException] exception 'CException' with message 'Property "Call.sessionid" is not defined.' in /var/www/html/mbilling/yii/framework/base/CComponent.php:173
Stack trace:
#0 /var/www/html/mbilling/yii/framework/db/ar/CActiveRecord.php(159): CComponent->__set('sessionid', 'SIP/IPCORP_TRON...')
#1 /var/www/html/mbilling/protected/components/AGI/DidAgi.php(533): CActiveRecord->__set('sessionid', 'SIP/IPCORP_TRON...')
#2 /var/www/html/mbilling/protected/components/AGI/DidAgi.php(354): DidAgi->call_did_billing(Object(AGI), Object(Magnus), Object(Calc), '80', 'ANSWER')
#3 /var/www/html/mbilling/protected/components/AGI/DidAgi.php(150): DidAgi->call_did(Object(AGI), Object(Magnus), Object(Calc))
#4 /var/www/html/mbilling/protected/components/AGI/DidAgi.php(62): DidAgi->checkDidDestinationType(Object(AGI), Object(Magnus), Object(Calc))
#5 /var/www/html/mbilling/protected/commands/MagnusCommand.php(110): DidAgi->checkIfIsDidCall(Object(AGI), Object(Magnus), Object(Calc))
#6 /var/www/html/mbilling/yii/framework/console/CConsoleCommandRunner.php(67): MagnusCommand->run(Array)
#7 /var/www/html/mbilling/yii/framework/console/CConsoleApplication.php(91): CConsoleCommandRunner->run(Array)
#8 /var/www/html/mbilling/yii/framework/base/CApplication.php(169): CConsoleApplication->processRequest()
#9 /var/www/html/mbilling/agi.php(11): CApplication->run()
#10 {main}

Ricardo Leonardi Ferreira

unread,
Dec 24, 2018, 6:01:36 AM12/24/18
to MagnusBilling English
Hello,
I founded the solution, change, 
from:
/var/www/html/mbilling/agi.php
to:
/var/www/html/mbilling/resources/asterisk/mbilling.php

on file 
/etc/asterisk/extensions_magnus.conf

Merry Christmas and Happy new Year!
Reply all
Reply to author
Forward
0 new messages