Newest StarPy Twisted protocols for Asterisk released (Getting ready to use them for a real world project...)
Written by
on
in
Snaking.
After a couple or three hours of paying work, sat down to polish the StarPy code to the point where I can use it for writing a real server (also to be paying work). First server should be fairly trivial, it's just a FastAGI instance that attaches to the MySQL CDR database and the provisioning PostgreSQL server and uses the last-caller information in the CDR to update blocking lists for provisioning. After that it just tells the provisioning to rebuild for the customer and it's finished. There's a couple of IVRs in there for reviewing the number to be blocked and for paging back through the numbers to find the annoying person.
As expected the call duration callback example had been broken by stupid and trivial changes as I was changing underlying functionality, particularly I'd replaced the manual code to request the account code with a menu-module operation, but I'd karked up in doing so. Just turning down the debug logging made that pretty obvious (big error messages).
Anyway, new StarPy release, including slightly more documentation about how to setup and work with the package, is now available from the project homepage.
Comments
Comments are closed.
Pingbacks
Pingbacks are closed.
Eric on 02/16/2006 7:46 p.m. #
I just ran across this project (saw it on the daily python URL). I must say, what an AWESOME idea! Twisted and Asterisk, two of my favorites things to tinker with. My mind is spinning with the possibilities!
Mike Fletcher on 02/17/2006 12:09 a.m. #
Cool. Also had my first confirmed report of someone other than myself using the protocols this morning (well, yesterday morning now). Also had a bug report for the setup script (it's copying the data-files to the wrong locations, apparently), going to try to track that down when I get a moment.