Author Topic: PSDK TServerProtocol DN Registration  (Read 2054 times)

Offline aravind_mano

  • Newbie
  • *
  • Posts: 39
  • Karma: 0
PSDK TServerProtocol DN Registration
« on: May 12, 2016, 01:21:54 PM »
I just executed the TServer Sample app provided in PSDK. I am receiving ""Resource is already seized" error message while trying to register DN using RegisterMode as ModePrivate. It works when using ModeShare or ModeMonitor and able to login, change the agent state. Please help to understand the RegisterMode.

RequestRegisterAddress.Create(thisDn, RegisterMode.ModePrivate, ControlMode.RegisterDefault, AddressType.DN);

Thanks,
Aravind




Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: PSDK TServerProtocol DN Registration
« Reply #1 on: May 12, 2016, 04:19:25 PM »
Hi Aravind,

Here is a description of the RegisterModes:

ModeShare - This registration mode allows other client applications to receive events about the same telephony objects.

ModePrivate - This registration mode does not allow other client applications to receive events about the same telephony objects.

ModeMonitor - The application that has registered in this mode will only receive events about the telephony objects in question, it will not be able to make any  requests.

Pete.