Category archives: Snaking
Discussions of programming, particularly of programming Python
How did I forget that (Sunday night's not great for thinking, apparently...)
Written by
on
in
Snaking.
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 ...
Working around Firefox 1.5's SVG target problems (Sure it's simple, but it takes hours to try all the other hacks...)
Written by
on
in
Snaking.
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 ...
Bit of maintenance among the learning tasks... (Or, what I did for the last few days...)
Written by
on
in
Snaking.
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 ...!-->!-->
Funky GSM playback with Asterisk 1.2.1 (Load issues, maybe...)
Written by
on
in
Snaking,
Tuxedo.
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 ...
StarPy Twisted Protocols for Asterisk AMI and Asterisk FastAGI (Release so early it's not even finished yet)
Written by
on
in
Snaking.
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 ...
Almost done the FastAGI protocol for Python (Almost as messy as the manager protocol)
Written by
on
in
Snaking.
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 ...!-->!-->
Cleaning up the Asterisk Manager Interface module (And beginning documentation...)
Written by
on
in
Snaking.
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 ...
AMI protocol for Twisted (Another one...)
Written by
on
in
Snaking.
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 ...
PyGTA meeting tonight (Tuesday)
Written by
on
in
Snaking.
Toronto Pythonistas, PyGTA is the place to be. Aaron Bentley will be presenting on the Bazaar-NG distributed VCS system.
Curiouser and curiouser with Asterisk manager interface (pyst doesn't seem to realise that there are event-generating queries)
Written by
on
in
Snaking.
Can't sleep, so spending more time with the manager interface. Interestingly, it seems that pyst has a fairly low-level assumption that just doesn't match the manager interface: namely that all events should be dispatched asynchronously to registered handlers. The problem is that certain actions produce a response, then a sequence of events in order that ...