Hi everyone. I’m trying to add support for a new codec in Asterisk. I’ve already posted several messages, [1] and [2], on the issue.
After a couple of weeks browsing through the wiki and the book I think the way to go would be to write a new module using the existing ones as reference. With all this research, I’m starting to get aware of what a newbie I am in both * and C so please excuse my ignorance.
In any case, could somebody point me to some “Write your own modules” guide or at least give me a brief description of what it would consist of? Or maybe, tell me if there is another way of implementing a new codec.
Yeah. As another new user, it would definitely be helpful if there were some sort of basic tutorial. Problem is, there are two kinds of new users: those who come with some * background, and those who have some programming experience. For me, I’d like a reference to what absolutely needs to go into a new module. I feel shy about spamming everyone’s e-mail with such a request however.
Hi, I’m also very new to Asterisk and trying to write my own module. I came across this tutorial : http://www.lobstertech.com/doc/ast-12-func/ which describes how to get started with writing an Asterisk native module. It seems like an excelent starting point for someone (like me) who has no clue where to start…
I’m using Asterisk 1.2.7.1 on one of the box I maintained. There’s a template file you can use /usr/src/asterisk/apps/app_skel.c. That’s the best place to begin, I guessed. Then do “make doxygen” and read the generated html file. Since the app_skel.c is so basic, you can read other apps like Playback, Read, NoOP for reference. Of course don’t forget to read Asterisk architecture, TFOT these are nice reference to create your own apps.