[asterisk-bugs] [Asterisk 0015410]: Template system overriding

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 2 13:55:37 CST 2010


The following issue has been set as RELATED TO issue 0016855. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15410 
====================================================================== 
Reported By:                PLL
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15410
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 203802 
Request Review:              
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-26 19:05 CDT
Last Modified:              2010-03-02 13:55 CST
====================================================================== 
Summary:                    Template system overriding
Description: 
# users.conf
[00](!) ; Some defaults
hasiax=yes
hasvoicemail=yes
hasmanager=no
context=overriding

[01](!) ; Only one default here
context=overriding

[10] ; no template
hasiax=yes
hasvoicemail=yes
hasmanager=yes
context=overriding

[11](00) ; notice that it can't override the template.
hasiax=no
hasvoicemail=no
hasmanager=yes

[12](01) ; Works as expected.
hasiax=no
hasvoicemail=no
hasmanager=yes

# EOF

# User 11 shouldn't be in iax2 list.
*CLI> iax2 show users
Username         Secret                Authen           Def.Context     
A/C    Codec Pref
10               -no secret-           000000000000003  users           
No     Host
11               -no secret-           000000000000003  users           
No     Host

# User 11 shouldn't be on voicemail list.
*CLI> voicemail show users
Context    Mbox  User                      Zone       NewMsg
default    10                                              0
default    11                                              0
default    maxmsg                                           0
3 voicemail users configured.

# User 11 should be on manager list
*CLI> manager show users

username
--------
10
12
-------------------
2 manager users configured.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016855 Template examples in documentation impl...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-02 13:55 lmadsen        Relationship added       related to 0016855  
======================================================================




More information about the asterisk-bugs mailing list