I’m interested in receiving all NetworkReached, Established and Released events for a TServer as they happen.
I’ve looked into RequestRegisterAll in the PSDK but this is noted as being deprecated so I don’t think I should use it.
Are there any other ways I could get all these events?
Currently I am connecting to config server, querying for all DNs, registering for each individually and getting the events that way - but this seem to much work to simply get all of these events.
I see that method “RequestRegisterAll” is marked as “Obsolete” and not as “Deprecated” in Voice PSDK 7.6. So I think you can use it. Maybe you can ask on Genesys official forum (https://forums.genesyslab.com) that is monitored by Chris Munn - product manager for SDK - and get kind of “official” answer about status of this method.
Personally, I consider your current approach as the right one. It allows you to control what DNs/extensions are monitored and thanks to connection to Configuration Server your application will be notified when new DNs is added or existing one removed.