[asterisk-dev] Asterisk dialplan application

Kai Hoerner kai at ciphron.de
Mon Jan 11 10:17:37 CST 2010


Hi Salvatore,

Docs for pbx_findapp():
http://www.asterisk.org/doxygen/asterisk1.4/pbx_8c.html#0db9808b647984133225652170b22b79
Docs for pbx_exec():
http://www.asterisk.org/doxygen/asterisk1.4/pbx_8c.html#fb87ff7a4504ef6031a45ae4170acaad

For more details see:
http://www.asterisk.org/developers/documentation


Example code:

const char *app_data = NULL;
int app_res = 0;
struct ast_channel *chan = NULL;
struct ast_app *app = NULL;

app = pbx_findapp("StopMonitor");
/* populate the other variables */

if (app) {
    app_res = pbx_exec(chan, app, app_data);
}


Best regards,

Kaii


Salvatore Frandina wrote;
> Hi all,
>
> I would like to know where can i find documentation about Asterisk 
> handle the dialplan application. I'm developing a C code. How can i 
> call application like dial, record from my C code?
>
> Thank you in advance
>
> -- 
> _______________________________________
> Salvatore Frandina
> website: http://frandinas.altervista.org
> mail: salvatore.frandina at gmail.com <mailto:salvatore.frandina at gmail.com>
>
> _______________________________________
>




More information about the asterisk-dev mailing list