Main Channel structure associated with a channel.
static const char stopplaytones_app[]
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
struct ast_tone_zone * ast_channel_zone(const struct ast_channel *chan)
void ast_playtones_stop(struct ast_channel *chan)
Stop playing tones on a channel.
int ast_unregister_application(const char *app)
Unregister an application.
#define ast_strlen_zero(foo)
static int handle_playtones(struct ast_channel *chan, const char *data)
static int load_module(void)
General Asterisk PBX channel definitions.
static const char playtones_app[]
static struct ast_tone_zone_sound * ast_tone_zone_sound_unref(struct ast_tone_zone_sound *ts)
Release a reference to an ast_tone_zone_sound.
Core PBX routines and definitions.
struct ast_tone_zone_sound * ast_get_indication_tone(const struct ast_tone_zone *zone, const char *indication)
Locate a tone zone sound.
Module has failed to load, may be in an inconsistent state.
int ast_playtones_start(struct ast_channel *chan, int vol, const char *tonelist, int interruptible)
Start playing a list of tones on a channel.
const char * data
Description of a tone.
#define ASTERISK_GPL_KEY
The text the key() function should return.
static int unload_module(void)
static int handle_stopplaytones(struct ast_channel *chan, const char *data)
Asterisk module definitions.
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.