Author Message
Ronny.Lewandowski
Joined: Oct 24, 2018
Messages: 6
Offline
Hi Experts,

I need to determine a Extension (Phone-Number) which is not already assigned to a device (physical or softphone).
- then Register to a device (RegisterTerminal?) and assign that device and/or Extension to a user.
OR
determine a Extension which is assigned to a device but not assigned to a user.
- then assign that device and/or Extension to a user.

Is that possible with the DMCC .NET API 7.1.1?

I am able to create a session to the Server with method StartApplicationSession.

From reading the specification I don't get an idea.

Any help is appriciated, Thx, Ronny
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
You need to use the AE Services system management services API to fill this portion of your need. Basically it is an interface to communication manager's SAT interface (System Access Terminal). You would create a session, and then examine the dialplan analysis table (display dialplan analysys) to see what ranges of digits are assigned to be starting digits for extensions. Then you could do a 'list station' command (you will need to follow the guidance in the usage.doc guide and use the 'count' option to this command to avoid causing timeouts and begin looking for a gap in the assigned extensions. I think you could also just run the 'add station next' operation and allow the system to pick the extension for you, although I am unsure of the mechanics of then understanding what extension was assigned so you can register it.

Unless the telecom admin has a methodology about setting some attribute of an assigned station to indicate that the station is not associated with a user, Communication Manager does not directly support that concept. One methodology may be to set the name associated with teh station to "FREE" or similar, but that is really outside the scope of services Communication Manager provides.

Here is a link to a page that contains the SMS web services SDK
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/releases/8_01/index.gsp#tabs-product-downld-8

Please also review the related documentation in the SDK and here
https://www.devconnectprogram.com/fileMedia/download/283d8abe-28bf-4a71-915d-20b1cf521bc6
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Hi Ronny,

1. What do you mean by "user".
2. When you say "Register to a device", do you mean that you want to log the extension (Station) into a particular piece of hardware (e.g. a Deskphone)? Or do you want to use DMCC to implement a Softphone?

It is possible to determine if a station has been registered by a terminal. You can place a call Control monitor on the station and receive Endpoint Registered/Unregistered events. It is also possible to make an Endpoint Registration Information request to find out the current status of a station.

Martin
Ronny.Lewandowski
Joined: Oct 24, 2018
Messages: 6
Offline
Hi John,

thank you very much for your detailed explanations. I already tried the web-service but got stuck on creating the stubs based on the wsdl. There was a protocol mismatch (http/https)
I asked the Forum About that: https://www.devconnectprogram.com/forums/posts/list/0/22607.page#p155841

May be it was because of a configuration mismatch on the AES-Server that I did not succeed with the web services. I will asl the Application owner to verify the Installation and configuration.



Hi Martin,


with "user" I mean a Person which is using the phone which is also a Active Directory-User and should also be in communication Manager (as far as I know).

with "Register to a Device" I mean assigning a Telephone number to a physical Phone.


Thank you, I will retry with the Web-Services as John proposed.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Hi Ronny,

"User" is not a concept on Communication Manager (apart from being able to assign a name to a station). There is no connection between Communication Manager and Active-Directory so your application would have to manage this association - presumably by configuring the Active-Directory User with the allocated Station number.

It is not possible to remotely assign a Station number to a physical phone via API. The only way to do this is to physically press buttons on the handset - entering the extension number and password.

Martin
Go to:   
Mobile view