diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-11 21:39:37 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-11 21:39:37 +0000 |
commit | 59f0ada67ef1d82903474682b7289fd8aa2bdac5 (patch) | |
tree | 2a503775a6717a9c1b9270c38ee5bce7afcac39b /include/asterisk/stun.h | |
parent | 3a2d627768e3e67e7cbf4a786d2ccb7ee3574421 (diff) |
Merged revisions 291192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r291192 | dvossel | 2010-10-11 16:38:39 -0500 (Mon, 11 Oct 2010) | 19 lines
Gtalk enhancements and general code cleanup.
This patch includes several chan_gtalk enhancements.
Two new gtalk.conf options have been added, externip
and stunadd. Setting externip allows us to
manually specify what the external IP address is
outside of a NAT environment. Setting the stunaddr
option to a valid stun server allows for that external
ip to be retrieved via a STUN server automatically. This
external IP is then advertised during call setup as
a possible candidate.
I have also attempted to clean up chan_gtalk's code
so it meets our coding guidelines. During this cleanup
I noticed several things that need to be done in the
code and made a TODO section at the top of the file.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@291193 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/stun.h')
-rw-r--r-- | include/asterisk/stun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/stun.h b/include/asterisk/stun.h index 11921f814..1fda0c33d 100644 --- a/include/asterisk/stun.h +++ b/include/asterisk/stun.h @@ -32,6 +32,8 @@ extern "C" { #endif +static const int STANDARD_STUN_PORT = 3478; + enum ast_stun_result { AST_STUN_IGNORE = 0, AST_STUN_ACCEPT, |