Author Message
jcvalsesia
Joined: Jun 4, 2018
Messages: 14
Offline
I´m using Avaya Breeze Cliend SDK for Windows and I would like to stop ringing when outgoing call is declined by remote agent.
I have agent A (sample application) calling agent B ( Avaya Equinox iPhone as remote agent).
When agent B reject or decline the call I would like to stop ringing on agent A side.
I was able to reproduce using sample application CommunicationSampleApp.sln.

Which event should I listen to detect the call was declined by remote agent?


Artem.Tsarev
Joined: Jul 13, 2016
Messages: 48
Offline
Hi jcvalsesia,

When user B gets an incoming call that they don't want to answer, there is a couple of options. They can either call Deny on the Call object which will result in sending a decline response back to the caller A, or they can call Ignore on the Call object which will just move the call into an ignored state locally and preserve the ability to answer the call, i.e. caller A will keep playing out ringbacks.

Once Deny is called by the user B, user A's call will get onDenied event and move to Ended state. Either of these events can be used to stop outgoing call ringbacks.
Go to:   
Mobile view