Author Message
Mudassir.Saeed
Joined: Dec 10, 2013
Messages: 4
Offline

Hi,

Hope you all good, please help using Device ID.

Using the Multiple Registrations method to record calls at a target extension involves the following two steps:

1. The client application uses the AE Services DMCC service to obtain a Device ID for the target extension.

2. The client application uses the Device ID to register a secondary or tertiary device against the target extension.

But the function below that is used for registration does not accept Device ID.

RegisterTerminal(Phone.LoginInfo logInfo, Phone.MediaInfo medInfo, object userState);

Where this Device ID is supposed to be used then?

Thanks again.

Regards,
M. Saeed
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Which SDK are you using?
Mudassir.Saeed
Joined: Dec 10, 2013
Messages: 4
Offline

Hi Martin, thanks for replying, we are using DMCC.NET.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
In that case I suggest you look at the SimpleRecord sample application that comes with the SDK. This performs a RegisterTerminal for both the ownerDevice and recorderDevice. These Device objects hold the DeviceId and the method is called like:

ownerDevice.getPhone.RegisterTerminal(loginInfo,
mediaInfo, extension.Text);

Martin
Mudassir.Saeed
Joined: Dec 10, 2013
Messages: 4
Offline

Hi Martin, We have looked at the simpleRecord sample application but was not much helpful.

Using GetDeviceID(...) we have managed to get the Device ID but the fuction below does not accept this information.

RegisterTerminal(Phone.LoginInfo logInfo, Phone.MediaInfo medInfo, object userState);

The two objects of LoginInfo and MediaInfo going as parameters also have no such members accepting Device ID.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
You do not need to add the DeviceID to the RegisterTerminal function. It is available to the Phone object.
Mudassir.Saeed
Joined: Dec 10, 2013
Messages: 4
Offline
Thanks Martin,

The following document

Developing Client-side IP Call Recording Applications using Avaya Application Enablement Services

on Page#. 10 - Section 6: Multiple Registrations Method

Using the Multiple Registrations method to record calls at a target extension also involves the two following steps:

1. The client application uses the AE Services DMCC service to obtain a Device ID for the target extension.

2. The client application uses the Device ID to register a secondary or tertiary device against the target extension

Please advise, if we still do not need to add the DeviceID anywhere.

Regards,
M. Saeed
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
The document describes how the DMCC interface works - it gives a good overview of what is happening. It would be a useful description to you if you were using the XML API directly.

However, in your case, you are using the .Net SDK. This forms a wrapper around the DMCC functions functions and can abstract what is going on behind the scenes. You should use the sample application as a template for your own code - it describes how to register a terminal using the .Net SDK.

Martin
Go to:   
Mobile view