[asterisk-bugs] [Asterisk 0012275]: [patch] Add support for setting individual contexts in users.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 7 13:19:31 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12275 
====================================================================== 
Reported By:                sespindola
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12275
Category:                   PBX/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 110606 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-03-21 18:48 CDT
Last Modified:              2008-10-07 13:19 CDT
====================================================================== 
Summary:                    [patch] Add support for setting individual contexts
in users.conf
Description: 
Right now, as far as I know, the only way to configure a context for users
is to set "userscontext=mynewcontext" in the general section of
extensions.conf.

Due to a project I'm currently working on, a need has arised to separate
users
into multiple contexts. So I hacked together this patch that recognizes
the
"context=" configuration option in each user entry and, if present,
registers
the user into that context.

If the user doesn't have a context= option, the value of userscontext is
set.


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

---------------------------------------------------------------------- 
 (0093306) blitzrage (administrator) - 2008-10-07 13:19
 http://bugs.digium.com/view.php?id=12275#c93306 
---------------------------------------------------------------------- 
I'm suspending this bug for now as there doesn't appear to be an easy way
to move this issue forward. My personal opinion is that I don't like the
idea of assigning multiple contexts to a single peer anyways -- I'd prefer
you use a single context (say... "[custom_username]" and perform include
=>'s within there to assign them to multiple contexts.

If someone has a way to move this issue forward, then please feel free to
re-open it, or find a bug marshall on IRC to open it for you. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-07 13:19 blitzrage      Note Added: 0093306                          
======================================================================




More information about the asterisk-bugs mailing list