Usually, people consider a phone call as a connection between two endpoints (a caller and a callee), but in the telecom world, a call consists of two connections called "call legs": from a phone to a telecom operator’s hardware/software and from a telecom operator’s hardware/software to another phone.
Voximplant session execution lifetime is rather long compared to typical serverless functions, the session usually lasts longer than the calls the function controls. The session context is available throughout its lifetime.
Voximplant considers each call as a separate session and handles it separately from other calls.
A call can send multiple media (voice and video) streams to other calls, but receive only one stream at a time. A new stream sent to a connected call replaces a previous one. If you want to mix two or more media streams, use a conference instead. A conference can both receive and send multiple streams at once.
Use the sendMediaTo method to send media from a call to the media unit specified in