Contents

Introduction

本文解释呼叫控制在管理脚本的设置的变量为什么不可能由路由脚本参考。本文也提供一个方法共享在管理脚本和路由脚本之间的数据在Cisco智能联络管理(ICM)环境里。

Prerequisites

Requirements

Cisco建议您有ICM脚本编辑器知识。

Components Used

本文的信息根据所有ICM版本。

The information in this document was created from the devices in a specific lab environment.All of the devices used in this document started with a cleared (default) configuration.If your network is live, make sure that you understand the potential impact of any command.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

问题

Set Variable节点设置有些呼叫变量的值。参考呼叫控制变量的语法脚本是:

Call.variable

在这种情况下,如果运行管理脚本和集Call.PeripheralVariable8假日的值,所有路由脚本不能访问值。图1提供一个示例。

图1 –设置呼叫控制可变的管理脚本

Routing_Scripts-1.gif

解决方案

管理脚本顺利地设置Call.PeripheralVariable8假日的值。然而,控制变量不可能共享在管理脚本和路由脚本之间。

为了通过变量在一个管理脚本和路由之间写脚本,使用一个全局用户变量。以一个全局用户变量,每个用户变量必须:

Note: 用户变量能存储40个字符的值。

Related Information