| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Playback the special information tone to get rid of telemarketers. More...
#include "asterisk.h"#include "asterisk/lock.h"#include "asterisk/file.h"#include "asterisk/channel.h"#include "asterisk/pbx.h"#include "asterisk/module.h"#include "asterisk/translate.h"#include "asterisk/app.h"
Go to the source code of this file.
| Functions | |
| AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY, "Block Telemarketers with Special Information Tone") | |
| static int | load_module (void) | 
| static int | unload_module (void) | 
| static int | zapateller_exec (struct ast_channel *chan, const char *data) | 
| Variables | |
| static char * | app = "Zapateller" | 
Playback the special information tone to get rid of telemarketers.
Definition in file app_zapateller.c.
| AST_MODULE_INFO_STANDARD_EXTENDED | ( | ASTERISK_GPL_KEY | , | 
| "Block Telemarketers with Special Information Tone" | |||
| ) | 
| 
 | static | 
Definition at line 136 of file app_zapateller.c.
References app, AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_register_application_xml, and zapateller_exec().
| 
 | static | 
Definition at line 131 of file app_zapateller.c.
References app, and ast_unregister_application().
| 
 | static | 
Definition at line 82 of file app_zapateller.c.
References answer(), args, ast_answer(), AST_APP_ARG, ast_channel_caller(), AST_DECLARE_APP_ARGS, ast_safe_sleep(), AST_STANDARD_APP_ARGS, AST_STATE_UP, ast_stopstream(), ast_strdupa, ast_strlen_zero(), ast_tonepair(), options, and pbx_builtin_setvar_helper().
Referenced by load_module().
| 
 | static | 
Definition at line 80 of file app_zapateller.c.
Referenced by load_module(), and unload_module().