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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 29 11:08:40 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15989 
====================================================================== 
Reported By:                kpfleming
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15989
Category:                   Core/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-29 11:08 CDT
Last Modified:              2009-09-29 11:08 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-09-29 11:08 kpfleming      New Issue                                    
2009-09-29 11:08 kpfleming      Asterisk Version          => SVN             
2009-09-29 11:08 kpfleming      Regression                => No              
2009-09-29 11:08 kpfleming      SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
======================================================================




More information about the asterisk-bugs mailing list