[asterisk-bugs] [Asterisk 0017957]: [patch] merging categories from with static config to have realtime feature for register

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 17 10:21:34 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17957 
====================================================================== 
Reported By:                marcelloceschia
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17957
Category:                   Resources/res_config_pgsql
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.10 
JIRA:                       SWP-2168 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 280623 
Request Review:              
====================================================================== 
Date Submitted:             2010-09-06 08:19 CDT
Last Modified:              2010-09-17 10:21 CDT
====================================================================== 
Summary:                    [patch] merging categories from with static config
to have realtime feature for register
Description: 
with this patch we are able to use satic and reatime configuration at the
same time.
Some example:

in extconfig.conf we can add:
sip_register.conf => pgsql,asterisk,sip_register

in sip.conf just add under [general]:
#include "sip_register.conf"





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

---------------------------------------------------------------------- 
 (0127097) tilghman (administrator) - 2010-09-17 10:21
 https://issues.asterisk.org/view.php?id=17957#c127097 
---------------------------------------------------------------------- 
The problem is that we sometimes have multiple contexts with the same
name:

In chan_iax2:

[foo]
type=user
...

[foo]
type=peer
...

If it's the general context that you want merged, then I would suggest
that you instead modify the sip channel driver to parse all such contexts
in the configuration, not to merge contexts with the same name in the
realtime backend driver.  This would be a fairly simple change and should
not break any valid existing configurations.  The downside is that you'll
need to modify each module for which you want that change. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-17 10:21 tilghman       Note Added: 0127097                          
======================================================================




More information about the asterisk-bugs mailing list