From: Jeff Peeler Date: Wed, 27 Jan 2010 18:47:34 +0000 (+0000) Subject: Extend announcement URL used with Queue from 80 chars to PATH_MAX. X-Git-Tag: 1.4.30-rc2~5^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d889f4c1919f03e882b8cd99e9fd82f8ef3cf6d8;p=thirdparty%2Fasterisk.git 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/branches/1.4@243570 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 763f88f3a5..148caba2cc 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -335,7 +335,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 */