[asterisk-bugs] [Asterisk 0011910]: [patch] VoiceMail d([context]) option does not set extension, priority

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Feb 3 11:47:53 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11910 
====================================================================== 
Reported By:                nic_bellamy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11910
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 102060 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-02-2008 18:23 CST
Last Modified:              02-03-2008 11:47 CST
====================================================================== 
Summary:                    [patch] VoiceMail d([context]) option does not set
extension, priority
Description: 
The VoiceMail() 'd' option is supposed to allow you to dial a single digit
extension during the playback of the initial prompt.

This doesn't work, but is easily fixed.

Using the following very simple example extensions.conf (assume voicemail
box is all happy):

[default]
exten => 200,1,VoiceMail(200,ud(vmexit))

[vmexit]
exten => _X,1,SayDigits(${EXTEN})
exten => _X,n,DumpChan()
exten => _X,n,Goto(default,200,1)

Now, when you start voicemail and enter a digit, it should jump to that
digit in the vmexit context.

It doesn't - it tries to jump to the original extension in the vmexit
context, ie.:

[Feb  3 13:01:26] WARNING[22057]: pbx.c:3358 __ast_pbx_run: Channel
'SIP/200-081ee6b8' sent into invalid extension '200' in context 'vmexit',
but no invalid handler

====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 02-03-08 11:47  
---------------------------------------------------------------------- 
So the only problem you could fix (and really, it's a feature that we
simply chose not to add) was to set channel variables that specified the
vmcontext and mailbox that were jumped out of.  You, of course, can get
nearly the same behavior by setting those variables prior to entering the
Voicemail application, assuming you're not using the Voicemail app to
request the mailbox number (which nearly nobody does anymore, anyway). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-03-08 11:47  Corydon76      Note Added: 0081630                          
======================================================================




More information about the asterisk-bugs mailing list