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");
Asterisk main include file. File version handling, generic pbx functions.
General Asterisk PBX channel definitions.
Support for logging to various files, console and syslog Configuration in file logger....
Asterisk locking-related definitions:
#define AST_RWLOCK_DEFINE_STATIC(rwlock)
#define SCOPED_WRLOCK(varname, lock)
scoped lock specialization for write locks
#define SCOPED_RDLOCK(varname, lock)
scoped lock specialization for read locks
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...
int ast_stop_mixmonitor(struct ast_channel *chan, const char *mixmon_id)
Stop a mixmonitor on a channel with the given parameters.
int ast_start_mixmonitor(struct ast_channel *chan, const char *filename, const char *options)
Start a mixmonitor on a channel with the given parameters.
static ast_rwlock_t mixmonitor_lock
int ast_clear_mixmonitor_methods(void)
Clear the MixMonitor virtual methods table. Use this to cleanup function pointers provided by a modul...
static struct ast_mixmonitor_methods mixmonitor_methods
loadable MixMonitor functionality
Main Channel structure associated with a channel.
MixMonitor virtual methods table definition.
ast_mixmonitor_stop_fn stop
ast_mixmonitor_start_fn start