[asterisk-dev] HELP....reading asterisk code

Steve Totaro stotaro at asteriskhelpdesk.com
Sat Aug 1 18:03:31 CDT 2009


I tired to answer the same question a long time ago.  Here was the reply
http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg27584.html

On Tuesday 26 June 2007 14:18, Steve Totaro wrote:
> William P.N. Smith wrote:
> > I suspect (hope?) Murali was asking for details of how the code
> > works, not how to install, configure, and run Asterisk.  I'll admit
> > to a similar interest myself.
>
> While I am not a developer, I would assume it would make sense to
> start with the core and then explore the modules.

It's actually better to start with the modules, specifically apps/ and
funcs/, and branch into the core only when you need to understand
specifically what each app or func is doing.  This is far easier than
trying to understand the entire core, which is rather complex and
multifaceted, all at once.

This is the way that I learned, and I would recommend the same path to
anybody who might like to become a community developer someday.

Also, stay away from the bigger and more complex apps, such as Dial,
Voicemail, Meetme, and Queue, at least until you have a good
understanding of some of the smaller applications and functions.

In terms of overall complexity, the next step would be formats, codecs,
res, pbx_* functionality, some of the smaller channels (stay away from
IAX2, Zap, and SIP), and possibly even some of the core code, such as
manager.c.

-- 
Tilghman


On Sat, Aug 1, 2009 at 6:51 PM, Ruddy Gbaguidi <plugworld at micnes.com> wrote:

> If you have C experience and if you want to write your own application
> you may read the application sample app_skel.c
> Here is a quick example of how applications works under asterisk
> http://www.astblog.com/
>
>
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Russell Bryant
> Sent: July-31-09 5:15 PM
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] HELP....reading asterisk code
>
> Harsh Trivedi wrote:
> > I am newbie to asterisk development. I started reading the code but got
> > confused. Can someone suggest where to start, I mean which folder/file as
> a
> > first step and go from there.
>
> Asterisk is a pretty large code base.  There is not an obvious place to
> start.  It depends on what you're looking.  Feel free to ask specific
> questions, and you may get more specific answers.
>
> --
> Russell Bryant
> Digium, Inc. | Engineering Manager, Open Source Software
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: www.digium.com & www.asterisk.org
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090801/5b7a1d55/attachment.htm 


More information about the asterisk-dev mailing list