[asterisk-bugs] [Asterisk 0017791]: use a realtime __options__ column to store several name=value pairs
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 4 07:56:42 CDT 2010
The following issue has been SUBMITTED.
======================================================================
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: new
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:
======================================================================
Date Submitted: 2010-08-04 07:56 CDT
Last Modified: 2010-08-04 07:56 CDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-08-04 07:56 wdoekes New Issue
2010-08-04 07:56 wdoekes Asterisk Version => 1.6.2.10
2010-08-04 07:56 wdoekes Regression => No
2010-08-04 07:56 wdoekes SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list