How to access the Call variables and ECC variables using the JavaScript library?
To access the Call variables, use the following code:
var callvars = dialog.getMediaProperties();
var callvariable1 = callvars["callVariable1"];
var callvariable2 = callvars["callVariable2"];
To access the ECC variables, use the following code:
var callvars = dialog.getMediaProperties();
var eccVar1 = callvars["user.ecc_variable_name"];
Comments
0 comments
Please sign in to leave a comment.