aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-13 09:24:26 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-13 09:24:26 +0000
commit21a40812cd572b42588fd5fc9e5b33de1dd762b1 (patch)
treee2b24f5dc18df0949e447dce595b6bd1f06acba7 /channels/chan_h323.c
parentee45dabeca5beae58889dfe5a9c76f0b87719296 (diff)
last try
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2020 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rwxr-xr-xchannels/chan_h323.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 5e23480e6..4077ea614 100755
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -1328,9 +1328,7 @@ static int h323_no_debug(int fd, int argc, char *argv[])
static int h323_gk_cycle(int fd, int argc, char *argv[])
{
return RESULT_SUCCESS;
-
-/* This works from a full console, but not -r ?! */
-
+#if 0
if (argc != 3) {
return RESULT_SHOWUSAGE;
}
@@ -1338,11 +1336,12 @@ static int h323_gk_cycle(int fd, int argc, char *argv[])
/* Possibly register with a GK */
if (!gatekeeper_disable) {
-// boom if -r if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
+ if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
ast_log(LOG_ERROR, "Gatekeeper registration failed.\n");
}
}
return RESULT_SUCCESS;
+#endif
}
static int h323_ep_hangup(int fd, int argc, char *argv[])