From d2978bbfa7ac0ea8f1f37e871c1a807433ccb36e Mon Sep 17 00:00:00 2001 From: jeremy Date: Sat, 6 Sep 2003 20:29:25 +0000 Subject: implement transfer and call forwarding. Bug #221 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1482 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/h323/chan_h323.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'channels/h323/chan_h323.h') 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 *); -- cgit v1.2.3