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 3 and 4

1 2 3 4
1 2 3 4

  1. /trunk/UPGRADE.txt: Loading...
  2. /trunk/apps/app_voicemail.c: Loading...
  3. trunk/UPGRADE.txt: Loading...
  4. trunk/apps/app_voicemail.c: Loading...
/trunk/UPGRADE.txt
Revision 262004 New Change
[20] 75 lines
[+20]
76
  OSPRESULTS to OSPDESTREMAILS
76
  OSPRESULTS to OSPDESTREMAILS
77

    
   
77

   
78
* The Manager event 'iax2 show peers' output has been updated.  It now has a
78
* The Manager event 'iax2 show peers' output has been updated.  It now has a
79
  similar output of 'sip show peers'.
79
  similar output of 'sip show peers'.
80

    
   
80

   

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

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

    
   
83
  the current dialplan context.

    
   
84

   
81
From 1.6.1 to 1.6.2:
85
From 1.6.1 to 1.6.2:
82

    
   
86

   
83
* SIP no longer sends the 183 progress message for early media by
87
* SIP no longer sends the 183 progress message for early media by
84
  default.  Applications requiring early media should use the
88
  default.  Applications requiring early media should use the
85
  progress() dialplan app to generate the progress message. 
89
  progress() dialplan app to generate the progress message. 
[+20] [20] 148 lines
/trunk/apps/app_voicemail.c
Diff Revision 3 Diff Revision 4
 
trunk/UPGRADE.txt
Diff Revision 3 Diff Revision 4 - File Reverted
 
trunk/apps/app_voicemail.c
Diff Revision 3 Diff Revision 4 - File Reverted
 
  1. /trunk/UPGRADE.txt: Loading...
  2. /trunk/apps/app_voicemail.c: Loading...
  3. trunk/UPGRADE.txt: Loading...
  4. 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.