diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-13 21:30:41 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-13 21:30:41 +0000 |
commit | c2d30ffaa58b4001e2cda8f20cc8e56e73ef041a (patch) | |
tree | f1fe2a47a8a07d048fe56d70dc0261c49bc54813 | |
parent | 93a59f5bdae27be89fbd7c1bf476e7f1ee1f3769 (diff) |
Merged revisions 156688 via svnmerge from
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
-rw-r--r-- | main/manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c index 01bd1485e..af80cbd0b 100644 --- a/main/manager.c +++ b/main/manager.c @@ -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]; |