how to detect the redundant/inbound leg of a ringout

  • 1
  • Question
  • Updated 3 years ago
Hi

Is there anyone who is aware of the way to detect the redundant/inbound leg of  a ringout?

The use case is that: the client app makes a ringout. Then in the presence event we receive TWO legs of the ringout (one inbound and one outbound). From the app and customers' perspective, we wouldn't want to show the inbound leg as customers just made a outbound call, nor are they expected to know how ringout works. Customers make a ringout, then the app shows an outbound call. The logic should be as simple as that.

An example presence event response for a ringout is attached: 

Photo of Michael Zheng

Michael Zheng

  • 76 Points 75 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Benjamin Dean

Benjamin Dean, Alum

  • 8,642 Points 5k badge 2x thumb
This article contains information about how to handle the ringout call-leg functionality:

https://devcommunity.ringcentral.com/ringcentraldev/topics/ringout-quirks

Let us know if this answers your question or if you need more assistance in handling call-legs of a ringout.