Asterisk@home CDR trend analysis

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
krish905
Posts: 2
Joined: Mon Oct 16, 2006 6:37 am

Asterisk@home CDR trend analysis

Post by krish905 »

I have tried making a template to plot the call duration and count from the cdr database of asterisk. The query can be modified to suit your requirements. Please find the XML and script file attached.

The script returns the duration of calls and the total count of calls in the last 5 minutes.

Please let me know if you face any problem with the script or the template
I guess the cdr will be in the database only for asterisk@home, am not sure. Please let me know if you have a better query to do this
Thnks
Kris
Attachments
cacti_graph_template_asterisk_call_count.xml
(9.76 KiB) Downloaded 1250 times
cacti_graph_template_asterisk_graph_template.xml
(13.38 KiB) Downloaded 1127 times
asxcalls.php.txt
(666 Bytes) Downloaded 1408 times
DavidT
Posts: 4
Joined: Sun Mar 18, 2007 1:00 am
Location: Australia & Singapore

Post by DavidT »

Hi Krish,


Have you had any further developments on this?

I was also wondering if you would be willing to post an Install instructions on how to use this, since i am new to Cacti and Graphing, i would love it if you had a simple process guide on how to get this too work ;)


Appreciate your help.


Cheers,



David.
cacti_user_md
Posts: 2
Joined: Thu Apr 19, 2007 11:31 am

Post by cacti_user_md »

Has anyone successfully gotten this to work? I am able to get the php script to return the number of calls in the last five minutes and the duration, but the graph shows up blank.

Anyone have any ideas?
melcon
Posts: 2
Joined: Wed Apr 09, 2008 2:47 pm
Contact:

Post by melcon »

it's working for me, with a little modifications to suit my needs. Did you check cacti logs?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests