features in astercctools for asterisk

astercctools is a daemon script provided in asterCC package, it has two features for now( version 0.01-081116): 1 get sip peer status astercctools will connect to your asterisk via AMI and execute command “sip show peers” then parse the result to table `sip_show_peers` in your mysql database. 2 get queue status astercctools will also execute command “show queue” then parse the result to mysql tables, it would put the result to table `queue_stats`,`queue_name`,`queue_agent`,`queue_caller` using astercctools in your asterisk application, you can read sip and queue status from mysql instead of connecting to asterisk each client seperately, so this would increace efficiency and stability. here’s the structure of tables metioned above: