I've spent a couple of evenings writing a "presence" utility in C# so that a window, listing the currently registered SIP phones, can be displayed and a user can see who is on the phone and who is not. It uses the Manager API and works well, updating the display as API events are received.
But what I want to be able to do is add to the list of displayed users when a phone registers and remove them when a phone unregisters. However the Manager API does not seem to generate event messages for these events. Is this correct or have a I missed an option somewhere? Certainly the register and unregister event is displayed on the Asterisk command line. It is possible to have the utility run the "sip show peers" command periodically and update its list based on the results of the command. However that means polling the server periodically, comsuming resources, instead of being notified just once. Any insight gratefully received. Bill Seddon _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users