From fd5a84c61bba5c8931772f10fd87417786e0a09f Mon Sep 17 00:00:00 2001 From: file Date: Thu, 11 Jan 2007 05:19:39 +0000 Subject: Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50466 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/rtp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index f6f26e942..501068987 100644 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -180,6 +180,8 @@ char *ast_rtp_lookup_mime_multiple(char *buf, size_t size, const int capability, void ast_rtp_setnat(struct ast_rtp *rtp, int nat); +int ast_rtp_getnat(struct ast_rtp *rtp); + /*! \brief Indicate whether this RTP session is carrying DTMF or not */ void ast_rtp_setdtmf(struct ast_rtp *rtp, int dtmf); -- cgit v1.2.3