Skip to content

On Call Transfer ​

Fired when a call is transferred to another conversation while preserving the call identity.

Event Registration ​

fun setCallTransferListener(
  fn: (callId: String, conversationId: String) -> Unit
): Subscription

Usage Example ​


    client.setCallTransferListener { call, conversationId ->
        println("Received Call Transfer for call: $call  into the conversation: $conversationId")
    }
}

Event Data ​

ParameterTypeDescription
callIdstringIdentifier of the transferred call
conversationIdstringIdentifier of the destination conversation

Notes ​

  • Use this event to update UI state when a call context changes
  • Call ID remains stable while conversation context changes

Built with VitePress.