[asterisk-bugs] [Asterisk 0017791]: [patch] use a realtime __options__ column to store several name=value pairs

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 4 09:01:28 CDT 2010


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=17791 
====================================================================== 
Reported By:                wdoekes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17791
Category:                   Resources/res_realtime
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-08-04 07:56 CDT
Last Modified:              2010-08-04 09:01 CDT
====================================================================== 
Summary:                    [patch] use a realtime __options__ column to store
several name=value pairs
Description: 
Hi,

I'd like to add a special realtime column name named "__options__" that
can hold several variables so I don't have to add a column to the table for
every variable I might want to use someday.

Example use:

I have an asterisk_sipfriends table with a couple of columns: name, type,
secret, host, ipaddr, port, nat.

Now there is one particular host that needs the "session-timers=refuse" to
be set. (In my case, an Alcatel box that lies about Supported: timer.) I
really don't want to add a "session-timers" column to the
asterisk_sipfriends table for two related reasons: (1) I just want to add
an "advanced config" field to my peer configuration interface, not a
specific session-timers option and (2) there might be some other option
that is needed at some point that I can set through this "advanced config"
string directly without having to alter the table again.
====================================================================== 

---------------------------------------------------------------------- 
 (0125522) tilghman (administrator) - 2010-08-04 09:01
 https://issues.asterisk.org/view.php?id=17791#c125522 
---------------------------------------------------------------------- 
I understand your interest in this, but this is not a direction we want to
take realtime architecture towards.  Sorry. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-04 09:01 tilghman       Note Added: 0125522                          
2010-08-04 09:01 tilghman       Status                   new => closed       
2010-08-04 09:01 tilghman       Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list