[asterisk-bugs] [Asterisk 0007063]: [branch][post 1.4] Allow caller to dial 1-9 while leaving voicemail

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Oct 5 12:37:31 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7063 
====================================================================== 
Reported By:                bluecrow76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   7063
Category:                   Applications/app_voicemail
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): trunk 
SVN Revision (number only!): 24053 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             05-01-2006 17:05 CDT
Last Modified:              10-05-2007 12:37 CDT
====================================================================== 
Summary:                    [branch][post 1.4] Allow caller to dial 1-9 while
leaving voicemail
Description: 
Currently, app_voicemail will allow you to fall out to the o and a
extension by pressing 0 and * respectively while leaving a voicemail.  This
patch allows the user to press 1-9 and falls out to the extensions vm1-vm9
based on the number pressed.  It uses the same logic that existed in
app_voicemail.c for the a and o extensions.  The patch was created on
1.2.7.1, but patches svn 24053 just fine.

When the user presses 0-9 or *, app_voicemail sets the channel variable
VMMAILBOX to the vmu->mailbox.

We created this patch to allow users to say "I am currently away from my
desk, press 1 to reach my cell phone or 0 for the operator," as well as any
other scenarios we/you can think of.  The application will set VMMAILBOX to
the mailbox that was being accessed so the dialplan can handle the logic of
dealing with what cell phone number to dial, or whatever action needs to be
taken.
====================================================================== 

---------------------------------------------------------------------- 
 bluecrow76 - 10-05-07 12:37  
---------------------------------------------------------------------- 
The complete patch (v3) has just been uploaded.  It supports the
VMEXITCONTEXT, the Voicemail application d option and leaving the
application from listening to the greeting or recording a message.  The v3
patch for 1-9 jumps straight to the extension and does not give options for
sending a partially recorded message.

The 1.4.11 patch has been tested on our office server today and have had
no issues.  The svn patch has not been tested.  I applied the 1.4.11 patch
to SVN and had 3 out of 20 hunks fail:

File to patch: apps/app_voicemail.c
patching file apps/app_voicemail.c
Hunk http://bugs.digium.com/view.php?id=1 succeeded at 243 with fuzz 2 (offset
44 lines).
Hunk http://bugs.digium.com/view.php?id=3 succeeded at 657 (offset 282 lines).
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 735.
Hunk http://bugs.digium.com/view.php?id=5 succeeded at 2721 (offset -68 lines).
Hunk http://bugs.digium.com/view.php?id=6 succeeded at 3145 (offset 275 lines).
Hunk http://bugs.digium.com/view.php?id=7 succeeded at 2896 (offset -71 lines).
Hunk http://bugs.digium.com/view.php?id=8 FAILED at 3045.
Hunk http://bugs.digium.com/view.php?id=9 succeeded at 3487 with fuzz 2 (offset
296 lines).
Hunk http://bugs.digium.com/view.php?id=10 succeeded at 3148 (offset -71 lines).
Hunk http://bugs.digium.com/view.php?id=11 succeeded at 6508 (offset 526 lines).
Hunk http://bugs.digium.com/view.php?id=12 succeeded at 5925 (offset -71 lines).
Hunk http://bugs.digium.com/view.php?id=13 succeeded at 6533 (offset 526 lines).
Hunk http://bugs.digium.com/view.php?id=14 succeeded at 5975 (offset -71 lines).
Hunk http://bugs.digium.com/view.php?id=15 succeeded at 6680 with fuzz 1 (offset
520 lines).
Hunk http://bugs.digium.com/view.php?id=16 FAILED at 7535.
Hunk http://bugs.digium.com/view.php?id=17 succeeded at 8498 (offset 260 lines).
Hunk http://bugs.digium.com/view.php?id=18 succeeded at 8770 (offset 520 lines).
Hunk http://bugs.digium.com/view.php?id=19 succeeded at 8574 (offset 260 lines).
Hunk http://bugs.digium.com/view.php?id=20 succeeded at 8850 with fuzz 1 (offset
520 lines).
3 out of 20 hunks FAILED -- saving rejects to file
apps/app_voicemail.c.rej

The failed hunks were due to some changes in the IMAP lines and removal of
deprecated options. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-05-07 12:37  bluecrow76     Note Added: 0071547                          
======================================================================




More information about the asterisk-bugs mailing list