[asterisk-bugs] [Asterisk 0015989]: Finish implementation of OBJ_MULTIPLE support in astobj2

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 16:24:46 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15989 
====================================================================== 
Reported By:                kpfleming
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   15989
Category:                   Core/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-29 11:08 CDT
Last Modified:              2009-10-21 16:24 CDT
====================================================================== 
Summary:                    Finish implementation of OBJ_MULTIPLE support in
astobj2
Description: 
The ao2_find() and ao2_callback() functions were designed to be able to
return multiple results if the caller specifies OBJ_MULTIPLE *without*
OBJ_NODATA, but the implementation was never finished. This causes users of
this API to have to use non-hash-based find/callback operations or to
implement their object manipulation actions in the callback function that
they provide, which leads to complex and hard to maintain code in some
cases.

I will post a patch to the ReviewBoard to add this functionality, and use
it in the ast_channel_iterator API calls to improve their efficiency.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 16:24 kpfleming      Status                   assigned => closed  
2009-10-21 16:24 kpfleming      Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list