[asterisk-bugs] [Asterisk 0015410]: Template system overriding
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jun 26 19:05:50 CDT 2009
The following issue has been SUBMITTED.
======================================================================
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: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 203802
Request Review:
======================================================================
Date Submitted: 2009-06-26 19:05 CDT
Last Modified: 2009-06-26 19:05 CDT
======================================================================
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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-26 19:05 PLL New Issue
2009-06-26 19:05 PLL Asterisk Version => SVN
2009-06-26 19:05 PLL Regression => No
2009-06-26 19:05 PLL SVN Branch (only for SVN checkouts, not tarball
releases) => trunk
2009-06-26 19:05 PLL SVN Revision (number only!) => 203802
======================================================================
More information about the asterisk-bugs
mailing list