Hello, On Sat, 18 Sep 2004 07:54:15 +0100, Bill Seddon <[EMAIL PROTECTED]> wrote: > 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.
Latest CVS does include manager events for register / unregister / reachable / unreachable / lagged events for sip and iax peers. You will still need to poll for initial status. -- Nicol�s Gudi�o Buenos Aires - Argentina _______________________________________________ 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
