On Asterisk 1.8 when a SIP peer resgisters or unregisters it generates
a PeerStatus event. I don't know if this is in 1.4/1.6 as well, but
should be easy enough to test.

Here is an example of what I see on the manager interface during a
register/unregister:

Event: PeerStatus
Privilege: system,all
ChannelType: SIP
Peer: SIP/twinkle
PeerStatus: Registered
Address: 192.168.56.1:5068

Event: PeerStatus
Privilege: system,all
ChannelType: SIP
Peer: SIP/twinkle
PeerStatus: Unregistered

I think that should work for whatever you need to do.

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