Search the Asterisk Blog

Asterisk Blog

How To: Unit Testing Asterisk

By Kevin Harwell

So you’ve written some code for Asterisk and now you need to test it. The Asterisk project has support for both integration and unit testing. In this post we’ll talk [...]

Debugging SIP message traffic with PJSIP History

By Matt Jordan

Debugging SIP Messages the Traditional Way Since its release, the PJSIP stack has provided logging of SIP message traffic via the [crayon-5e4d37620cad3875999561-i/]  CLI command. This dumps all received and transmitted [...]

The Gutting of ODBC in Asterisk

By Mark Michelson

When Asterisk 13.8.0 gets released, it will contain a large-scale change to the ODBC code. Those of you that use ODBC for your realtime configuration will either see no change [...]

Converting from chan_agent to app_agent_pool

By Richard Mudgett

The move from chan_agent to app_agent_pool The idea behind [crayon-5e4d37620e2aa878547620-i/]  was simple.  The agent channel created by [crayon-5e4d37620e2bd147709039-i/]  acts as a proxy for the corresponding “real” channel which is logged [...]

Integrating Asterisk with StatsD

By Matt Jordan

Statistics all the Things It’s often useful to know what is happening on a production Asterisk server. While gathering machine statistics – such as disk I/O, CPU and memory usage, [...]

The PJSIP Outbound Registration ‘line’ Option

By Joshua C. Colp

Outbound SIP registrations are a commonly used practice in Asterisk. They allow an upstream server, such as one in use by an ITSP, to know where you are and to [...]

How to Contribute to Asterisk: Part Three

By Matt Jordan

In the previous post on contributing to Asterisk, we set up the Asterisk Test Suite and wrote a test for the [crayon-5e4d37621168e003176989-i/]  dialplan function that reproduced the bug in ASTERISK-25179 [...]

How to Contribute to Asterisk: Part Two

By Matt Jordan

In the previous post, we: Picked out a bug to fix, ASTERISK-25179 Signed up for an Asterisk account, signed a CLA, and created our profile in Gerrit Cloned Asterisk from [...]

How to Contribute to Asterisk: Part One

By Matt Jordan

Have you ever run into a bug in Asterisk? If so, don’t despair. Asterisk is software, and despite anyone’s claims to the contrary, all software contains bugs. While you can [...]