Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: apmuthu on February 25, 2013, 09:18:07 AM

Title: code in queuesSQL.php commented out - why?
Post by: apmuthu on February 25, 2013, 09:18:07 AM
The file opt/sark/generator/queuesSQL.php has it's lines 37-43 commented out in SAIL v3.1.1-22 / v4.0.0 - any reason:
Code: [Select]
/* 
        foreach ($dbh->query($Agents) as $A_row) {
            if (in_array($row['pkey'], $A_row)) { 
                $OUT .= 'member => Agent/' . $A_row['pkey'] . "\n";
            }
        }
*/
It was not commented out in SAIL v3.1.0-145.

Is there any archive repo for older SAIL builds?

Title: Re: code in queuesSQL.php commented out - why?
Post by: SARK devs on February 26, 2013, 01:18:37 AM
Hi

Yes, it was dropped because we went over to dynamic queues and agents so we didn't need to generate the agent entries any more.  Think it was earlier than -22, but I'd need to look in svn to see exactly when it changed.

We have every sail build we've ever done here but it's not available on-line.  we tend only to put up the last couple or so.

Best

S
Title: Re: code in queuesSQL.php commented out - why?
Post by: apmuthu on February 26, 2013, 03:34:40 PM
Thanks Jeff. Wiki (http://www.sailpbx.com/mediawiki/index.php/SAIL_Defaults#Queue_Changes_in_SAIL)-ed it.