Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16112/include/asterisk

Modified Files:
        rtp.h 
Log Message:
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT


Index: rtp.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/rtp.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- rtp.h       30 Aug 2005 18:32:10 -0000      1.23
+++ rtp.h       9 Sep 2005 19:54:34 -0000       1.24
@@ -50,7 +50,7 @@
        /* Get RTP struct, or NULL if unwilling to transfer */
        struct ast_rtp *(* const get_vrtp_info)(struct ast_channel *chan);
        /* Set RTP peer */
-       int (* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp 
*peer, struct ast_rtp *vpeer, int codecs);
+       int (* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp 
*peer, struct ast_rtp *vpeer, int codecs, int nat_active);
        int (* const get_codec)(struct ast_channel *chan);
        const char * const type;
        struct ast_rtp_protocol *next;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to