48 ast_debug(3,
"%s: Sending answer command\n",
76 .requires =
"res_stasis",
Main Channel structure associated with a channel.
Asterisk main include file. File version handling, generic pbx functions.
int stasis_app_send_command(struct stasis_app_control *control, stasis_app_command_cb command, void *data, command_data_destructor_fn data_destructor)
Invokes a command on a control's channel.
static int app_control_answer(struct stasis_app_control *control, struct ast_channel *chan, void *data)
int ast_raw_answer(struct ast_channel *chan)
Answer a channel.
#define ast_debug(level,...)
Log a DEBUG message.
int stasis_app_control_answer(struct stasis_app_control *control)
Answer the channel associated with this control.
static int load_module(void)
Backend API for implementing components of res_stasis.
const char * stasis_app_control_get_channel_id(const struct stasis_app_control *control)
Returns the uniqueid of the channel associated with this control.
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS|AST_MODFLAG_LOAD_ORDER, "HTTP Phone Provisioning",.support_level=AST_MODULE_SUPPORT_EXTENDED,.load=load_module,.unload=unload_module,.reload=reload,.load_pri=AST_MODPRI_CHANNEL_DEPEND,.requires="http",)
static int unload_module(void)
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.