getVoipSessionById

open fun getVoipSessionById(@NonNull context: Context, @NonNull voipSessionId: String): VoipSessionItem

Call this method to retrieve VoipSessionItem related to a specific identifier

Note that : this method has access to database, so it is better to minimize calls to this method from UI thread

Return

VoipSessionItem linked to the specified identifier

Parameters

context

the application context

voipSessionId

the voip session identifier, who is equal to the VoIP call session Identifier (See : getSessionIdentifier