Hello,
Anybody know what is the function in Composer to get switch name for voice routing application ?
I am using varSwitch = _genesys.ixn.interactions[system.InteractionID].location.media_server in my ECMA script but having error ![]()
17:21:17.850 [T:4880] {ScxmlMetricEvalExpr:3} METRIC <eval_expr sid=‘KMB65GG3351ETETDAL4PC35TKS000009’ expression='try {
//Retrieve Switch Name
varSwitch = _genesys.ixn.interactions[system.InteractionID].location.media_server;
if(!isEmpty(varSwitch))
{
customLog('Switch is set to: ' + varSwitch);
}
...' type='string' result='ERROR' />
Is there any other function for this or I am doing something wrong ???