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/

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