Every call that comes into VoxEngine is expected to be answered and connected to an outbound call so that both the caller and the callee can hear each other.
The easiest way to connect two calls is to call the easyProcess method with both calls passed as arguments:
The method is a wrapper for several Voxengine’s events and methods, as follows:
- the Connected, Failed, and Disconnected events;
- the sendMediaBetween method;
- the answer method; and
- many more.
The source code of this method is available on GitHub. Since easyProcess is a wrapper to other VoxEngine functions, you can always perform signaling micromanagement manually, for example: