Stasis application control support.  
More...
Go to the source code of this file.
Stasis application control support. 
- Author
- David M. Lee, II dlee@.nosp@m.digi.nosp@m.um.co.nosp@m.m 
Definition in file res_stasis_answer.c.
◆ __reg_module()
  
  | 
        
          | static void __reg_module | ( | void |  | ) |  |  | static | 
 
 
◆ __unreg_module()
  
  | 
        
          | static void __unreg_module | ( | void |  | ) |  |  | static | 
 
 
◆ app_control_answer()
◆ AST_MODULE_SELF_SYM()
◆ load_module()
  
  | 
        
          | static int load_module | ( | void |  | ) |  |  | static | 
 
 
◆ stasis_app_control_answer()
Answer the channel associated with this control. 
- Parameters
- 
  
    | control | Control for res_stasis. |  
 
- Returns
- 0 for success. 
- 
Non-zero for error. 
Definition at line 44 of file res_stasis_answer.c.
   45{
   46    int retval;
   47 
   48    ast_debug(3, 
"%s: Sending answer command\n",
 
   50 
   52 
   53    if (retval != 0) {
   56        return -1;
   57    }
   58 
   59    return 0;
   60}
static int app_control_answer(struct stasis_app_control *control, struct ast_channel *chan, void *data)
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.
References app_control_answer(), ast_debug, ast_log, LOG_WARNING, NULL, stasis_app_control_get_channel_id(), and stasis_app_send_command().
Referenced by ast_ari_channels_answer().
 
 
◆ unload_module()
  
  | 
        
          | static int unload_module | ( | void |  | ) |  |  | static | 
 
 
◆ __mod_info
◆ ast_module_info