|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
Stack applications callback functions. More...
#include <app.h>
Data Fields | |
| const char *(* | expand_sub_args )(struct ast_channel *chan, const char *args) |
| Add missing context/exten to Gosub application argument string. | |
| void *int(* | run_sub )(struct ast_channel *chan, const char *args, int ignore_hangup) |
| Callback for the routine to run a subroutine on a channel. | |
Stack applications callback functions.
Definition at line 175 of file include/asterisk/app.h.
| const char *(* expand_sub_args) (struct ast_channel *chan, const char *args) |
Add missing context/exten to Gosub application argument string.
| chan | Channel to obtain context/exten. |
| args | Gosub application argument string. |
Fills in the optional context and exten from the given channel.
| NULL | on error. |
Definition at line 208 of file include/asterisk/app.h.
Referenced by ast_app_expand_sub_args().
| void *int(* run_sub) (struct ast_channel *chan, const char *args, int ignore_hangup) |
Callback for the routine to run a subroutine on a channel.
Module reference pointer so the module will stick around while a callback is active.
| chan | Channel to execute subroutine on. |
| args | Gosub application argument string. |
| ignore_hangup | TRUE if a hangup does not stop execution of the routine. |
| 0 | success |
| -1 | on error |
Definition at line 194 of file include/asterisk/app.h.
Referenced by ast_app_exec_sub(), and load_module().