diff options
author | Jeremy McNamara <jj@nufone.net> | 2003-08-25 18:34:10 +0000 |
---|---|---|
committer | Jeremy McNamara <jj@nufone.net> | 2003-08-25 18:34:10 +0000 |
commit | 822d556924c1eb580110ab6fee6904bbf267942e (patch) | |
tree | 2682488a58faea4bad1f634378dd7862cd0bd616 /channels/h323/chan_h323.h | |
parent | 194998be613707456cb49f4b2ce4a09de995c86c (diff) |
sync any left over changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/chan_h323.h')
-rwxr-xr-x | channels/h323/chan_h323.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h index 926a2ea4a..190a8244f 100755 --- a/channels/h323/chan_h323.h +++ b/channels/h323/chan_h323.h @@ -23,6 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * + * Version Info: $Id$ */ #include <arpa/inet.h> @@ -105,6 +106,11 @@ typedef struct call_details { const char *sourceIp; } call_details_t; +typedef struct rtp_info { + char *addr; + unsigned int port; +} rtp_info_t; + /* This is a callback prototype function, called pass DTMF down the RTP. */ typedef int (*send_digit_cb)(unsigned, char); @@ -112,7 +118,7 @@ send_digit_cb on_send_digit; /* This is a callback prototype function, called to collect the external RTP port from Asterisk. */ -typedef int (*on_connection_cb)(unsigned); +typedef rtp_info_t *(*on_connection_cb)(unsigned); on_connection_cb on_create_connection; /* This is a callback prototype function, called upon |