pass
pass
- pass(
params):Promise<Call>
This will allow a client to decline incoming calls without ending the call and redirect the call to another Voice client.
Will trigger on the onCallReceived event.
Returns
Promise<Call>
A promise that resolves to the Call object that you can use to control the call.
Example
In this example, we listen for an incoming call and then pass the call to a different topic.