summaryrefslogtreecommitdiff
path: root/res/res_stun_monitor.c
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2010-10-11 21:39:37 +0000
committerDavid Vossel <dvossel@digium.com>2010-10-11 21:39:37 +0000
commit0736871cc67ba6c234bfefc6d87a567ad48df510 (patch)
tree2a503775a6717a9c1b9270c38ee5bce7afcac39b /res/res_stun_monitor.c
parentd8b4b9509afc1db737ba0a7872d1a985e6082705 (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: https://origsvn.digium.com/svn/asterisk/trunk@291193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_stun_monitor.c')
-rw-r--r--res/res_stun_monitor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_stun_monitor.c b/res/res_stun_monitor.c
index 49f231a1b..bec76c826 100644
--- a/res/res_stun_monitor.c
+++ b/res/res_stun_monitor.c
@@ -36,7 +36,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include <fcntl.h>
-static const int STANDARD_STUN_PORT = 3478;
static const int DEFAULT_MONITOR_REFRESH = 30;
static const char stun_conf_file[] = "res_stun_monitor.conf";