Archives

Home » Asterisk » Developing in Asterisk: The Asterisk 11 Configuration Framework

Developing in Asterisk: The Asterisk 11 Configuration Framework

Matt Jordan September 17th, 2012

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. … more about Matt Jordan

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

  1. james.zhuon 18 Sep 2012 at 7:09 pm

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

  2. Steven Smithon 30 Sep 2012 at 7:09 am

    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?

Trackback URI | Comments RSS

Leave a Reply

Around the Web

Subscribe

Receive blog posts via email:

Have a Suggestion?

Think there is something we can work on? Tell Us!

Thousands of companies in more than 170 countries rely on Digium phone systems.

Google
Orbitz
Yahoo!
Ikea
Martha Stewart
IBM