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.
Pingbacks are closed.