aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-03 16:57:00 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-03 16:57:00 +0000
commitf38bc8131c9eda8d0b0eabaafbaa53f4247989c4 (patch)
tree737412e9d633692be843c8429cc62df22fc5cfd7 /include
parent30674920f6b94533e355a87eaf823cf14bcba9ef (diff)
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: http://svn.digium.com/svn/asterisk/trunk@2121 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/monitor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/monitor.h b/include/asterisk/monitor.h
index 206b3b557..b62499d1f 100755
--- a/include/asterisk/monitor.h
+++ b/include/asterisk/monitor.h
@@ -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 */