Review Board 1.7.16


VoicemailMain and VMauthenticate: Like VoiceMail allow escape to the 'a' extension when a single '*' is entered in Mailbox or Password

Review Request #489 - Created Feb. 4, 2010 and submitted

Alec Davis
trunk
Reviewers
asterisk-dev
Asterisk
VoiceMail() already has the ability to escape to the single digit 'a' extension.

Where a site uses VoiceMailMain(mailbox), the users have to be at their own extension to clear their voicemail, they have no way of escaping VoiceMailMain to allow entering there own mailbox.
There are other reasons to require escape also.

The only option currently is to dial another number where VoiceMailMain() is called without the mailbox parmeter, and asks for Mailbox and Password.

This patch, allows a site to include to 'a' extension in the current dialplan context, to allow an escape.

If the 'a' priority doesn't exist in the context VoicemailMain is called from, then it acts as the old behaviour.
Tested both VoiceMailMain and VMauthenticate with the 'a' extension present and not. All 4 senarios performed as expected.
Using the following dialplan:

[voicemail-main]
exten => s,1,Answer()

exten => s,n,VMAuthenticate()
exten => s,n,VoiceMailMain()
exten => s,n,Verbose(0,After VoiceMailMain)
exten => s,n,Hangup

exten => a,1,Verbose(0,User entered *)
exten => a,n,Playback(connecting)
exten => a,n,Goto(s,1)

Changes between revision 2 and 3

1 2 3 4
1 2 3 4

  1. trunk/UPGRADE.txt: Loading...
  2. trunk/apps/app_voicemail.c: Loading...
trunk/UPGRADE.txt
Revision 245500 New Change
[20] 64 lines
[+20]
65
  now include the interrupted file and bugs in argument parsing have been
65
  now include the interrupted file and bugs in argument parsing have been
66
  fixed so there may be arguments specified in incorrect ways that were
66
  fixed so there may be arguments specified in incorrect ways that were
67
  working that will no longer work.
67
  working that will no longer work.
68
  Please see doc/externalivr.txt for details.
68
  Please see doc/externalivr.txt for details.
69

    
   
69

   

    
   
70
* VoiceMailMain and VMAuthenticate, if a '*' is entered in the first position

    
   
71
  of a Mailbox or Password, will, if it exists, jump to the 'a' extension in

    
   
72
  the current dialplan context.

    
   
73

   
70
From 1.6.1 to 1.6.2:
74
From 1.6.1 to 1.6.2:
71

    
   
75

   
72
* SIP no longer sends the 183 progress message for early media by
76
* SIP no longer sends the 183 progress message for early media by
73
  default.  Applications requiring early media should use the
77
  default.  Applications requiring early media should use the
74
  progress() dialplan app to generate the progress message. 
78
  progress() dialplan app to generate the progress message. 
[+20] [20] 148 lines
trunk/apps/app_voicemail.c
Diff Revision 2 Diff Revision 3
 
  1. trunk/UPGRADE.txt: Loading...
  2. trunk/apps/app_voicemail.c: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.