[asterisk-dev] Setting up a development environment for Asterisk

Chris Tooley chris at tooley.com
Tue Jan 11 08:10:07 CST 2011


On Tue, Jan 11, 2011 at 8:03 AM, Kevin P. Fleming <kpfleming at digium.com> wrote:
> On 01/11/2011 07:55 AM, Nick Khamis wrote:
>
>> Thank you for your response, vim, emacs... That kind of stuff puts hair
>> on your
>> chest ;). I checked out the code using subclipse, maybe I will try to
>> strip it down
>> to the core classes, compile and run it within eclipse, and then keep
>> appending
>> code, basically building an eclipse project. Any help would be
>> appreciated. Are
>> there any documentation architectural/package/class diagrams etc.., I know
>> it's a large project, and I have had to do this many time before.
>
> Asterisk is primarily written in C, so there aren't any 'core classes' in
> the sense that an IDE would understand. There are some conceptual diagrams
> of how modules work together and how channel drivers work, but there is not
> a great deal of architectural documentation, unfortunately.

Asterisk will build and run inside Eclipse (or used to) but I haven't
done it in several years. As Kevin says, since it's C there's not a
class hierarchy like you would get with a Java project, but the C
perspective can be set up to find all of the definitions. Once it's
all set up and configured, it's actually pretty handy for development,
but running it in the debugger is pretty challenging as the highly
multi-threaded nature of Asterisk doesn't lend itself well to
Eclipse's debugger interface.
>
> --
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> skype: kpfleming | jabber: kfleming at digium.com
> Check us out at www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 

Chris Tooley
mobile: 615-525-8067
Instant Messenger
MSN: ctooley at ntrc.net
AIM: mrchristooley
Yahoo: mrchristooley
Google Talk: ctooley at gmail.com



More information about the asterisk-dev mailing list