you are incorrect, the while loop never exits...and i already have async=>1

On Mon, May 16, 2011 at 3:41 PM, Alex Balashov <abalas...@evaristesys.com>wrote:

> On 05/16/2011 03:38 PM, vip killa wrote:
>
>  yes, my problem is i would like a persistent connection to AMI
>> because there will maybe be 20+ originates per second.
>>
>
> What was wrong with Ryan's original Async suggestion to address that? In
> other words, what is currently the problem?
>
> I looked at your code and it seems to me that your while() loop is going to
> exit when all rows are retrieved from your 'active' table as part of the
> current SELECT transaction.
>
>
> --
> Alex Balashov - Principal
> Evariste Systems LLC
> 260 Peachtree Street NW
> Suite 2200
> Atlanta, GA 30303
> Tel: +1-678-954-0670
> Fax: +1-404-961-1892
> Web: http://www.evaristesys.com/
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to