JohnBiggs wrote:Sorry the examples in the SDK and sample code are java
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/releases/8_1_3/index.gsp#tabs-product-downld-8
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/educational_resources/sample_applications/sms_web_service/index.gsp
However, there ismethod call from .DMCC to invoke the TSAPI method (query device name) which would work for your stated need.
GetPhysicalDeviceName Method (deviceId, userState)
Namespaces ? Avaya.ApplicationEnablement.DMCC ? ServiceProvider ? GetPhysicalDeviceName(String, Object)
C#
This is experimental documentation.
Get the physical device name for the passed in device id.
Supported in: 5.2.0
Declaration Syntax
C# Visual Basic Visual C++
public int GetPhysicalDeviceName(
string deviceId,
Object userState
)
GetPhysicalDeviceName returns the name associated with the extension. In my case "Ariel Larraburu" is that value. I also have an agent logged in to my extension. The Name property of that agent is "Test", and that is the value I need to get.
Basically I am developing an application for a call center, where the agents log in in different extensions, the extensions do not have an associated name. When an agent logs in to any extension, I need the agent's name to link to other applications. That is the value that I cannot get.
From Dashboard:
Get Physical Device Name Response: 24
Name: Ariel Larraburu
Device Type: station
Device: 3349
Get Physical Device Information Response: 25
Device Category: station
Has Logical Element: true
Other Logical Device List Length: 1
: 499992:ARBUE0001::0 <-------- I need the name associated with this agent.