[asterisk-bugs] [Asterisk 0011887]: [patch] new REALTIME_STORE() and REALTIME_DESTROY() functions

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 6 10:20:59 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11887 
====================================================================== 
Reported By:                sergee
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   11887
Category:                   Functions/func_realtime
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 101373 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-31-2008 06:15 CST
Last Modified:              02-06-2008 10:20 CST
====================================================================== 
Summary:                    [patch] new REALTIME_STORE() and REALTIME_DESTROY()
functions
Description: 
This patch adds new dialplan functions, which utilize store&destroy RT API.


REALTIME_STORE(family,field)=value
creates a new record in the RT storage, and sets field to value specified
on the right.

SET(XXX=${REALTIME_DESTROY(family,field,value)})
acts in the same way as REALTIME(), except that it removes matched record
from RT storage.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 02-06-08 10:20  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 102700

U   trunk/funcs/func_realtime.c

------------------------------------------------------------------------
r102700 | twilson | 2008-02-06 10:20:58 -0600 (Wed, 06 Feb 2008) | 10
lines

Add REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by
sergee.
I just added the ability to set multiple fields at once after discussions
with
Tilghman and Russell.  Currently limited to 30 fields.

(closes issue http://bugs.digium.com/view.php?id=11887)
Reported by: sergee
Patches: 
      rt-func-store-destroy-multivalue.diff uploaded by otherwiseguy
(license 396)
Tested by: sergee, otherwiseguy

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-06-08 10:20  svnbot         Checkin                                      
02-06-08 10:20  svnbot         Note Added: 0081795                          
02-06-08 10:20  svnbot         Status                   feedback => assigned
02-06-08 10:20  svnbot         Assigned To              otherwiseguy => twilson
======================================================================




More information about the asterisk-bugs mailing list