From e6ec107095e052276e613f40ff60bb593146531f Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 8 Jul 2004 11:46:15 +0000 Subject: Extend bindaddr to RTP connections on SIP (bug #1989 et al) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3393 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/rtp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk') diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 6f01e1e11..3d6b0a793 100755 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -50,6 +50,8 @@ typedef int (*ast_rtp_callback)(struct ast_rtp *rtp, struct ast_frame *f, void * struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io, int rtcpenable, int callbackmode); +struct ast_rtp *ast_rtp_new_with_bindaddr(struct sched_context *sched, struct io_context *io, int rtcpenable, int callbackmode, struct in_addr in); + void ast_rtp_set_peer(struct ast_rtp *rtp, struct sockaddr_in *them); void ast_rtp_get_peer(struct ast_rtp *rtp, struct sockaddr_in *them); -- cgit v1.2.3