Merged revisions 89536 via svnmerge from
[asterisk/asterisk.git] / main / udptl.c
index a140cc4..8ae65b9 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include <sys/time.h>
 #include <signal.h>
-#include <errno.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <arpa/inet.h>
 #include <fcntl.h>
 
 #include "asterisk/udptl.h"
 #include "asterisk/frame.h"
-#include "asterisk/logger.h"
-#include "asterisk/options.h"
 #include "asterisk/channel.h"
 #include "asterisk/acl.h"
-#include "asterisk/channel.h"
 #include "asterisk/config.h"
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
 #include "asterisk/netsock.h"
 #include "asterisk/cli.h"
 #include "asterisk/unaligned.h"
-#include "asterisk/utils.h"
 
 #define UDPTL_MTU              1200
 
@@ -1197,9 +1184,9 @@ static char *handle_cli_udptl_debug_off(struct ast_cli_entry *e, int cmd, struct
 }
 
 static struct ast_cli_entry cli_udptl[] = {
-       NEW_CLI(handle_cli_udptl_debug,     "Enable UDPTL debugging"),
-       NEW_CLI(handle_cli_udptl_debug_ip,  "Enable UDPTL debugging on IP"),
-       NEW_CLI(handle_cli_udptl_debug_off, "Disable UDPTL debugging")
+       AST_CLI_DEFINE(handle_cli_udptl_debug,     "Enable UDPTL debugging"),
+       AST_CLI_DEFINE(handle_cli_udptl_debug_ip,  "Enable UDPTL debugging on IP"),
+       AST_CLI_DEFINE(handle_cli_udptl_debug_off, "Disable UDPTL debugging")
 };
 
 static void __ast_udptl_reload(int reload)