Merged revisions 64756 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 17 May 2007 16:49:50 +0000 (16:49 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 17 May 2007 16:49:50 +0000 (16:49 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64756 | russell | 2007-05-17 11:47:29 -0500 (Thu, 17 May 2007) | 3 lines

Increase the size of a buffer to support longer dial strings for channels.
(issue #9291, reported and fix suggested by meni)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64757 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index b216079..89f0856 100644 (file)
@@ -1184,7 +1184,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
        int to; /* timeout */
        struct cause_args num = { chan, 0, 0, 0 };
        int cause;
-       char numsubst[AST_MAX_EXTENSION];
+       char numsubst[256];
        char cidname[AST_MAX_EXTENSION];
 
        struct ast_bridge_config config;