[asterisk-bugs] [Asterisk 0013940]: [patch] The function ARRAY slows asterisk down

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 20 10:40:24 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13940 
====================================================================== 
Reported By:                tbelder
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13940
Category:                   Functions/func_strings
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-20 09:13 CST
Last Modified:              2008-11-20 10:40 CST
====================================================================== 
Summary:                    [patch] The function ARRAY slows asterisk down
Description: 
Channel autoservice should removed from the code for function ARRAY().

I will provide a patch for this.
====================================================================== 

---------------------------------------------------------------------- 
 (0095188) tbelder (reporter) - 2008-11-20 10:40
 http://bugs.digium.com/view.php?id=13940#c95188 
---------------------------------------------------------------------- 
FYI: i've sent this email to Russell Bryant since i'm wondering whether
this is the right solution.


---------------------
I am wondering whether that removing autoservice in this case would be
such a good idea.
Since the Set(ARRAY()) function is also used in combination of func_odbc
to set multiple entries from a database lookup.
Obviously an ODBC lookup might also block for an appreciable period of
time.
If this is indeed the case, then the autoservice should also be called
during a normal Set(). Am I mistaken? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-20 10:40 tbelder        Note Added: 0095188                          
======================================================================




More information about the asterisk-bugs mailing list