[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 05:37:05 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 05: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"





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

---------------------------------------------------------------------- 
 (0127083) marcelloceschia (reporter) - 2010-09-17 05:37
 https://issues.asterisk.org/view.php?id=17957#c127083 
---------------------------------------------------------------------- 
Ok, I try to explain.
If you would like to do everything in realtime and you dont want to touch
static configurations, like sip.conf, you have no option for the
registration strings
e.g:

[general]

register => user:pass at provider.tld/xxx


Normaly chan_sip does not parse the 2nd general context, so we are not
able to use the "realtime register strings".


Can you give me some example when this modification breaks existing
configurations? Perhaps we will find an other solution. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-17 05:37 marcelloceschiaNote Added: 0127083                          
======================================================================




More information about the asterisk-bugs mailing list