[asterisk-users] AMI perl daemon

Alex Balashov abalashov at evaristesys.com
Mon May 16 15:14:25 CDT 2011


On 05/16/2011 04:10 PM, vip killa wrote:

> question... how reliable is what you wrote? as long as the daemon is
> running will the AMI stay connected?

I don't know, it was kind of off-the-cuff.  I would probably throw a 
while() loop around it to reconnect if the connection is lost.  But I 
see no reason why it should disconnect unless the Asterisk AMI service 
has some sort of inactivity timeout.

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