aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-11 21:38:39 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-11 21:38:39 +0000
commit998e92ed35db02e2b09b83818b1b2b39f464e9e2 (patch)
tree57c20e664c4665b3b725a5adb3c89eb741e71423 /res
parentd7395f7444094787b408eda1fe5e21a8e47e94f2 (diff)
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/branches/1.8@291192 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-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 54be1e44c..e3ca9fb71 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";