How to terminate Voximplant session correctly?

76 Views Asked by At

How do I terminate a Voximplant session after a call? Do I do this way: outgoing.addEventListener(CallEvents.Disconnected, VoxEngine.terminate); Or this way: VoxEngine.terminate.bind(VoxEngine)?

1

There are 1 best solutions below

0
On

The first variant is correct. Alternatively, the session automatically terminates a minute after the call ends.