[asterisk-users] AMI perl daemon

Alex Balashov abalashov at evaristesys.com
Mon May 16 14:47:10 CDT 2011


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/



More information about the asterisk-users mailing list