Call Completion Supplementary Services implementation.  
More...
Go to the source code of this file.
Call Completion Supplementary Services implementation. 
- Author
- Mark Michelson mmich.nosp@m.elso.nosp@m.n@dig.nosp@m.ium..nosp@m.com 
Definition in file func_callcompletion.c.
◆ __reg_module()
  
  | 
        
          | static void __reg_module | ( | void |  | ) |  |  | static | 
 
 
◆ __unreg_module()
  
  | 
        
          | static void __unreg_module | ( | void |  | ) |  |  | static | 
 
 
◆ acf_cc_read()
  
  | 
        
          | static int acf_cc_read | ( | struct ast_channel * | chan, |  
          |  |  | const char * | name, |  
          |  |  | char * | data, |  
          |  |  | char * | buf, |  
          |  |  | size_t | buf_len |  
          |  | ) |  |  |  | static | 
 
Definition at line 71 of file func_callcompletion.c.
   73{
   75    int res;
   76 
   77    if (!chan) {
   79        return -1;
   80    }
   81 
   85        return -1;
   86    }
   87 
   90    return res;
   91}
int ast_cc_get_param(struct ast_cc_config_params *params, const char *const name, char *buf, size_t buf_len)
get a CCSS configuration parameter, given its name
#define ast_channel_lock(chan)
struct ast_cc_config_params * ast_channel_get_cc_config_params(struct ast_channel *chan)
Get the CCSS parameters from a channel.
#define ast_channel_unlock(chan)
References ast_cc_get_param(), ast_channel_get_cc_config_params(), ast_channel_lock, ast_channel_unlock, ast_log, buf, LOG_WARNING, and name.
 
 
◆ acf_cc_write()
  
  | 
        
          | static int acf_cc_write | ( | struct ast_channel * | chan, |  
          |  |  | const char * | cmd, |  
          |  |  | char * | data, |  
          |  |  | const char * | value |  
          |  | ) |  |  |  | static | 
 
 
◆ AST_MODULE_SELF_SYM()
◆ load_module()
  
  | 
        
          | static int load_module | ( | void |  | ) |  |  | static | 
 
 
◆ unload_module()
  
  | 
        
          | static int unload_module | ( | void |  | ) |  |  | static | 
 
 
◆ __mod_info
◆ ast_module_info
◆ cc_function
Initial value:= {
    .name = "CALLCOMPLETION",
}
static int acf_cc_write(struct ast_channel *chan, const char *cmd, char *data, const char *value)
static int acf_cc_read(struct ast_channel *chan, const char *name, char *data, char *buf, size_t buf_len)
Definition at line 115 of file func_callcompletion.c.
  115                                                {
  116    .name = "CALLCOMPLETION",
  119};
Referenced by load_module(), and unload_module().