Asterisk - All things "phone" for the Linux geek!
Asterisk has been called the Swiss Army Knife of Telephony. Here, I seek to sharpen a few of those blades and add one of my own.
Asterisk and AGI make it happen
One of the things that makes Asterisk so flexible is AGI. AGI stands for the Asterisk Gateway Interface. Basically, it allows you to interface the phone server with any program or programming language that will read STDIN (standard input) and write to STDOUT (standard out). This opens the phone system to virtually unlimited hack-ability.
While almost any language can be used with Asterisk and AGI, all can be tedious without some code to do the basics for you. Code has been available to work with Java, Perl, Python, PHP, and C but not for my favorite language and environment, C# and Mono. Well, one weekend of coding, and I think I have a pretty good start at a library that will ease the use of C# and Asterisk.
Asterisk + Mono = MONO-TONE
Oct 15 2005 -- MONO-TONE 0.02 - FastAGI support added.
June 06 2005 -- MONO-TONE 0.01 - Inital release.
Find the current code (MONO-TONE 0.02) here...MONO-TONE 0.02 source code
MONO-TONE 0.02 HTML preview
Find the old code (MONO-TONE 0.01) here...
MONO-TONE 0.01 source code
MONO-TONE 0.01 HTML preview
There is also a little class available that shows you how to use it...
Sample Driver source code
Sample Driver HTML preview
The example class provided will not work on your system. It is provided as an example to show you how you would use MONO-TONE to integrate Asterisk with existing code. In this case, we have a time clock object that we use to check if someone is "punched in" or not.
In the future, I will provide a more generic example that you will be able to run upon downloading. I will also add an example of how to use FastAGI.
Yet another AGI reference page
I have also created a list of the commands that Asterisk will take using AGI. I did this because I wanted to have a place where I could reference the commands in alphabetical order. I may *not* have ever compiled this reference if I had known about running "dump agihtml" :)
Q & A
Book Review - Asterisk: The Future of Telephony
And lastly, if I can get this review done, I'll submit it to slashdot. It's a good book and you all should pick up a copy!
Also, visit my blog.