On 05/16/2011 03:44 PM, vip killa wrote:

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

I meant this while() loop:

   while(my @row = $res->fetchrow())

In other words, it is possible for additional rows to be added to the table after the SELECT query has been made and prior to the conclusion of this loop, which will incur a sleep(2) penalty.

That's not terribly important, though.

So, just to make sure I understand, you're calling the $astman->action with the Originate parameters and it's sitting there and blocking until the Originate completes with a final disposition, despite the presence of the Async option?

--
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

Reply via email to