[asterisk-dev] function ARRAY slows asterisk down

Russell Bryant russell at digium.com
Thu Nov 20 11:52:35 CST 2008

Theo Belder wrote:
> I 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?

Even if you're using func_odbc in combination with other functions, when 
the actual lookup is being done, func_odbc will handle putting the 
channel into autoservice.

Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.

More information about the asterisk-dev mailing list