#include <asterisk/lock.h>
Include dependency graph for indications.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | tone_zone_sound |
struct | tone_zone |
Functions | |
int | ast_set_indication_country (const char *country) |
tone_zone * | ast_get_indication_zone (const char *country) |
tone_zone_sound * | ast_get_indication_tone (const struct tone_zone *zone, const char *indication) |
int | ast_register_indication_country (struct tone_zone *country) |
int | ast_unregister_indication_country (const char *country) |
int | ast_register_indication (struct tone_zone *zone, const char *indication, const char *tonelist) |
int | ast_unregister_indication (struct tone_zone *zone, const char *indication) |
int | ast_playtones_start (struct ast_channel *chan, int vol, const char *tonelist, int interruptible) |
void | ast_playtones_stop (struct ast_channel *chan) |
Variables | |
tone_zone * | tone_zones |
ast_mutex_t | tzlock |
|
Definition at line 288 of file indications.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, LOG_WARNING, tone_zone_sound::next, tone_zones, tone_zone::tones, and tzlock. Referenced by ast_indicate().
|
|
Definition at line 250 of file indications.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, LOG_NOTICE, LOG_WARNING, tone_zone::next, tone_zones, and tzlock. Referenced by ast_set_indication_country().
|
|
Definition at line 149 of file indications.c. References ast_activate_generator(), ast_log(), playtones_item::duration, free, playtones_item::freq1, playtones_item::freq2, playtones_def::interruptible, playtones_def::items, LOG_WARNING, playtones_item::modulate, ast_channel::name, playtones_def::nitems, realloc, playtones_def::reppos, s, and playtones_def::vol. Referenced by ast_indicate().
|
|
Stop the tones from playing Definition at line 220 of file indications.c. References ast_deactivate_generator(). Referenced by ast_indicate().
|
|
Definition at line 419 of file indications.c. References tone_zone::alias, ast_log(), ast_mutex_lock, ast_mutex_unlock, free, LOG_WARNING, malloc, tone_zone_sound::next, strdup, tone_zone::tones, and tzlock.
|
|
Definition at line 334 of file indications.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, ast_verbose(), tone_zone::country, LOG_WARNING, tone_zone::next, option_verbose, tone_zones, tzlock, and VERBOSE_PREFIX_3.
|
|
Definition at line 235 of file indications.c. References ast_get_indication_zone(), ast_verbose(), option_verbose, and VERBOSE_PREFIX_3.
|
|
Definition at line 465 of file indications.c. References tone_zone::alias, ast_log(), ast_mutex_lock, ast_mutex_unlock, free, LOG_WARNING, tone_zone_sound::next, tone_zone::tones, and tzlock.
|
|
Definition at line 374 of file indications.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, ast_verbose(), LOG_NOTICE, LOG_WARNING, tone_zone::next, option_verbose, tone_zones, tzlock, and VERBOSE_PREFIX_3.
|
|
Definition at line 74 of file indications.h. Referenced by ast_get_indication_tone(), ast_get_indication_zone(), ast_register_indication_country(), and ast_unregister_indication_country(). |
|
Definition at line 75 of file indications.h. Referenced by ast_get_indication_tone(), ast_get_indication_zone(), ast_register_indication(), ast_register_indication_country(), ast_unregister_indication(), and ast_unregister_indication_country(). |