Merged revisions 243570 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Wed, 27 Jan 2010 18:49:52 +0000 (18:49 +0000)
committerJeff Peeler <jpeeler@digium.com>
Wed, 27 Jan 2010 18:49:52 +0000 (18:49 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r243570 | jpeeler | 2010-01-27 12:47:34 -0600 (Wed, 27 Jan 2010) | 9 lines

  Extend announcement URL used with Queue from 80 chars to PATH_MAX.

  (closes issue #16488)
  Reported by: syspert
  Patches:
        soundfilelen.pacth-2 uploaded by syspert (license 938)

  Review: https://reviewboard.asterisk.org/r/475/
........

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

apps/app_queue.c

index de771da..1338066 100644 (file)
@@ -806,7 +806,7 @@ struct callattempt {
 struct queue_ent {
        struct call_queue *parent;             /*!< What queue is our parent */
        char moh[80];                          /*!< Name of musiconhold to be used */
-       char announce[80];                     /*!< Announcement to play for member when call is answered */
+       char announce[PATH_MAX];               /*!< Announcement to play for member when call is answered */
        char context[AST_MAX_CONTEXT];         /*!< Context when user exits queue */
        char digits[AST_MAX_EXTENSION];        /*!< Digits entered while in queue */
        int valid_digits;                      /*!< Digits entered correspond to valid extension. Exited */