diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-11 05:21:03 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-11 05:21:03 +0000 |
commit | 4942fd94d2201b92eed4c08d88313a98dab0ff2d (patch) | |
tree | 9f490e2ba326942057ba3c47d35929f6493f077c /include/asterisk | |
parent | 4aba5a78d9fb2746e6218dc40d9049c87d9ce9c4 (diff) |
Merged revisions 50466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50466 | file | 2007-01-11 00:19:39 -0500 (Thu, 11 Jan 2007) | 2 lines
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: https://origsvn.digium.com/svn/asterisk/trunk@50467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/rtp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 2edff8cad..85f3b1903 100644 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -186,6 +186,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); |