Bind a DTMF digit sequence to automatically trigger a RELAY method when the caller presses those digits. This enables in-call DTMF shortcuts without requiring an active collect operation.
Use clearDigitBindings() to remove bindings.
The DTMF digit sequence to bind (e.g., "*1", "##").
The RELAY calling method to execute when the digit sequence is detected
(e.g., "calling.transfer", "calling.play").
Parameters to pass to the bound method when triggered.
A namespace for grouping digit bindings. Useful for selectively clearing bindings by realm.
Maximum number of times this binding can be triggered. After reaching the limit, the binding is automatically removed.
Promise<Record<string, unknown>> — Server response confirming the binding.