Integrating new applications with Asterisk

I’m trying to integrate a new application within Asterisk. What would I need to do to enable something like:


within an Asterisk dialplan and have Asterisk understand that it needs to call this new program?

Look in the source code. There is a directory called ‘apps’. This is where all of the applications live. I would recommend checking out an existing application that performs a similar task and taking a look at it.

If you want to create a new app, I typically just copy an existing application, rename it, and edit the Makefile to include it in the build. You can add it to the Makefile by adding the name of your application to the ‘APP’ variable at the top of the script. Then when you type ‘make’ it will build your application.

I’ve seen a few basic “HOWTO” guides for building apps and functions, but I can’t remember where off the top of my head.

Good Luck,