aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/chan_h323.h
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-06 20:29:25 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-06 20:29:25 +0000
commitd2978bbfa7ac0ea8f1f37e871c1a807433ccb36e (patch)
treea2806c79e3d65e65f96eeaa40ab158e95a0e7c7f /channels/h323/chan_h323.h
parente2ab0fa5f49745b3a831bdb5e580dc0565c48db3 (diff)
implement transfer and call forwarding. Bug #221
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1482 f38db490-d61c-443f-a65b-d21fe96a405b
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 *);