[asterisk-commits] tilghman: branch 1.6.0 r219413 - in /branches/1.6.0: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 18 08:57:11 CDT 2009
Author: tilghman
Date: Fri Sep 18 08:57:07 2009
New Revision: 219413
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=219413
Log:
Merged revisions 219412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r219412 | tilghman | 2009-09-18 08:54:51 -0500 (Fri, 18 Sep 2009) | 6 lines
Missing value setting line for maxsecs/maxmessage
(closes issue #15696)
Reported by: fhackenberger
Patches:
maxsecs.patch uploaded by fhackenberger (license 592)
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/apps/app_voicemail.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/apps/app_voicemail.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/apps/app_voicemail.c?view=diff&rev=219413&r1=219412&r2=219413
==============================================================================
--- branches/1.6.0/apps/app_voicemail.c (original)
+++ branches/1.6.0/apps/app_voicemail.c Fri Sep 18 08:57:07 2009
@@ -769,6 +769,7 @@
} else if (!strcasecmp(var, "exitcontext")) {
ast_copy_string(vmu->exit, value, sizeof(vmu->exit));
} else if (!strcasecmp(var, "maxmessage") || !strcasecmp(var, "maxsecs")) {
+ vmu->maxsecs = atoi(value);
if (vmu->maxsecs <= 0) {
ast_log(LOG_WARNING, "Invalid max message length of %s. Using global value %d\n", value, vmmaxsecs);
vmu->maxsecs = vmmaxsecs;
More information about the asterisk-commits
mailing list