Index: include/asterisk/rtp.h =================================================================== RCS file: /usr/cvsroot/asterisk/include/asterisk/rtp.h,v retrieving revision 1.13 diff -u -r1.13 rtp.h --- include/asterisk/rtp.h 15 Nov 2003 00:52:49 -0000 1.13 +++ include/asterisk/rtp.h 18 May 2004 22:15:52 -0000 @@ -48,6 +48,12 @@ typedef int (*ast_rtp_callback)(struct ast_rtp *rtp, struct ast_frame *f, void *data); +void ast_rtp_set_portrange(int start, int end); + +void ast_rtp_get_portrange(int *start, int *end); + +struct ast_rtp *ast_rtp_create(struct sched_context *sched, struct io_context *io, int rtcpenable, int callbackmode, struct sockaddr_in * interface); +/* deprecated */ struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io, int rtcpenable, int callbackmode); void ast_rtp_set_peer(struct ast_rtp *rtp, struct sockaddr_in *them);