Asterisk - The Open Source Telephony Project
18.5.0
|
Wait for Ring Application. More...
#include "asterisk.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/lock.h"
Go to the source code of this file.
Functions | |
AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY, "Waits until first ring after time") | |
static int | load_module (void) |
static int | unload_module (void) |
static int | waitforring_exec (struct ast_channel *chan, const char *data) |
Variables | |
static char * | app = "WaitForRing" |
Wait for Ring Application.
Definition in file app_waitforring.c.
AST_MODULE_INFO_STANDARD_EXTENDED | ( | ASTERISK_GPL_KEY | , |
"Waits until first ring after time" | |||
) |
Referenced by load_module().
|
static |
Definition at line 136 of file app_waitforring.c.
References app, AST_MODULE_INFO_STANDARD_EXTENDED(), ast_register_application_xml, ASTERISK_GPL_KEY, and waitforring_exec().
|
static |
Definition at line 131 of file app_waitforring.c.
References app, and ast_unregister_application().
|
static |
Definition at line 58 of file app_waitforring.c.
References ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), AST_CONTROL_RING, AST_FRAME_CONTROL, ast_frfree, ast_log, ast_opt_transmit_silence, ast_read(), ast_remaining_ms(), ast_tvnow(), ast_verb, ast_waitfor(), ast_frame::frametype, ast_frame_subclass::integer, LOG_WARNING, NULL, and ast_frame::subclass.
Referenced by load_module().
|
static |
Definition at line 56 of file app_waitforring.c.
Referenced by load_module(), and unload_module().