[asterisk-users] AMI perl daemon

vip killa vipkilla at gmail.com
Mon May 16 15:17:10 CDT 2011


forgive me for i am very new to asterisk and perl. but how could you detect
if you were disconnected from AMI?

On Mon, May 16, 2011 at 4:14 PM, Alex Balashov <abalashov at evaristesys.com>wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110516/d2c0074c/attachment.htm>


More information about the asterisk-users mailing list