# Debugging Asterisk (Source Code)

**URL:** <https://community.asterisk.org/t/debugging-asterisk-source-code/42569>\
**Category:** Asterisk Support\
**Created:** [April 24, 2013, 9:32am UTC](https://community.asterisk.org/t/debugging-asterisk-source-code/42569 "2013-04-24T09:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgil](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/sgil/32/330_2.png) [@sgil](https://community.asterisk.org/u/sgil)\
**Post date:** [April 24, 2013, 9:32am UTC](https://community.asterisk.org/t/debugging-asterisk-source-code/42569/1 "2013-04-24T09:32:38Z")

</div>

Hi,

Is there any way to see the source code which is running when the dialplan executes an application? (i.e. Dial, Hangup, Record, Monitor, etc).

In the other hand, how can extend the parameters from a original implementation of an application?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 24, 2013, 10:05am UTC](https://community.asterisk.org/t/debugging-asterisk-source-code/42569/2 "2013-04-24T10:05:58Z")

</div>

The source code for most applications can be found in apps/app\_.c in the source tree. A few, special applications, may be in the core code in the main directory.

Applications register with the core when their module is loaded, so string searching for the application name in double quotes will also help you find them.

You probably want to be on the developer mailing list or IRC channel, rather than here.

I’m also a bit surprised that you need to ask this question.

---

<div class="post-metadata">

**Author:** ![sgil](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/sgil/32/330_2.png) [@sgil](https://community.asterisk.org/u/sgil)\
**Post date:** [April 24, 2013, 10:26am UTC](https://community.asterisk.org/t/debugging-asterisk-source-code/42569/3 "2013-04-24T10:26:50Z")

</div>

Thanks again David.

I’m a forced developer of Asterisk, so I need to understand too many things in shortly time 😆

I know where are the source code of the applications that I need, but I wanna know the behavior and the steps in the source code of this application.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [April 24, 2013, 10:32am UTC](https://community.asterisk.org/t/debugging-asterisk-source-code/42569/4 "2013-04-24T10:32:35Z")

</div>

Read the source code. That is the only thing you can do for that level of information.
