diff options
author | Jeremy McNamara <jj@nufone.net> | 2004-09-19 16:53:01 +0000 |
---|---|---|
committer | Jeremy McNamara <jj@nufone.net> | 2004-09-19 16:53:01 +0000 |
commit | 199ec4356afa6fa709207ac253714f96b0b43ddd (patch) | |
tree | 1191a9bad4167a2b67e2c02a4054e90421a07fab /channels/h323/chan_h323.h | |
parent | 5dad6f431952e676de90a573fb036e6473467487 (diff) |
protect against seg on busy systems. Bug #2249
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/chan_h323.h')
-rwxr-xr-x | channels/h323/chan_h323.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h index 3e0e848f6..691fec635 100755 --- a/channels/h323/chan_h323.h +++ b/channels/h323/chan_h323.h @@ -119,7 +119,7 @@ extern send_digit_cb on_send_digit; /* This is a callback prototype function, called to collect the external RTP port from Asterisk. */ -typedef rtp_info_t *(*on_connection_cb)(unsigned); +typedef rtp_info_t *(*on_connection_cb)(unsigned, const char *); extern on_connection_cb on_create_connection; /* This is a callback prototype function, called upon @@ -134,17 +134,17 @@ extern setup_outbound_cb on_outgoing_call; /* This is a callback prototype function, called when the openh323 OnStartLogicalChannel is invoked. */ -typedef void (*start_logchan_cb)(unsigned int, const char *, int); +typedef void (*start_logchan_cb)(unsigned int, const char *, int, const char *); extern start_logchan_cb on_start_logical_channel; /* This is a callback prototype function, called when openh323 OnAlerting is invoked */ -typedef void (*chan_ringing_cb)(unsigned); +typedef void (*chan_ringing_cb)(unsigned, const char *); extern chan_ringing_cb on_chan_ringing; /* This is a callback protoype function, called when the openh323 OnConnectionEstablished is inovked */ -typedef void (*con_established_cb)(unsigned); +typedef void (*con_established_cb)(unsigned, const char *); extern con_established_cb on_connection_established; /* This is a callback prototype function, called when the openH323 @@ -152,7 +152,7 @@ extern con_established_cb on_connection_established; typedef void (*clear_con_cb)(call_details_t); extern clear_con_cb on_connection_cleared; -typedef int (*answer_call_cb)(unsigned); +typedef int (*answer_call_cb)(unsigned, const char *); extern answer_call_cb on_answer_call; /* debug flag */ |