23 #ifndef _ASTERISK_MONITOR_H 24 #define _ASTERISK_MONITOR_H 37 const char *fname_base,
int need_lock,
int stream_action,
Main Channel structure associated with a channel.
Optional API function macros.
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
General Asterisk PBX channel definitions.
int AST_OPTIONAL_API_NAME() ast_monitor_start(struct ast_channel *chan, const char *format_spec, const char *fname_base, int need_lock, int stream_action, const char *beep_id)
Start monitoring a channel.
int AST_OPTIONAL_API_NAME() ast_monitor_change_fname(struct ast_channel *chan, const char *fname_base, int need_lock)
Change monitored filename of channel.
int AST_OPTIONAL_API_NAME() ast_monitor_unpause(struct ast_channel *chan)
Unpause monitoring of channel.
int AST_OPTIONAL_API_NAME() ast_monitor_stop(struct ast_channel *chan, int need_lock)
Stop monitoring channel.
void AST_OPTIONAL_API_NAME() ast_monitor_setjoinfiles(struct ast_channel *chan, int turnon)
int AST_OPTIONAL_API_NAME() ast_monitor_pause(struct ast_channel *chan)
Pause monitoring of channel.