[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:43:51 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:43 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:43  
---------------------------------------------------------------------- 
Actually, the 'd' option is supposed to allow you to dial ANY extension
within the destination context, not just single digit extensions.  It's why
we didn't set the extension or priority AT ALL, but pass back the digit to
the pbx routines to allow them to complete the extension, as the context
specifies. 

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




More information about the asterisk-bugs mailing list