49 ast_log(
LOG_ERROR,
"Tried to set mixmonitor methods, but something else has already provided them.\n");
64 ast_log(
LOG_ERROR,
"Tried to clear mixmonitor methods, but none are currently loaded.\n");
79 ast_log(
LOG_ERROR,
"No loaded module currently provides MixMonitor starting functionality.\n");
91 ast_log(
LOG_ERROR,
"No loaded module currently provides MixMonitor stopping functionality.\n");
Main Channel structure associated with a channel.
int ast_start_mixmonitor(struct ast_channel *chan, const char *filename, const char *options)
Start a mixmonitor on a channel with the given parameters.
Asterisk locking-related definitions:
Asterisk main include file. File version handling, generic pbx functions.
#define AST_RWLOCK_DEFINE_STATIC(rwlock)
#define SCOPED_WRLOCK(varname, lock)
scoped lock specialization for write locks
static ast_rwlock_t mixmonitor_lock
#define SCOPED_RDLOCK(varname, lock)
scoped lock specialization for read locks
MixMonitor virtual methods table definition.
General Asterisk PBX channel definitions.
int ast_stop_mixmonitor(struct ast_channel *chan, const char *mixmon_id)
Stop a mixmonitor on a channel with the given parameters.
int ast_clear_mixmonitor_methods(void)
Clear the MixMonitor virtual methods table. Use this to cleanup function pointers provided by a modul...
Support for logging to various files, console and syslog Configuration in file logger.conf.
static struct ast_mixmonitor_methods mixmonitor_methods
ast_mixmonitor_stop_fn stop
loadable MixMonitor functionality
ast_mixmonitor_start_fn start
int ast_set_mixmonitor_methods(struct ast_mixmonitor_methods *method_table)
Setup MixMonitor virtual methods table. Use this to provide the MixMonitor functionality from a loada...