[Home]

Summary:ASTERISK-00381: Voicemail2 cuts off characters in emailbody= setting
Reporter:John Todd (jtodd)Labels:
Date Opened:2003-10-13 22:07:44Date Closed:2008-01-15 14:36:04.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) vm2__bugfix__20031013_2.diff
( 1) vm2__bugfix__20031013_3.diff
Description:It appears that the emailbody= configuration option for voicemail2 has a character limit of around 500 places.  In order to present a truly informative email message, a bit more than 500 characters may be necessary.  Can this string size be bumped up a bit?
Comments:By: Tilghman Lesher (tilghman) 2003-10-13 23:54:33

It was actually (template_size * 2).  This patch bumps it up to (template_size * 3 + 200).  That should be big enough for anybody.

By: John Todd (jtodd) 2003-10-14 00:51:38

Thanks for the quick turnaround!  I am probably applying this patch incorrectly, but I get an error on attempts to patch after a cut/paste of the patch into a patchfile (I use this method for all my other patches without problems, including the other voicemail patch ASTERISK-382 that you just submitted)

[root@ms1 asterisk]# patch -p0 </tmp/vm2patch2
patching file apps/app_voicemail2.c
patch: **** unexpected end of file in patch
[root@ms1 asterisk]#

By: Tilghman Lesher (tilghman) 2003-10-14 01:16:43

Yes, I had to do some cutting/pasting with this patch due to that other patchset.  I can produce a diff for both bugs, though.

By: Mark Spencer (markster) 2003-10-14 04:37:48

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:36:04.000-0600

Repository: asterisk
Revision: 1631

U   trunk/apps/app_voicemail2.c

------------------------------------------------------------------------
r1631 | markster | 2008-01-15 14:36:04 -0600 (Tue, 15 Jan 2008) | 2 lines

Voicemail2  fixes for attachment and timezone stuff (bug ASTERISK-381/ASTERISK-382)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1631