| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
App to transmit a text message. More...
#include "asterisk.h"#include "asterisk/file.h"#include "asterisk/channel.h"#include "asterisk/pbx.h"#include "asterisk/module.h"#include "asterisk/app.h"#include "asterisk/message.h"
Go to the source code of this file.
| Functions | |
| static void | __reg_module (void) | 
| static void | __unreg_module (void) | 
| struct ast_module * | AST_MODULE_SELF_SYM (void) | 
| static int | load_module (void) | 
| static int | recvtext_exec (struct ast_channel *chan, const char *data) | 
| static int | sendtext_exec (struct ast_channel *chan, const char *data) | 
| static int | unload_module (void) | 
| Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Send and Receive Text Applications" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } | 
| static const char *const | app = "SendText" | 
| static const char *const | app2 = "ReceiveText" | 
| static const struct ast_module_info * | ast_module_info = &__mod_info | 
App to transmit a text message.
Definition in file app_sendtext.c.
| 
 | static | 
Definition at line 334 of file app_sendtext.c.
| 
 | static | 
Definition at line 334 of file app_sendtext.c.
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) | 
Definition at line 334 of file app_sendtext.c.
| 
 | static | 
Definition at line 324 of file app_sendtext.c.
References app, app2, ast_register_application_xml, recvtext_exec(), and sendtext_exec().
| 
 | static | 
Definition at line 283 of file app_sendtext.c.
References args, AST_APP_ARG, AST_DECLARE_APP_ARGS, ast_free, ast_log, ast_recvtext(), AST_STANDARD_APP_ARGS, ast_strdupa, ast_strlen_zero(), buf, LOG_WARNING, and pbx_builtin_setvar_helper().
Referenced by load_module().
| 
 | static | 
Definition at line 192 of file app_sendtext.c.
References ARRAY_LEN, ast_begins_with(), ast_channel_lock, ast_channel_unlock, ast_free, ast_msg_data_alloc(), AST_MSG_DATA_ATTR_BODY, AST_MSG_DATA_ATTR_CONTENT_TYPE, AST_MSG_DATA_ATTR_FROM, AST_MSG_DATA_ATTR_TO, AST_MSG_DATA_SOURCE_TYPE_IN_DIALOG, ast_sendtext(), ast_sendtext_data(), ast_str_alloca, ast_str_buffer(), ast_str_get_encoded_str(), ast_strlen_zero(), cleanup(), NULL, pbx_builtin_getvar_helper(), pbx_builtin_setvar_helper(), S_OR, send_text(), status, str, and ast_msg_data_attribute::type.
Referenced by load_module().
| 
 | static | 
Definition at line 314 of file app_sendtext.c.
References app, app2, and ast_unregister_application().
| 
 | static | 
Definition at line 334 of file app_sendtext.c.
| 
 | static | 
Definition at line 189 of file app_sendtext.c.
Referenced by load_module(), and unload_module().
| 
 | static | 
Definition at line 190 of file app_sendtext.c.
Referenced by load_module(), and unload_module().
| 
 | static | 
Definition at line 334 of file app_sendtext.c.