|
|
| Author |
Message |
krish905
Joined: 16 Oct 2006 Posts: 2
|
Posted: Mon Oct 16, 2006 6:47 am Post subject: Asterisk@home CDR trend analysis |
|
|
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
| Description: |
|
 Download |
| Filename: |
asxcalls.php.txt |
| Filesize: |
666 Bytes |
| Downloaded: |
646 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_asterisk_graph_template.xml |
| Filesize: |
13.38 KB |
| Downloaded: |
528 Time(s) |
| 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
|
Posted: Sun Mar 18, 2007 1:03 am Post subject: |
|
|
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
|
Posted: Thu Apr 19, 2007 11:33 am Post subject: |
|
|
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
|
Posted: Thu Apr 10, 2008 4:24 pm Post subject: |
|
|
| it's working for me, with a little modifications to suit my needs. Did you check cacti logs?
|
|
| Back to top |
|
 |
|