Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Asterisk@home CDR trend analysis

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
krish905



Joined: 16 Oct 2006
Posts: 2

PostPosted: Mon Oct 16, 2006 6:47 am    Post subject: Asterisk@home CDR trend analysis Reply with quote

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



asxcalls.php.txt
 Description:

Download
 Filename:  asxcalls.php.txt
 Filesize:  666 Bytes
 Downloaded:  646 Time(s)


cacti_graph_template_asterisk_graph_template.xml
 Description:

Download
 Filename:  cacti_graph_template_asterisk_graph_template.xml
 Filesize:  13.38 KB
 Downloaded:  528 Time(s)


cacti_graph_template_asterisk_call_count.xml
 Description:

Download
 Filename:  cacti_graph_template_asterisk_call_count.xml
 Filesize:  9.76 KB
 Downloaded:  480 Time(s)

Back to top
DavidT



Joined: 18 Mar 2007
Posts: 4
Location: Australia & Singapore

PostPosted: Sun Mar 18, 2007 1:03 am    Post subject: Reply with quote

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.
Back to top
cacti_user_md



Joined: 19 Apr 2007
Posts: 2

PostPosted: Thu Apr 19, 2007 11:33 am    Post subject: Reply with quote

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?
Back to top
melcon



Joined: 09 Apr 2008
Posts: 2

PostPosted: Thu Apr 10, 2008 4:24 pm    Post subject: Reply with quote

it's working for me, with a little modifications to suit my needs. Did you check cacti logs?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group