git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@90 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2005-12-06 21:25:56 +00:00
parent 935c23ca8b
commit 46b0e12a66
8 changed files with 127 additions and 9 deletions
+7
View File
@@ -83,6 +83,11 @@ struct switch_io_event_hook_waitfor_write {
struct switch_io_event_hook_waitfor_write *next;
};
struct switch_io_event_hook_send_dtmf {
switch_send_dtmf_hook send_dtmf;
struct switch_io_event_hook_send_dtmf *next;
};
struct switch_io_event_hooks {
struct switch_io_event_hook_outgoing_channel *outgoing_channel;
struct switch_io_event_hook_answer_channel *answer_channel;
@@ -91,6 +96,7 @@ struct switch_io_event_hooks {
struct switch_io_event_hook_kill_channel *kill_channel;
struct switch_io_event_hook_waitfor_read *waitfor_read;
struct switch_io_event_hook_waitfor_write *waitfor_write;
struct switch_io_event_hook_send_dtmf *send_dtmf;
};
struct switch_io_routines {
@@ -101,6 +107,7 @@ struct switch_io_routines {
switch_status (*kill_channel)(switch_core_session *, int);
switch_status (*waitfor_read)(switch_core_session *, int);
switch_status (*waitfor_write)(switch_core_session *, int);
switch_status (*send_dtmf)(switch_core_session *, char *);
};
/*