Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Morsecode application. More...
#include "asterisk.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/indications.h"
Go to the source code of this file.
Functions | |
AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY, "Morse code") | |
static int | load_module (void) |
static int | morsecode_exec (struct ast_channel *chan, const char *data) |
static int | playtone (struct ast_channel *chan, int tone, int len) |
static int | unload_module (void) |
Variables | |
static const char *const | americanmorsecode [] |
static const char | app_morsecode [] = "Morsecode" |
static const char *const | internationalcode [] |
Morsecode application.
Definition in file app_morsecode.c.
AST_MODULE_INFO_STANDARD_EXTENDED | ( | ASTERISK_GPL_KEY | , |
"Morse code" | |||
) |
|
static |
Definition at line 289 of file app_morsecode.c.
References app_morsecode, ast_register_application_xml, and morsecode_exec().
|
static |
Definition at line 181 of file app_morsecode.c.
References americanmorsecode, ast_channel_lock, ast_channel_unlock, ast_log, ast_strlen_zero(), digit, internationalcode, LOG_WARNING, pbx_builtin_getvar_helper(), and playtone().
Referenced by load_module().
|
static |
Definition at line 170 of file app_morsecode.c.
References ast_playtones_start(), ast_playtones_stop(), ast_safe_sleep(), and len().
Referenced by action_bridge(), and morsecode_exec().
|
static |
Definition at line 284 of file app_morsecode.c.
References app_morsecode, and ast_unregister_application().
|
static |
Definition at line 126 of file app_morsecode.c.
Referenced by morsecode_exec().
|
static |
Definition at line 80 of file app_morsecode.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 82 of file app_morsecode.c.
Referenced by morsecode_exec().