23 #ifndef _ASTERISK_AGI_H 24 #define _ASTERISK_AGI_H 26 #if defined(__cplusplus) || defined(c_plusplus) 144 #if defined(__cplusplus) || defined(c_plusplus) const char *const summary
const char *const seealso
Main Channel structure associated with a channel.
Optional API function macros.
int AST_OPTIONAL_API_NAME() ast_agi_unregister(agi_command *cmd)
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
ast_doc_src
From where the documentation come from, this structure is useful for use it inside application/functi...
int AST_OPTIONAL_API_NAME() ast_agi_register(struct ast_module *mod, agi_command *cmd)
#define AST_OPTIONAL_API_UNAVAILABLE
A common value for optional API stub functions to return.
int AST_OPTIONAL_API_NAME() ast_agi_unregister_multiple(struct agi_command *cmd, unsigned int len)
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
struct ast_speech * speech
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
int AST_OPTIONAL_API_NAME() ast_agi_register_multiple(struct ast_module *mod, struct agi_command *cmd, unsigned int len)
Asterisk XML Documentation API.
#define AST_OPTIONAL_API_ATTR(result, attr, name, proto, stub)
Declare an optional API function with compiler attributes.
Standard Command Line Interface.
static void handler(const char *name, int response_code, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response)
int AST_OPTIONAL_API_NAME() ast_agi_send(int fd, struct ast_channel *chan, char *fmt,...)
static snd_pcm_format_t format
struct agi_command agi_command