[asterisk-users] Which events is generated as Asterisk Manager logoff

Daniel Jenkins dan.jenkins88 at gmail.com
Mon Oct 14 12:22:25 CDT 2013


On 14 Oct 2013 18:18, "Paul Belanger" <paul.belanger at polybeacon.com> wrote:
>
> On 13-10-14 12:31 PM, virendra bhati wrote:
>>
>> As I said, I am running a event capture program and it looks for Events
and
>> work on the basis of events. But some time it stop working so  I want to
>> auto-connect with asterisk back as it was disconnect with asterisk AMI.
>>
> Well, if the socket is closed, you lost the connection. Open the
connection again and profit.
>
> --
> Paul Belanger | PolyBeacon, Inc.
> Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
> Github: https://github.com/pabelanger | Twitter:
https://twitter.com/pabelanger
>
>
> --
> _____________________________________________________________________
> -- 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

Which lang are you writing this in? Its more than likely that there's
already a lib that deals with all of this for you, which should deal with
reconnects and gives you the events/responses

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131014/4ee4fde0/attachment.html>


More information about the asterisk-users mailing list