Call is getting declined if the callee is already on the other call (Busy)

Are there any plans on releasing the “Call Waiting” feature soon?
or
Any other alternative to handle this scenario

I’m not sure what “Call Waiting” user scenario exactly but our SDK doesn’t decline incoming call automatically while the callee is on call. If you see the declined call, it is the scenario of our quickstart. So I believe you can implement “Call Waiting” scenario instead of declining in your app.

The code that declines incoming call while on call is

// BaseApplication.java of quickstart. 
...
@Override
public void onRinging(DirectCall call) {
    int ongoingCallCount = SendBirdCall.getOngoingCallCount();

    if (ongoingCallCount >= 2) {
        call.end();
        return;
    }
...
}
1 Like