Asterisk - The Open Source Telephony Project
18.5.0
|
AGI Extension interfaces - Asterisk Gateway Interface. More...
Go to the source code of this file.
Data Structures | |
struct | agi_command |
struct | agi_state |
Typedefs | |
typedef struct agi_state | AGI |
typedef struct agi_command | agi_command |
AGI Extension interfaces - Asterisk Gateway Interface.
Definition in file agi.h.
typedef struct agi_command agi_command |
|
static |
Definition at line 78 of file agi.h.
|
static |
Definition at line 110 of file agi.h.
|
static |
Definition at line 142 of file agi.h.
|
static |
Definition at line 91 of file agi.h.
|
static |
Definition at line 127 of file agi.h.
|
static |
Definition at line 78 of file agi.h.
|
static |
Definition at line 110 of file agi.h.
|
static |
Definition at line 142 of file agi.h.
|
static |
Definition at line 91 of file agi.h.
|
static |
Definition at line 127 of file agi.h.
|
static |
Registers an AGI command.
mod | Pointer to the module_info structure for the module that is registering the command |
cmd | Pointer to the descriptor for the command |
1 | on success |
0 | the command is already registered |
AST_OPTIONAL_API_UNAVAILABLE | the module is not loaded. |
Definition at line 78 of file agi.h.
References ast_agi_unregister(), AST_OPTIONAL_API, and AST_OPTIONAL_API_UNAVAILABLE.
|
static |
Registers a group of AGI commands, provided as an array of struct agi_command entries.
mod | Pointer to the module_info structure for the module that is registering the commands |
cmd | Pointer to the first entry in the array of command descriptors |
len | Length of the array (use the ARRAY_LEN macro to determine this easily) |
Definition at line 110 of file agi.h.
References ast_agi_unregister_multiple(), AST_OPTIONAL_API, and AST_OPTIONAL_API_UNAVAILABLE.
|
static |
Sends a string of text to an application connected via AGI.
fd | The file descriptor for the AGI session (from struct agi_state) |
chan | Pointer to an associated Asterisk channel, if any |
fmt | printf-style format string |
Definition at line 142 of file agi.h.
References AST_OPTIONAL_API_UNAVAILABLE.
|
static |
Unregisters an AGI command.
cmd | Pointer to the descriptor for the command |
Definition at line 91 of file agi.h.
References ast_agi_register_multiple(), AST_OPTIONAL_API, AST_OPTIONAL_API_UNAVAILABLE, and len().
|
static |
Unregisters a group of AGI commands, provided as an array of struct agi_command entries.
cmd | Pointer to the first entry in the array of command descriptors |
len | Length of the array (use the ARRAY_LEN macro to determine this easily) |
Definition at line 127 of file agi.h.
References ast_agi_send(), AST_OPTIONAL_API_ATTR, AST_OPTIONAL_API_UNAVAILABLE, agi_state::fd, and format.
|
static |
|
static |
|
static |
|
static |
|
static |