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
something else happens.
jg
--
_____________________________________________________________________
-- 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