mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Add recording agent's calls patch. Basically the call starts recording when the agent picks up and the file is stamped with the agent's id and the timestamp. Also optionally a URL link to that file may be inserted in the userfield of the CDR record. By default the recorded file will be mixed if soxmix is available.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15,7 +15,9 @@ struct ast_channel_monitor
|
||||
char read_filename[ FILENAME_MAX ];
|
||||
char write_filename[ FILENAME_MAX ];
|
||||
char filename_base[ FILENAME_MAX ];
|
||||
int filename_changed;
|
||||
char *format;
|
||||
int joinfiles;
|
||||
int (*stop)( struct ast_channel *chan, int need_lock);
|
||||
};
|
||||
|
||||
@@ -30,4 +32,6 @@ int ast_monitor_stop( struct ast_channel *chan, int need_lock);
|
||||
int ast_monitor_change_fname( struct ast_channel *chan,
|
||||
const char *fname_base, int need_lock );
|
||||
|
||||
void ast_monitor_setjoinfiles(struct ast_channel *chan, int turnon);
|
||||
|
||||
#endif /* _MONITOR_H */
|
||||
|
Reference in New Issue
Block a user