g613 / asterisk-cdr-viewer Goto Github PK
View Code? Open in Web Editor NEWSimple and fast viewer for asterisk CDRs / recordings
Simple and fast viewer for asterisk CDRs / recordings
## Hello, how i can check in the report which calls are transferred locally ?
great project!
i am facing an issue while running the queries :
/var/log/httpd/error_log says :
PHP Fatal error: Class 'PDO' not found in
What steps will reproduce the problem?
1. Select only Concurrent Calls
2. Select 1 month or more for Call dates
3. Run the report and it takes for ever and won't come back with report.
What is the expected output? What do you see instead?
It should show concurrent calls for whole month with MAX Calls showing
What version of the product are you using? On what operating system?
Latest 0.9x
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Jun 2012 at 8:17
What steps will reproduce the problem?
1. WAV location /var/spool/asterisk/monitor and /Year/mounth/Day. How is set
this config ?
Original issue reported on code.google.com by [email protected]
on 20 Mar 2014 at 10:30
Is it possible to add the column "billsec" to the report?
Original issue reported on code.google.com by [email protected]
on 6 Dec 2013 at 3:51
I'm getting the following error:
PHP Parse error: syntax error, unexpected '[' in /var/www/astcdr/index.php on line 23
Hello, I added the rate_type type 30s+s this way:
functions.inc.php > add >
} elseif ( $callrate_cache[$file][substr($dst,0,$i)][2] == '30s+s' ) {
// 30 second + per second
if ( $duration < 30) {
$call_rate = ($callrate_cache[$file][substr($dst,0,$i)][0] / 2);
} else {
$call_rate = $callrate_cache[$file][substr($dst,0,$i)][0] + ( ($duration-60) *
($callrate_cache[$file][substr($dst,0,$i)][0] / 60) );
}
And I need to add rate_type 30s+6s to use Skype.
Could someone help, please?
Original issue reported on code.google.com by [email protected]
on 23 Oct 2014 at 4:06
Attachments:
What steps will reproduce the problem?
1. Simulate a call into asterisk with CID NAME (e.g. "John Smith" <4145556666>
2. Check Reports and it will show 4145556666 but not John Smith
3. Checking /var/log/asterisk/full I can see "John Smith" and it's also in
asteriskcdrdb in MySQL.
What is the expected output? What do you see instead?
CDR Report should view both CID Name and CLID for all Dahdi, SIP, IAX, and
other technology trunks.
What version of the product are you using? On what operating system?
Latest
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Sep 2012 at 5:41
I setup a new server. Installed Asterisk-CDR-Viewer and I noticed my Apache log files were huge. Looking at the logs they are filling with errors. Just accessing the home screen without doing a search produces the following.
[Fri Jun 30 09:06:14.831624 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831630 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831633 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831636 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831643 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831646 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831649 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831652 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831655 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831658 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831661 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/templates/form.tpl.php on line 23
[Fri Jun 30 09:06:14.831696 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831700 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831703 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831706 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831708 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831711 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831714 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831717 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831720 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831722 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831725 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:14.831733 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/templates/form.tpl.php on line 50
[Fri Jun 30 09:06:15.537964 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmonth in /var/www/html/cdr/index.php on line 23
[Fri Jun 30 09:06:15.538014 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startyear in /var/www/html/cdr/index.php on line 24
[Fri Jun 30 09:06:15.538030 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startday in /var/www/html/cdr/index.php on line 26
[Fri Jun 30 09:06:15.538039 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: starthour in /var/www/html/cdr/index.php on line 33
[Fri Jun 30 09:06:15.538046 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: startmin in /var/www/html/cdr/index.php on line 34
[Fri Jun 30 09:06:15.538068 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmonth in /var/www/html/cdr/index.php on line 39
[Fri Jun 30 09:06:15.538080 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endyear in /var/www/html/cdr/index.php on line 40
[Fri Jun 30 09:06:15.538091 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endday in /var/www/html/cdr/index.php on line 42
[Fri Jun 30 09:06:15.538120 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endhour in /var/www/html/cdr/index.php on line 47
[Fri Jun 30 09:06:15.538128 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: endmin in /var/www/html/cdr/index.php on line 48
[Fri Jun 30 09:06:15.538145 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: src in /var/www/html/cdr/index.php on line 56
[Fri Jun 30 09:06:15.538153 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: dst in /var/www/html/cdr/index.php on line 62
[Fri Jun 30 09:06:15.538159 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: did in /var/www/html/cdr/index.php on line 68
[Fri Jun 30 09:06:15.538168 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: channel in /var/www/html/cdr/index.php on line 75
[Fri Jun 30 09:06:15.538184 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: clid in /var/www/html/cdr/index.php on line 81
[Fri Jun 30 09:06:15.538194 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: dstchannel in /var/www/html/cdr/index.php on line 84
[Fri Jun 30 09:06:15.538207 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: userfield in /var/www/html/cdr/index.php on line 93
[Fri Jun 30 09:06:15.538216 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: accountcode in /var/www/html/cdr/index.php on line 96
[Fri Jun 30 09:06:15.538225 2017] [:error] [pid 7526] [client 10.13.13.11:53184] PHP Notice: Undefined index: limit in /var/www/html/cdr/index.php on line 99
This message is writen in Spanish, so if you have problems understanding the
content, use a traductor.
Para usar esta aplicacion con postgres hice unos pequeños cambios. En primer
lugar la función que se debe crear en la base de datos debe ser
CREATE FUNCTION unix_timestamp(TIMESTAMP) RETURNS INTEGER AS '
SELECT date_part(''epoch'', $1)::INTEGER AS RESULT
' LANGUAGE sql;
Para alguien que no sepa, le puede parecer un dolor de cabeza meter la
instrucción en el motor de base de datos y que no le funcione, porque le sobra
el CREATE FUNCTION.
Otra cosa que hay que tener en cuenta es que en el config.inc.php en vez de la
opción mysql, se debe usar pgsql (igual para el que no sabe, el que maneja PDO
no tiene problema).
Y por ultimo para evitar problemas en la ejecución de las consultas a la base
de datos, se debe quitar la variable $db_name de todas ellas.
Supongo que ya con eso es suficiente. No es un problema en si, sino la
solución a lo que encontré.
Best Regards and THX for your effort. :D
Original issue reported on code.google.com by [email protected]
on 2 Jul 2014 at 8:23
is possible to use mysql for data off call rates? instead .csv?
Thanks
Original issue reported on code.google.com by [email protected]
on 26 Aug 2014 at 7:46
Hi.
Do you plan to support Postgresql, not only mysql cdr?
Original issue reported on code.google.com by [email protected]
on 28 Jun 2012 at 2:13
I am connected to a freepbx distro server on my local network, All is working
fine but I cannot figure out how to show the recorded files, they are in the
freepbx default location and I can see them using there built in cdr viewer but
not on this software, I looked at config.inc.php buy could not figure out how
to make this work, any help would be great.
Gary.
Original issue reported on code.google.com by [email protected]
on 4 Apr 2014 at 8:02
Call cost rounding up.
I need assistance with custom development on the interface but the email for
igor does not work
Original issue reported on code.google.com by [email protected]
on 24 Jul 2014 at 8:29
What steps will reproduce the problem?
> 1. Just run search with date and time intervals
What is the expected output? What do you see instead?
> Calls record between "time from" and "time to", but a got out of selected
time call record
What version of the product are you using? On what operating system?
> actually 1.0.2, but footer still show 1.0.1 :))
See the screenshot
Original issue reported on code.google.com by [email protected]
on 14 Apr 2014 at 11:14
Attachments:
I look after a busy Asterisk server that is generating a 1GB CDR DB every few months. I archive the database on a monthly basis and would like to use this program to view it on a separate system
However, to do this I would need the ability to be able to select a database from the GUI, for example, January records, February records etc
Also, I need to reference the CEL stats that are also recorded in the same database as the CDR. I use FreePBX and I find it useful in the FreePBX interface, are you able to link to these as well? - Under the FreePBX GUI which looks very similar to yours the 'System' column is hyperlinked to the CEL data for that particular call, this would be a great feature.
Hi.
Do you plan to support translations for your product (in example .po files)?
I know I can edit the code, but it is the wrong way :)
If you will add translation support, I suggest my help with translate your
product to Russian and Ukrainian languages.
Original issue reported on code.google.com by [email protected]
on 15 Feb 2012 at 12:30
Please implement support for Cyrillic (Unicode) when working with data from the database.
template/footer.tpl.php:
templates/footer.tpl.php: <a
href="http://code.google.com/p/asterisk-cdr-viewer/">Asterisk CDR viewer (
v.1.0.1 )</a>
It should be v.1.0.2
Original issue reported on code.google.com by [email protected]
on 20 Feb 2014 at 6:56
"service httpd restart" instead of "service restart httpd"
Original issue reported on code.google.com by [email protected]
on 29 Aug 2012 at 9:07
Attachments:
We use the DID field to note which DID a call comes in on. Would it be
possible to add this to the report and possibly be able to search by this field?
running version 0.9.5
Thanks,
David
Original issue reported on code.google.com by [email protected]
on 6 Aug 2012 at 8:38
On main page see PDO::errorInfo(): could not find driver
config.inc.php
$db_type = 'mysql';
$db_host = 'localhost';
$db_port = '3306';
$db_user = 'root';
$db_pass = 'XEGFxegC66';
$db_name = 'asterisk';
$db_table_name = 'cdr';
Original issue reported on code.google.com by [email protected]
on 10 Apr 2013 at 7:44
What steps will reproduce the problem?
1.install software
2.verify data is in cdr table (cdr records, filename, files in monitor dir////0
3.run report, no file download icon appears
What is the expected output? What do you see instead?
to be able to download the monitor recording
What version of the product are you using? On what operating system?
latest
Please provide any additional information below.
could I email you and explain?
Original issue reported on code.google.com by [email protected]
on 3 Feb 2014 at 8:07
After downloading Asterisk-cdr-viewer and modifying config.inc.php the
Asterisk-cdr-viewer is not showing any data.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2013 at 3:38
What steps will reproduce the problem?
1. Load CDR
2. Seach CDR
3. No information about incoming Trunk - all shows only SIP or IAX2
What is the expected output? What do you see instead?
CDR should show which trunk was used. For example I have 5 SIP trunks to
different providers and 2 IAX2 trunks to other two different providers. When a
call comes in I only see SIP or IAX2 for source channel instead of VoipMS,
Vitelity, TATA, etc....
What version of the product are you using? On what operating system?
1.0.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Sep 2013 at 2:48
When I run a report that has a source and destination channel select I receive a SQL syntax error.
I'm trying to run a report to see how many concurrent calls there are over the Digium G100 connection. The error only seems to occur with concurrent calls. If I change the report to CDR with the same search parameters it seems to work.
PDO::errorInfo(): Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND dstchannel LIKE 'SIP/g100%' src LIKE 'SIP/g100%' ) ORDER BY unix_' at line 1 )
Need to add separate column for CallerID
Original issue reported on code.google.com by [email protected]
on 2 Apr 2012 at 1:35
What steps will reproduce the problem?
1. Pick an extension and see all calls for a particular day
2. Run the report
3.
What is the expected output? What do you see instead?
Was hoping to see all calls internal and external, but I onyl see internal calls
What version of the product are you using? On what operating system?
Latest version, trying to integrate with Trixbox 2.6 on CentOS 5.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 20 Jun 2012 at 4:56
Today i'm installing for the x times cdr-viewer but when i make a search nothing appears...
/var/log/httpd/error_log shows a bunch of...
PHP Notice: Undefined index: endmonth in /var/www/html/asterisk-cdr-viewer/index.php
PHP Notice: Undefined index: endyear in /var/www/html/asterisk-cdr-viewer/index.php
Undefined index: endmonth in /var/www/html/asterisk-cdr-viewer/templates/
I'm using Centos 7 and php 5.6...
Hi
I keep on getting the following error:
HTTP Auth required, please configure WEB server !
I have tried configuring the conf.d file
I added user in .htpasswd file
I tried changing the config.inc.php file
and keep getting the error.
Can someone please assist
What steps will reproduce the problem?
1. admin user can see every report. But Other user did not see the report. I
want user based report. One peer did not see other peer cdr. How can i do it?
please help
?????
Original issue reported on code.google.com by [email protected]
on 9 Feb 2014 at 10:54
When I try to connect to http://myip/acdr I got the following message:
You don't have permission to access /acdr/ on this server.
I believe it has something to do with permissions?
Original issue reported on code.google.com by [email protected]
on 20 Dec 2013 at 9:13
Not work the query with "_" the - sip/provider_my iax/74957374567_97.
Original issue reported on code.google.com by [email protected]
on 15 Nov 2012 at 12:33
I managed to get data in mysql cdr database.
But when I open the webbrowser (http://ipaddress/acdr/ I only see my php file
and not the template (see attached picture).
What's going wrong?
I am using Debian so I had to copy cp
asterisk-cdr-viewer/contrib/httpd/asterisk-cdr-viewer.conf to
/etc/apache2/conf.d instead of /etc/httpd/conf.d/.
And I restarted apache2 instead of httpd
Original issue reported on code.google.com by [email protected]
on 6 Dec 2013 at 3:50
Attachments:
Hi! I often get this message in php log:
"PHP message: PHP Warning: Division by zero in asterisk-cdr-viewer/index.php on line 757"
What steps will reproduce the problem?
1. In asterisk 11 just search
What is the expected output? What do you see instead?
PDO::errorInfo(): Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column
'calldate' in 'where clause' )
What version of the product are you using? On what operating system?
1.0.4 , Centos 6.5
Please provide any additional information below.
I think that the new CDR Grab to MYSQL Is different , dont have calldate , is
there a way yo make it work with asterisk 11 ?
Original issue reported on code.google.com by [email protected]
on 27 Apr 2014 at 12:33
Please add the ability to playback files via web interface, using html5.
Would it be possible to implement see some quick date range buttons, like:
- this week
- last 7 days
- this month
- last 28/30/31 days
- this year
Maybe even have them as a config option?
Best regards,
Siniša Bandin
Original issue reported on code.google.com by sinisa.bandin
on 28 Jan 2015 at 4:21
Hello!
IMHO username should also match the last part of "src channel" and "dst channel". For example, I have an user/extension SIP/194, but its outside callerid is xxxX194, so its calls to the outside are not displayed. I cannot use _194 because there is other outside number xxxY194 which should not be matched.
I have fixed this by adding:
or dstchannel RLIKE '$cdr_user_name' or channel RLIKE '$cdr_user_name'
to the SQL query in index.php (in line 104)
Maybe we should have an option in config.php for this?
One other problem (I am not really a PHP nor WEB programmer) is that I dont understand how should I set '$cdr_user_name_mod'
to 'asterisk-regexp'
, so I have just commented out 'if' line before and 'else' part after this ... Tried to set it in config.php, without success, but IMO that is the place to set it.
Thank you for a beautiful and very useful piece of software and best regards,
Sinisa
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.