escalate
Ends a chat leg and waits for your captureLeg callback to write its record, so a voice leg started
right after finds the text leg already recorded. The browser waits for this before it places the
call. The /escalate route calls this method.
The wait is bounded by captureTimeout. If captureLeg throws or runs past the timeout, the
failure is logged and escalate() still returns true.
Parameters
handle
The chat leg’s handle.
Returns
Promise<boolean> — false when the handle doesn’t verify, true otherwise.