Merged revisions 156688 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 Nov 2008 21:30:41 +0000 (21:30 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 Nov 2008 21:30:41 +0000 (21:30 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r156688 | tilghman | 2008-11-13 15:24:00 -0600 (Thu, 13 Nov 2008) | 7 lines

  Provide more space for all the data which can appear in an originating
  channel name.
  (closes issue #13398)
   Reported by: bamby
   Patches:
         manager.c.diff uploaded by bamby (license 430)
........

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

main/manager.c

index 01bd148..af80cbd 100644 (file)
@@ -2240,7 +2240,8 @@ static int action_command(struct mansession *s, const struct message *m)
 /*! \brief helper function for originate */
 struct fast_originate_helper {
        char tech[AST_MAX_EXTENSION];
-       char data[AST_MAX_EXTENSION];
+       /*! data can contain a channel name, extension number, username, password, etc. */
+       char data[512];
        int timeout;
        int format;                             /*!< Codecs used for a call */
        char app[AST_MAX_APP];