getChannelVariable
Queries an IVR channel variable.
Description
vcc.getChannelVariable(name: string): string
Channel variables can be set via inbound settings. See Inbound Calls section.
Parameters
name
Name of the channel variable.
Return values
string – Value of the channel variable or null if there is no such variable.
Example
We want to store the DTMF that the client provided via IVR.
const ivr = vcc.getChannelVariable('code');
vcc.setFieldValue('ivr_code', ivr);
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.