russellbryant.net

Asterisk Open Source Software Engineering

russellbryant.net header image 4

Entries Tagged as 'How-to'

How-to: Write an Asterisk Module, Part 3

June 30th, 2008 · 8 Comments

Greetings fellow developers!
This is part 3 of a series on implementing the basic interfaces to provide features to Asterisk.
Part 1 – Basic Module Structure
Part 2 – CDR Handling Interface
In this section, you will see how to implement an Asterisk CLI command. CLI commands are extremely useful for showing configuration, statistics, and other debugging purposes.
We [...]

[Read more →]

Tags: Asterisk · Development · How-to

How-to: Write an Asterisk Module, Part 2

June 20th, 2008 · 13 Comments

In part 1, I explained the “Hello World” of Asterisk modules. It implemented just enough to properly compile, get loaded into Asterisk, and print something to the Asterisk log when the module was loaded and unloaded. Now, it’s time to start making modules that do something useful.
In res_helloworld.c, we implemented a load_module and [...]

[Read more →]

Tags: Asterisk · Development · How-to

How-to: Write an Asterisk Module, Part 1

June 19th, 2008 · 22 Comments

Have you ever wanted to write an Asterisk module? While some of the Asterisk modules are quite complicated, the anatomy of an Asterisk module is pretty simple. Let’s start with the “Hello World” of Asterisk modules: res_helloworld.
This example is based on Asterisk 1.6. However, creating Asterisk modules for Asterisk 1.4 is almost [...]

[Read more →]

Tags: Asterisk · Development · How-to

How-to: Use Dial and Another Application at the Same Time

June 18th, 2008 · 16 Comments

I spend a lot of time on IRC talking about Asterisk. A lot of questions get answered there but those answers are not archived as well as they are when questions are answered on mailing lists or forums. So, I’ll start posting some questions and answers that come from IRC discussions.
This one is [...]

[Read more →]

Tags: Asterisk · How-to