Developing in Asterisk: The Asterisk 11 Configuration Framework

This post on the Digium blog represents the first in a new series, “Developing in Asterisk”, focusing on (of all things) Asterisk development. The topics will explore building things inside and on top of Asterisk – everything from core Asterisk development to building external applications utilizing Asterisk interfaces. Since Asterisk is a continually evolving project, these blog posts will link to content on the Asterisk wiki. That way, as things change, the content can change along with it!

As the first installment in this series, here is an overview of using the new Configuration Framework for Asterisk modules in Asterisk 11. This Wiki article looks at common pitfalls in extracting configuration information from static Asterisk configuration files and how the new Configuration Framework alleviates those problems. Using the new Configuration Framework in your module helps to ensure that module loading in Asterisk is done in a thread-safe, consistent manner.

“Modules in Asterisk – be they applications, functions, channel drivers, supplementary resources, etc. – are responsible for managing their own resources and responding to operations initiated by the Asterisk core. During module load and reload operations, a large part of this responsibility consists of loading and parsing the module’s configuration information from an Asterisk compatible configuration file or, optionally….” Continue Reading

Happy developing!

The Asterisk Development Team

About the author

Matt Jordan is an Engineering Manager for the Open Source Software team at Digium, working on Asterisk. Matt joined the team in 2011, and since then has been involved in the development of both Asterisk and the Asterisk Test Suite. His background in software development can best be described as "eclectic", having worked in a variety of industries. Uniting the various experiences, however, is a firm belief in good software development practices and methodologies and the effect they have on producing quality software (and keeping software developers from going insane).

2 Responses to “Developing in Asterisk: The Asterisk 11 Configuration Framework”

  1. james.zhu

    how about SCF? what is different between SCF and framework?

  2. Steven Smith

    Not sure if this is a concern, someone told me I could get Digium product from a business in Plano located at 2828 Parker Road Suite 201 B.. because they simply remove your logo and resell the product. Is that allowed?

Leave a Reply