[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
Tue May 3 18:37:32 CDT 2011


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:              2011-05-03 18:37 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"





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

---------------------------------------------------------------------- 
 (0134379) svnbot (reporter) - 2011-05-03 18:37
 https://issues.asterisk.org/view.php?id=17957#c134379 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316428

U   trunk/CHANGES
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r316428 | tilghman | 2011-05-03 18:36:35 -0500 (Tue, 03 May 2011) | 16
lines

If multiple [general] contexts occur from sip.conf (usually due to
external includes), merge them.

The original implementation of this did the merging of all contexts with
the
same name in the realtime layer, but that implementation severely breaks
drivers which use the same context name (e.g. iax.conf, type={peer,user}).
Therefore, the implementation needs to do the merging for particular
entries
only, based upon what contexts would allow that in the channel driver
itself.
This implementation is for chan_sip only, but others could be added in the
future.

(closes issue https://issues.asterisk.org/view.php?id=17957)
 Reported by: marcelloceschia
 Patches: 
       chan-sip_parsing-general_branch162.patch uploaded by
marcelloceschia (license 1079)
 Tested by: tilghman

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=316428 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 18:37 svnbot         Checkin                                      
2011-05-03 18:37 svnbot         Note Added: 0134379                          
======================================================================




More information about the asterisk-bugs mailing list