[asterisk-bugs] [Asterisk 0016741]: Application Directory does not respect the [vm-context] context and selects users from the default context

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 31 17:27:16 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16741 
====================================================================== 
Reported By:                cwolff09
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16741
Category:                   Applications/app_directory
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-31 17:27 CST
Last Modified:              2010-01-31 17:27 CST
====================================================================== 
Summary:                    Application Directory does not respect the
[vm-context] context and selects users from the default context
Description: 
Hello,

I'm running Asterisk 1.6.2.0 on a Centos 5 box (Linux version
2.6.18-164.10.1.el5 (mockbuild at builder16.centos.org) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-46)) https://issues.asterisk.org/view.php?id=1 SMP Thu
Jan 7 20:00:41 EST 2010)

I have separate contexts defined in voicemail.conf as follows:

[abcdental]
100 => 1234,John Doe

And call application directory using the following syntax:
exten => 1,1,Directory([abcdental][,abcdental[,f]])

However since I migrated from 1.4 to 1.6, app_directory no longer parses
the voicemail.conf to match the full name of the mailbox.  App_directory
only matches directory names based on the entries registered to the default
context (voicemail show users)

Therefore my workaround has been to define the users in users.conf;
however the problem with that is that the fullnames in users.conf only
register to the default voicemail context.  

It seems that the first argument of the app directory "vm-context"
Directory([vm-context][,dial-context[,options]]) is broken as
app_directory will only return matches from the default context regardless
of vm-context specified.  Thank you.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-31 17:27 cwolff09       New Issue                                    
2010-01-31 17:27 cwolff09       Asterisk Version          => 1.6.2.0         
2010-01-31 17:27 cwolff09       Regression                => No              
2010-01-31 17:27 cwolff09       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list