Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Oh, while I'm thinking of it (IRC client for phones...)


Was thinking earlier that one of those "cool, but useless" projects might be to use StarPy and Festival to read live IRC feeds to a user. Twisted has all sorts of fun little protocols it can access, but IRC is just so magnificently geeky that it would obviously gather thousands of users in minutes.

Oh, ...

Continue reading

StarPy grows rudimentary hierarchic IVR menus (UI toolkit for voice?)


Okay, there's a new release of StarPy up. This adds menu support with the commonly desirable operations (e.g. options to go up a level, repeating the prompt a limited number of times if the user doesn't respond, that kind of thing). The same API also provides a basic enter-digits handler, though I'll need to produce ...

Continue reading

How did I forget that (Sunday night's not great for thinking, apparently...)


Didn't even touch the VoIP stuff (yet) today (though did have a short phone call or two about it). I had forgotten on Sunday that I was going to phone a distributor Monday morning. Basically spent the whole day on the phone call, research to answer some questions (yes, Cinemon should be 100% Euro-DOCSIS compatible ...

Continue reading

Working around Firefox 1.5's SVG target problems (Sure it's simple, but it takes hours to try all the other hacks...)


Cinemon, as some of you may know, uses SVG graphics as one of its core navigational mechanisms. Until today we've basically had to have users use either the Adobe SVG viewer or be annoyed by the Mozilla browsers loading the whole site into the iframe where the navigation graphic is displayed. This is because Mozilla ...

Continue reading

Bit of maintenance among the learning tasks... (Or, what I did for the last few days...)


I'm continuing to work on making StarPy a decent platform for writing Asterisk applications. In between I'm working on Cinemon administration (and a bit of code) and little bits of the VoIP project that need handling.

Wound up installing FreeBSD, the HotSpot software and Cinemon on a box for one of our partners. Ran into ...

Continue reading

Funky GSM playback with Asterisk 1.2.1 (Load issues, maybe...)


I upgraded my Asterisk development machine to 1.2.1 a few days ago (from 1.0.something). Since then I've had really poor playback of the GSM sound files (slowed down dramatically, often dropping out) even to SIP phones connected across a local LAN. Connection and link to remote machines produces fine quality, so I'm assuming it's a ...

Continue reading

StarPy Twisted Protocols for Asterisk AMI and Asterisk FastAGI (Release so early it's not even finished yet)


Rather than wait until it's all finished, why not dump the code on the unsuspecting world and let all two or three people who want to use Python with Asterisk play with it. This is still a very early engineering prototype (many of the functions have never been run, let along properly tested), so don't ...

Continue reading

Almost done the FastAGI protocol for Python (Almost as messy as the manager protocol)


I've built a FastAGI protocol for Twisted, just writing code now to test the various methods. Have already discovered that "HANGUP" doesn't seem to work from a FastAGI application (the MTA just stays on the line even after a hangup).

I've got the whole FastAGI API wrapped as a first-crack hack (at least, as much ...

Continue reading

Cleaning up the Asterisk Manager Interface module (And beginning documentation...)


Went over the AMI interface I wrote on Wednesday night. It's not as bad as I'd feared, basically seems functional. Probably want to produce a decent interface for waiting/watching events, but for now I've just added a basic "watch for events of this type" hook. I'm tempted to use pydispatcher for it, but for now ...

Continue reading

AMI protocol for Twisted (Another one...)


Got home rather late from the Toronto Asterisk User's Group meeting, hanging out with Leigh, Simon and Shidan afterward at the restaurant and then the bubble tea place. Unfortunately, got home wired for sound because of all the sugar in the bubble tea (rather too much IMO), so I decided to take a crack at ...

Continue reading