[Freeswitch-trunk] [commit] r3789 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN mikej at freeswitch.org
Thu Dec 21 17:01:22 EST 2006


Author: mikej
Date: Thu Dec 21 17:01:20 2006
New Revision: 3789

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Log:
disable controls until there is security

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Thu Dec 21 17:01:20 2006
@@ -3818,12 +3818,17 @@
             if (strcasecmp(argv[0], "list") == 0) {
                 conference_list_pretty(conference, &stream);
                 /* provide help */
-            } else if (strcasecmp(argv[0], "help") == 0 || strcasecmp(argv[0], "commands") == 0) {
-                stream.write_function(&stream, "%s\n", conf_api_interface.syntax);
-                /* find a normal command */
-            } else {
-                conf_api_dispatch(conference, &stream, argc, argv, (const char *)body, 0);
+            } 
+#if 0
+            else {
+                if (strcasecmp(argv[0], "help") == 0 || strcasecmp(argv[0], "commands") == 0) {
+                    stream.write_function(&stream, "%s\n", conf_api_interface.syntax);
+                    /* find a normal command */
+                } else {
+                    conf_api_dispatch(conference, &stream, argc, argv, (const char *)body, 0);
+                }
             }
+#endif
         } else {
             stream.write_function(&stream, "No parameters specified.\nTry 'help'\n");
         }



More information about the Freeswitch-trunk mailing list