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:
Martin Pycko
2004-02-03 16:57:00 +00:00
parent 9bd6034f9b
commit 860f35a7ab
7 changed files with 186 additions and 13 deletions

View File

@@ -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 */