Thu Sep 7 01:03:32 2017

Asterisk developer's documentation


monitor.h File Reference

Channel monitoring. More...

#include "asterisk/channel.h"
#include "asterisk/optional_api.h"

Go to the source code of this file.

Data Structures

struct  ast_channel_monitor

Defines

#define X_JOIN   4
#define X_REC_IN   1
#define X_REC_OUT   2

Enumerations

enum  AST_MONITORING_STATE { AST_MONITOR_RUNNING, AST_MONITOR_PAUSED }

Functions

 AST_OPTIONAL_API (int, ast_monitor_unpause,(struct ast_channel *chan),{return-1;})
 AST_OPTIONAL_API (int, ast_monitor_pause,(struct ast_channel *chan),{return-1;})
 AST_OPTIONAL_API (void, ast_monitor_setjoinfiles,(struct ast_channel *chan, int turnon),{return;})
 AST_OPTIONAL_API (int, ast_monitor_change_fname,(struct ast_channel *chan, const char *fname_base, int need_lock),{return-1;})
 AST_OPTIONAL_API (int, ast_monitor_stop,(struct ast_channel *chan, int need_lock),{return-1;})
 AST_OPTIONAL_API (int, ast_monitor_start,(struct ast_channel *chan, const char *format_spec, const char *fname_base, int need_lock, int stream_action),{return-1;})

Detailed Description

Channel monitoring.

Definition in file monitor.h.


Define Documentation

#define X_JOIN   4

Definition at line 37 of file monitor.h.

Referenced by start_monitor_exec().

#define X_REC_IN   1
#define X_REC_OUT   2

Enumeration Type Documentation

Enumerator:
AST_MONITOR_RUNNING 
AST_MONITOR_PAUSED 

Definition at line 29 of file monitor.h.

00029                           {
00030    AST_MONITOR_RUNNING,
00031    AST_MONITOR_PAUSED
00032 };


Function Documentation

AST_OPTIONAL_API ( int  ,
ast_monitor_unpause  ,
(struct ast_channel *chan)   
)
AST_OPTIONAL_API ( int  ,
ast_monitor_pause  ,
(struct ast_channel *chan)   
)
AST_OPTIONAL_API ( void  ,
ast_monitor_setjoinfiles  ,
(struct ast_channel *chan, int turnon)   
)
AST_OPTIONAL_API ( int  ,
ast_monitor_change_fname  ,
(struct ast_channel *chan, const char *fname_base, int need_lock)   
)
AST_OPTIONAL_API ( int  ,
ast_monitor_stop  ,
(struct ast_channel *chan, int need_lock)   
)
AST_OPTIONAL_API ( int  ,
ast_monitor_start  ,
(struct ast_channel *chan, const char *format_spec, const char *fname_base, int need_lock, int stream_action)   
)

Generated on 7 Sep 2017 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1