Combine uClinux and Asterisk on a Card

Embedding Asterisk on a Digikey Blackfin STAMP card.

The configuration files for Asterisk are the same as for x86 Asterisk. Some useful files are:

  • /etc/zaptel.conf: Zaptel driver configuration

  • /etc/asterisk/zapata.conf: more Zaptel configuration.

  • /etc/asterisk/extensions.conf: sets up dial plan for PBX.

  • /etc/asterisk/sip.conf: SIP phone configuration.

These files can be edited with vi on the Blackfin, but remember that any configurations will be lost when the board is powered down or reset. Permanent changes can be stored on the SD card.

Further Work

So, there you have the basic steps for building your own embedded Asterisk PBX. Kits containing the daughterboards and modules are available from the author. We are working on further development—for example, custom Blackfin hardware designed specifically for telephony work and other line interface cards, such as BRI-ISDN. It's an exciting project, with the novel feature of open hardware development.

David Rowe has 20 years of experience in the development of DSP-based telephony and sat-com hardware/software. David has a wide mix of skills including software, hardware and project management, and a PhD in DSP theory. He has held executive-level positions in the sat-com industry ( and has built and successfully exited a small business ( However, he has decided he is better at debugging machines than people, so he currently chooses to hack telephony hardware and software full time.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

blackfin dsp and asterisk?

codentest's picture

I didn't think asterisk supported the dsp functions/instructions of blackfin. Which means using blackfin dsp does not help may infact be less efficent as most of the asterisk codec code is geared towards x86 systems.

Embedded open-source telephony

dpgood's picture

Hugely helpful!

I have been looking everywhere for information on putting together an embedded telephony card to use to build an adjunct telephone box. Although the Asterisk section is overkill for me, I need the FXS/FXO piece, and to be able to do pass-through.

I'll check into the resources you posted as well. Thanks for being so complete -

Dana Good

One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix