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

2013-10-14 Thread virendra bhati
Hi Team, I am working on Asterisk Events and I am using asterisk 11.4 right now. I want to know which events is regenerates(activate) when asterisk manager logoff from asterisk. I saw *fullybooted *was active when I login into asterisk as manager but no event at logoff time i found. -- Thanks

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

2013-10-14 Thread jg
When you logoff yourself, then you send the Logoff Action. Asterisk answers with the response Goodbye and, being a polite dolphin, it thanks for all the fish. If Asterisk shuts down, it sends a Shutdown event. You would still have to monitor the state of the socket connection, in case

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

2013-10-14 Thread virendra bhati
Hi No even logoff i received in asterisk 11.Might be this is bug or else not sure On Mon, Oct 14, 2013 at 3:10 PM, jg webaccou...@jgoettgens.de wrote: When you logoff yourself, then you send the Logoff Action. Asterisk answers with the response Goodbye and, being a polite dolphin, it thanks

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

2013-10-14 Thread jg
There is no such thing as a Logoff event. You issue a Logoff action and get a reponse. Only if Asterisk is shutting down, there will be a Shutdown event. It looks like this ( denotes what you a sending, and what you will receive from Asterisk): Action: Logoff ActionID: 4711 Response:

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

2013-10-14 Thread virendra bhati
Okay But I looking for an events which will invoke by asterisk when asterisk manager lost connection. My problem is: I am working on events programming and it's work perfect but sometime don't know why asterisk manager connection lost, So i am looking for an events of logoff of asterisk manager

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

2013-10-14 Thread jg
As I said: - Do it yourself (Action Logoff) - Process the Shutdown event - control the state of the socket I have Manager sessions running for hours without any connection losses. So if you have connection losses then there is likely something else. jg --

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

2013-10-14 Thread virendra bhati
Thanks for reply but my question is still not resolved. I will use other method. My connection work 4-6days easily but I am looking for route case of problem On Mon, Oct 14, 2013 at 9:21 PM, jg webaccou...@jgoettgens.de wrote: As I said: - Do it yourself (Action Logoff) - Process the

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

2013-10-14 Thread jg
Can you describe your problem? -- _ -- 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

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

2013-10-14 Thread virendra bhati
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. On Mon, Oct 14, 2013 at 9:46 PM, jg webaccou...@jgoettgens.de wrote: Can

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

2013-10-14 Thread jg
It is not enough to wait for events. If somebody pulls a cable, or disables a NIC, how can Asterisk possibly send an event? Which library are you using to capture the events? What happens if you get a malformed event, like multiple \r\n, or missing value, or \n instead of \r\n. This is all

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

2013-10-14 Thread Paul Belanger
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,

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

2013-10-14 Thread Daniel Jenkins
On 14 Oct 2013 18:18, Paul Belanger paul.belan...@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