summaryrefslogtreecommitdiff
path: root/channels/h323/chan_h323.h
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2003-09-06 20:29:25 +0000
committerJeremy McNamara <jj@nufone.net>2003-09-06 20:29:25 +0000
commit059b57438bdf638690fea69376c64f7260d78bba (patch)
treea2806c79e3d65e65f96eeaa40ab158e95a0e7c7f /channels/h323/chan_h323.h
parentebae0a11be59aaca90689c591c9abd3e99b50204 (diff)
implement transfer and call forwarding. Bug #221
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/chan_h323.h')
-rwxr-xr-xchannels/h323/chan_h323.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h
index 190a8244f..c1f5a90cf 100755
--- a/channels/h323/chan_h323.h
+++ b/channels/h323/chan_h323.h
@@ -131,6 +131,11 @@ setup_incoming_cb on_incoming_call;
typedef int (*setup_outbound_cb)(call_details_t);
setup_outbound_cb on_outgoing_call;
+/* This is a callback prototype function, called upon
+ a transfer. */
+typedef int (*setup_transfer_cb)(unsigned int, const char *);
+setup_transfer_cb on_transfer_call;
+
/* This is a callback prototype function, called when the openh323
OnStartLogicalChannel is invoked. */
typedef void (*start_logchan_cb)(unsigned int, const char *, int);
@@ -164,7 +169,15 @@ extern "C" {
void h323_debug(int, unsigned);
/* callback function handler*/
- void h323_callback_register(setup_incoming_cb, setup_outbound_cb, on_connection_cb, start_logchan_cb, clear_con_cb, con_established_cb, send_digit_cb);
+ void h323_callback_register(setup_incoming_cb,
+ setup_outbound_cb,
+ setup_transfer_cb,
+ on_connection_cb,
+ start_logchan_cb,
+ clear_con_cb,
+ con_established_cb,
+ send_digit_cb);
+
int h323_set_capability(int, int);
int h323_set_alias(struct oh323_alias *);