Remove weird mergeinfo props that make merges annoying sometimes.
[asterisk/asterisk.git] / addons / app_saycountpl.c
index fd921de..b4441f2 100644 (file)
@@ -22,6 +22,8 @@
 
 /*** MODULEINFO
        <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <replacement>say.conf</replacement>
  ***/
 
 #include "asterisk.h"
@@ -107,7 +109,7 @@ static int sayword_exec(struct ast_channel *chan, const char *data)
                return -1;
        }
 
-       if (sscanf(args.num, "%d", &inum) != 1) {
+       if (sscanf(args.num, "%30d", &inum) != 1) {
                ast_log(LOG_WARNING, "'%s' is not a valid number\n", args.num);
                return -1;
        }