Sorry, not all of the text I originally sent has appeared on the list archives, so here is the full email another time! :P
Hi,
can anyone provide any advice on getting CDRTool to work?
I have installed CDRTool 6.0 on a Debian Linux system 2.6 Kernel with Apache/2.2.6 (Unix) PHP/5.2.5
I am attempting to get it to work with OpenSER only (I have commented out the Asterisk and sip_trace sections in global.inc) and I am recieving the error:
Error initializing CDRTool datasource
From in my web browser.
It seems that in callsearch.phtml "$cdr_source" is not being set, but I dont understand why not and I am not sure how to get more debugging info out of the whole thing (Im not used to PHP), I dont see any errors in the syslog :(
With regards global.inc, I believe all database usernames and passwords are setup and have successfully tested connecting to all databases with this data - and I believe all db_class sections have the corresponding sections as required (the username, password, tablename etc).
thanks for any help! Andy.
Hi Andi,
I've seen this a few times. Did you try to just hit the reload button?
Bye Lorenz
_____
Von: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] Im Auftrag von Andy Smith Gesendet: Dienstag, 8. Januar 2008 21:51 An: users@lists.openser.org Betreff: Re: [OpenSER-Users] CDRTool help?
Sorry, not all of the text I originally sent has appeared on the list archives, so here is the full email another time! :P
Hi,
can anyone provide any advice on getting CDRTool to work?
I have installed CDRTool 6.0 on a Debian Linux system 2.6 Kernel with Apache/2.2.6 (Unix) PHP/5.2.5
I am attempting to get it to work with OpenSER only (I have commented out the Asterisk and sip_trace sections in global.inc) and I am recieving the error:
Error initializing CDRTool datasource
From in my web browser.
It seems that in callsearch.phtml "$cdr_source" is not being set, but I dont understand why not and I am not sure how to get more debugging info out of the whole thing (Im not used to PHP), I dont see any errors in the syslog :(
With regards global.inc, I believe all database usernames and passwords are setup and have successfully tested connecting to all databases with this data - and I believe all db_class sections have the corresponding sections as required (the username, password, tablename etc).
thanks for any help! Andy.
Hi Lorenz,
Yep, Ive been stuck on this since yesterday so reloaded many times (clearing webclient cache in case that is necessary!) I've been working through it with a friend who knows PHP as I don't, and the only other thing we've got to is that if I hard code the variable in callsearch.phtml like:
$CDR_class=$DATASOURCES["ser_radius"]["class"];
then I get this error instead:
Error: cdr_source or database not defined
And in this instance the $CDR_class variable is set as CDRS_ser_radius, whereas previously it was null. However Im not sure if that actually tells us anything useful as the fundamental problem seems to be $cdr_source is null....
thanks for ur input! Andy.
----- Original Message ----- From: Lorenz Barth To: Andy Smith ; users@lists.openser.org Sent: Tuesday, January 08, 2008 9:53 PM Subject: AW: [OpenSER-Users] CDRTool help?
Hi Andi,
I've seen this a few times. Did you try to just hit the reload button?
Bye Lorenz