Author Message
rares
Joined: Jan 20, 2017
Messages: 2
Offline
Hi ,

We use the Avaya DMCC .NET v. 6.3.1.10 API

With the below configuration:

-> Media Mode - CLIENT_MODE
-> Extension register - DEPENDENT MODE
-> polling - getphone.getregistered ( every 1 minute )

At some point MediaStartEventHandler is not called, although the property of
getphone.getregistered = true.

We detect at the end of the call, that the Media was not recorded.

We trigger a re-registration of the extension and from that point on the recording is working well.

We have no way to identity if the extension is registered at the beginning of a call.

Please let me know how to identify if the extension is registered at the beginning of the call ?

1. For some reason at a random moment, the extension becomes unregistered since the MediaStartEvent is not triggered, therefore
we are not capable of recording the media for that call.


2. Clearly some defect in AES causes getPhone.getRegistered method to be unreliable.

Many Thanks,
Rares
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
getphone.getregistered() will only return the registered state attribute of the phone when the application got the Phone object. In other words, it will not change as the actual state of the terminal changes.

To find out the current state of the terminal, you will need to query the AE Services using Phone.GetRegistrationState() and handle the response in a OnGetRegistrationStateResponse() callback.

Alternatively, you can monitor for Terminal (Un)Registration events and you will be informed when the terminal unregisters via your OnTerminalUnregisteredEvent and OnTerminalReregisteredEvent callbacks.

Another alternative is to use the Call Control EndpointUnregisteredEvent facility. As well as informing you when your terminal unregisters, it will tell you if any of the associated terminals (e.g. the main hardphone/softphone) unregisters.

You can get more information on all these these in the Programmers Guide and SDK documentation.

Martin
rares
Joined: Jan 20, 2017
Messages: 2
Offline
Hi Martin,

Thanks for the hint, I am going to verify this part and follow-up once finished ( hope it works ). Thanks again, Rares
Go to:   
Mobile view