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

Steve Totaro stotaro at asteriskhelpdesk.com
Mon Aug 3 16:15:02 CDT 2009


System() does exactly that.

On Mon, Aug 3, 2009 at 4:46 PM, Harsh Trivedi <harshmtrivedi at gmail.com>wrote:

> Hello again,
>                  Thank you all for your help and showing me the rite
> direction. I have a Question regarding code that can be implemented in the
> apps folder
>
> Does the code in the apps folder need to be related to asterisk code only.
> for example, can I write a C file that launches an some other application
> like smtp or nmap?
>
> Thanking you
> -Harsh
>
>
> On Sun, Aug 2, 2009 at 4:07 AM, Harsh Trivedi <harshmtrivedi at gmail.com>wrote:
>
>> Thank you,
>> Russel, Ruddy and Steve
>>
>> reading the app folder definately makes sense. I started with it and am
>> enjoying it :)
>> Thanks again,
>> Harsh
>>
>> I started with the apps/ folder
>>
>> On Sat, Aug 1, 2009 at 4:03 PM, Steve Totaro <
>> stotaro at asteriskhelpdesk.com> wrote:
>>
>>> 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)
>>>
>>> _______________________________________________
>>> --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
>>>
>>
>>
>>
>> --
>> When you come to the end of all the light you know, and it's time to step
>> into the darkness of the unknown, faith is knowing that one of two things
>> shall happen: Either you will be given something solid to stand on or you
>> will be taught to fly.
>>
>
>
>
> --
> When you come to the end of all the light you know, and it's time to step
> into the darkness of the unknown, faith is knowing that one of two things
> shall happen: Either you will be given something solid to stand on or you
> will be taught to fly.
>
> _______________________________________________
> --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/20090803/36543235/attachment-0001.htm 


More information about the asterisk-dev mailing list