Complex Call Scenarios

This topic introduces the functionalities and implementation methods related to complex call scenarios (call waiting, call transfer, multi-party call, etc.) in 'Linkus SDK for iOS'.

Switch calls during call waiting

- (void)callChange:(YLSSipCall *)waitingCall;

Add delegate

When there are complex call scenarios (such as call transfer, call waiting, or multi-party call), use this method to add delegate.

- (void)addDelegate:(id<YLSCallStatusManagerDelegate>)delegate;

Remove delegate

When there are complex call scenarios (such as call transfer, call waiting, or multi-party call), use this method to remove delegate.

- (void)removeDelegate:(id<YLSCallStatusManagerDelegate>)delegate;

Hang up all the calls

Hang up all the calls in a multi-party call.

- (void)callStatusManagerDissmiss:(YLSCallStatusManager *)callStatusManager;

Handle incoming calls while on a call

When receiving a new incoming call while on a call, use this method to call back the current call's status (answer, ringing, hang up, mute, etc.).

- (void)callStatusManager:(YLSCallStatusManager *)callStatusManager currentCall:(YLSSipCall *)currentCall;

Callback for call status in complex call scenarios

When there are complex call scenarios (such as call transfer, call waiting, or multi-party call), use this method to call back the current call's status.

- (void)callStatusManager:(YLSCallStatusManager *)callStatusManager currentCall:(YLSSipCall *)currentCall
              callWaiting:(nullable YLSSipCall *)callWaitingCall transferCall:(nullable YLSSipCall *)transferCall;