Author Topic: Receive all NetworkReached, Established & Released Events?  (Read 5195 times)

Offline jamesmurphyau

  • Full Member
  • ***
  • Posts: 123
  • Karma: 2
Receive all NetworkReached, Established & Released Events?
« on: July 24, 2009, 11:44:23 AM »
Hey Guys,

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 need these for a call recorder I'm working on.

Thanks

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Receive all NetworkReached, Established & Released Events?
« Reply #1 on: July 24, 2009, 03:24:37 PM »
Hi,

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.

R.

Offline jamesmurphyau

  • Full Member
  • ***
  • Posts: 123
  • Karma: 2
Re: Receive all NetworkReached, Established & Released Events?
« Reply #2 on: July 25, 2009, 01:03:05 AM »
Yeah. That's the way my application is currently working. It receives updates on DNs and registers for any new ones.

Do you know if RequestRegisterAll would receive events from newly created DNs or would I have to RequestRegisterAll again to get any new DNs?

Offline jamesmurphyau

  • Full Member
  • ***
  • Posts: 123
  • Karma: 2
Re: Receive all NetworkReached, Established & Released Events?
« Reply #3 on: July 25, 2009, 03:20:20 AM »
Chris replied saying RequestRegisterAll is removed in PSDK 8.0

He agrees that the way I am currently doing it is a good approach.