projectb14ck

Random thoughts of a happy programmer.

Archive for the ‘Programming’ Category

pycall 1.4 Released

Earlier today I received a patch from EvilZluk. The problem he pointed out to me is that when moving the temporary call files to the Asterisk spooling directory, if the spooling directory is on a separate device, an exception would be raised as the os.rename function cannot support moving files across devices. In order to [...]

pycall 1.3 Released

Earlier today I received an email from Marcelo Araujo (marcelo@midivts.org) which contained a patch for pycall to add support for local trunks. So I patched pycall up, updated the changelog, the builds, and pushed everything out.
The problem with the earlier versions of pycall is that they didn’t properly support local trunks. In Asterisk, local trunks [...]

User Authentication With Django

This article will teach you how to authenticate users with Django in a simple, quick, and secure manner. You’ll also learn how to require authentication on certain pages of your website, and how to gracefully handle login and logout functionality.
The target audience is people who have had minimal experience with Django, and are aware of [...]

A Technical Introduction to Asterisk Gateway Interface (AGI)

The Asterisk Gateway Interface, commonly referred to as AGI, is a language-independent API for processing calls. It allows programmers to write simple programs to manipulate and route calls on Asterisk servers in a simple, easy manner.
This article provides a technical introduction to the AGI, explaining how it works, how it can be used, where you [...]

pycall Unleashed

A few months back I released the first version of my rather popular Asterisk call file library, pycall. pycall is a python library which makes creating and using Asterisk call files extremely, EXTREMELY easy. Since its inception, I’ve used pycall in several production environments, and for various other small projects that I’ve worked on.
The past [...]

Neat Thing I Learned Today – Part 1

In C, you can index arrays with either the array subscript inside of the typical square brackets:
arr[0]
or, with the less common (and somewhat mistifying):
0[arr]
Now, I’ve been using C for quite a while, but never realized that you could do this. It is definitely awesome, and could be really useful in some obfuscated programs. Now, just [...]

New Book

A couple of months ago I ordered a copy of Brian W. Kernighan and Rob Pike’s book: The Practice of Programming. This book caught my eye as it was written by two of my idols, (Brian W. Kernighan is a co-author of the C programming language, and Rob Pike is a UNIX programming god). The [...]

Asterisk 1.6 AGI C Library Project

I’m announcing my Asterisk 1.6 C AGI library for developers (cAGI). cAGI is a fully compliant Asterisk 1.6 AGI library for C developers. It can be used in production (I’ve been using it on several production boxes for the past 5 months), and has been generally well tested.
cAGI was originally part of my WildPBX project, [...]

atkbot Is Progressing Nicely

My IRC takeover bot, atkbot, is progressing nicely. Some of the features it now has are:

Simple configuration file.
Can connect to IRC networks that are password protected.
Can join multiple channels by default (specified in the configuration file), or none at all (just lurk on the server).
Will automatically re-connect if kicked from the network, or if the [...]

New Project: atkbot for IRC Takeovers

A little over a week ago I started working on a new project for fun in my freetime: atkbot.
“atkbot is a cross platform IRC bot written in Java, designed to takeover IRC channels.”
Those of you who know me know that I’ve been using IRC forever. IRC (if you aren’t aware) stands for internet relay chat. [...]

Page 1 of 212»
© 2008-2009 projectb14ck
Powered by Wordpress and made by Guerrilla