SIP Normalization Script Configuration

Similar documents
Configure SIP Normalization and Transparency

User Group Configuration

Digest Authentication Setup for SIP Trunks

Application User Configuration

Location Configuration

Survivable Remote Site Telephony Configuration

The Group Call Pickup feature and Directed Call Pickup feature do not work with hunt lists.

Managing Workflows. Starting Prime Network Administration CHAPTER

Partition Configuration

Route Filter Configuration

Understanding Feature and Network Services in Cisco Unified Serviceability

Configure TFTP Servers

Common Phone Profile Configuration

CHAPTER. Introduction

Cisco Voic Port Configuration

Upgrading Software and Firmware

CTI route point setup

Cisco Unified Communications Manager configuration for integration with IM and Presence Service

Application User Setup

Line Group Configuration

Cisco Unified Customer Voice Portal

Using the Cisco TelePresence System Administration Interface

Configuring the Cisco Emergency Responder 8.0 Disaster Recovery System

Cisco Unified Communications Manager Configuration

Configure Gateways. Gateway Overview. Gateway Overview, page 1 Gateway Setup Prerequisites, page 3 Gateway Configuration Task Flow, page 4

Backed Up and Restored Data for PAWS Management, page 2

Real-Time Monitoring Configuration

Route Group Setup. About Route Group Setup. Route Group Deletion

Cisco Unified Communications Manager Trunk Types

Region Configuration. Region Configuration Settings CHAPTER

Monitoring Predefined Cisco Unified Communications Manager Objects

The Unified CVP upgrade process has been described in this chapter in the following sections:

Common Device Configuration

Disaster Recovery System

Post-Change Tasks and Verification

Configuring SIP Registration Proxy on Cisco UBE

Post-Installation Tasks

VIP-102B IP Solutions Setup Tool Reference Manual

Phone NTP Reference Configuration

Malicious Call Identification

Call Display Restrictions

This chapter provides information about using Cisco Unified Communications Manager for working with and configuring Cisco gateways.

Disaster Recovery System Administration Guide for Cisco Unified Communications Manager Release 8.0(2)

Analyze Call Signaling

Provision Unified CM for Unified CCX

Statistics Collection Policy Configuration

IM and Presence Service Network Setup

Application Notes for Unique Communications CAIRS Fault Management with Avaya Aura Communication Manager - Issue 1.0

Cisco VVB Installation

RMS Alarms. Fault Manager Server Alarms

Unified CCX Administration Web Interface

Configuring Service Monitor

Creating Workflows. What is Prime Network Workflow? CHAPTER

Phone NTP Reference Configuration

User/Phone Add Configuration

IM and Presence Service

Configuring the Cisco TelePresence System

Configuration of trace and Log Central in RTMT

Configuration of performance counters in RTMT

Application Notes for Nectar Converged Management Platform with Avaya Aura Session Manager - Issue 1.0

Ad Hoc Conferencing. Ad Hoc Conferencing Overview. Ad Hoc Conferencing Task Flow. Procedure

Cisco Unity Express Windows and Menus

Configuring and Managing Embedded Event Manager Policies

Cisco CTL Client setup

Extend and Connect. Extend and Connect. Overview of Extend and Connect

Intercluster directory URI

Cisco Exam Integrating Cisco Unified Communications Applications v8.0 (CAPPS v8.0) Version: 40.0 [ Total Questions: 203 ]

Cisco CTL Client Setup

CTC Fails to Start on Windows XP with Cisco Security Agent

Symptom Condition / Workaround Issue Full domain name is not resolved by the RDP- ActiveX Client.

Exception Codes and Module Numbers Used in Cisco Unified MeetingPlace Express

Overview of Cisco UCS Manager GUI

Cisco Unified CM Disaster Recovery System

Working with Trace and Log Central

Cisco Voice Mail Port Wizard

Device Management Basics

Unified CCX Administration Web Interface

Configure Third-Party SIP Phones

Managing Configurations

Migration to Unified CVP 9.0(1)

Lab - System Restore in Windows 8

BLF Presence. Configure BLF Presence

Application Notes for Empix evolve v3.1 Skypetophone with Avaya IP Office 7.0 Issue 1.0

Cisco Finesse Desktop Interface

Media Path. Feature Information for Media Path

Dell OpenManage Connection for Tivoli Enterprise Console Version 3.5. User s Guide. support.dell.com

Microsoft PowerPoint Presentation Element

Viewing and Troubleshooting Perfmon Logs

Default Security Setup

Application Notes for Unique Communications CAIRS Accounting Management with Avaya Aura Communication Manager - Issue 1.0

CDR Analysis and reporting

Reference. Base Configuration Updates

Using Alarms and Logs on Cisco Unified MeetingPlace

Spectrum Enterprise SIP Trunking Service Cisco Unified Communication Mgr Firmware 6.01 IP PBX Configuration Guide

Using the Portal in Operations Manager

Configuring Notifications for Cisco Unified MeetingPlace Express

With standard audit logging, configuration changes to the system get logged in separate log files for auditing.

Upgrade ASA and ASDM Cisco ASA Firewall

Modify IP Addresses for Servers Defined by IP Address

Call Control Discovery

Transcription:

CHAPTER 81 The following topics cover Cisco Unified Communications Manager SIP normalization script configuration: Settings, page 81-1 Importing SIP Normalization Scripts, page 81-5 Related Topics, page 81-5 Settings In Cisco Unified Communications Manager Administration, use the Device > Device Settings > SIP Normalization Script menu path to configure SIP normalization and transparency scripts. SIP trunks can connect to a variety of endpoints, including PBXs, gateways, and service providers. Each of these endpoints implements the SIP protocol a bit differently, causing a unique set of interoperability issues. To normalize messages per trunk, Cisco Unified Communications Manager allows you to add or update scripts to the system and then associate them with one or more SIP trunks. The normalization scripts that you create allow you to preserve, remove, or change the contents of any SIP headers or content bodies, known or unknown. Transparency refers to the ability to pass information from one call leg to the other. REFER transparency allows Cisco Unified Communications Manager to pass on REFER requests to another endpoint rather than acting on them. REFER transparency is key in call center applications, where the agent sending the REFER (intitiating the transfer) resides in a geographic area remote from both of the other call parties. After you configure a script in Cisco Unified Communications Manager, you associate the script with a SIP trunk by configuring the Normalization Script fields in the Trunk Configuration window, as described in Trunk Configuration Settings section on page 68-1. You can only associate one script per trunk, but you can associate the same script to multiple trunks. Tips About Configuring SIP Normalization Scripts You cannot edit the refer-passthrough script. If you want to use the content of the refer-passthrough script in a custom script, display the script in the SIP Normalization Script window. Copy the information from the Content field, click the Add New button to create a new script record, and paste the information from the refer-passthrough script into the new record. Tips About Deleting SIP Normalization Scripts You cannot delete the refer-passthrough script. 81-1

Settings Chapter 81 Using the GUI For instructions on how to use the Cisco Unified Communications Manager Administration Graphical User Interface (GUI) to find, delete, configure, or copy records, see the Navigating the Cisco Unified Communications Manager Administration Application section on page 1-13 and its subsections, which explain how to use the GUI and detail the functions of the buttons and icons. Configuration Settings Table Table 81-1 describes the SIP normalization script configuration settings. For more information about related procedures, see the Related Topics section on page 81-5. Table 81-1 Settings Field Name Enter a unique identifier for the script. The name can comprise up to 50 alphanumeric characters and can contain any combination of spaces, periods (.), hyphens (-), and underscore characters (_). Enter a descriptive name for the script. Content This field displays the content of the imported script. You can edit the script in this text box. Script Execution Error Recovery Action Choose the action that you want the system to perform when an execution error gets detected while executing a script message handler. An execution error can occur due a number of issues, such as a script invokes one of the Cisco SIP Message APIs but passes in the wrong number of arguments, or a script passes a nil string to a string library API. When an execution error gets detected, the system automatically exits the message handler at the point of the failure, restores the message to its original content prior to executing the message handler (in other words, performs message rollback), and continues as if the message handler was never invoked. After the automatic error message handling, the system performs the action that you choose from the drop-down list box: SIP Message Rollback Only (Default) The script continues to execute for subsequent messages. SIP Disable Script Cisco Unified Communications Manager closes the script and does not execute it for subsequent messages. The Lua state remains closed and the system reclaims all of the memory. You must manually reset the trunk to re-enable the script. SIP Reset Script Cisco Unified Communications Manager closes and immediately reloads the script. When the script is closed, the Lua state is closed and the system reclaims all of the memory. Any state that the script maintains is lost. After the script reloads, Cisco Unified Communications Manager automatically uses the script for subsequent messages. SIP Script Reset Trunk The system immediately resets the trunk, which affects existing calls. Cisco Unified Communications Manager closes the script while the trunk resets. After the trunk restarts, Cisco Unified Communications Manager automatically reopens the script. 81-2

Chapter 81 Settings Table 81-1 Settings (continued) Field System Resource Error Recovery Action Memory Threshold Choose the action that you want Cisco Unified Communications Manager to take when a script aborts during execution because Memory Threshold and Lua Instruction Threshold values were exceeded. Resource errors can occur when the script is loading, initializing, or executing a message handler. If the script fails to load or initialize, it is immediately disabled. The configured System Resource Error Recovery Action does not apply to load and initialization errors. This action applies only to execution errors. Execution errors occur only while executing message handlers. When a resource error occurs while a script executes a message handler, the system automatically exits the message handler at the point of the failure, restores the message to its original content prior to executing the message handler (in other words, performs message rollback), and continues as if the message handler was never invoked. After the automatic error message handling, the system performs the action that you choose from the drop-down list box: SIP Disable Script (Default) The script closes and does not execute for subsequent messages. The Lua state remains closed and the system reclaims all of the memory. You must manually reset the trunk to re-enable the script. SIP Reset Script The script closes and then immediately reloads. When the script closes, the Lua state closes and the system reclaims all of the memory. Any state that the script maintains is lost. After the script reloads, Cisco Unified Communications Manager automatically uses the script for subsequent messages. SIP Script Reset Trunk The system immediately resets the trunk, which affects existing calls. The script closes while the trunk resets. After the trunk restarts, the script reopens automatically. Enter the memory threshold value in kilobytes. You must enter an integer into this field. If memory usage exceeds 80 percent of this value, the SIPNormalizationScriptResourceWarning resource warning alarm gets generated. The script continues to execute until the memory usage exceeds 100 percent of this value. If memory usage exceeds 100 percent during script loading or initialization, a script error alarm gets generated, and the script gets closed and disabled. If memory usage exceeds 100 percent during script execution, a script error alarm gets generated, and Cisco Unified Communications Manager performs the action that the System Resource Error Recovery Action field specifies. For example, if you enter 50 kilobytes into this field, the warning alarm gets generated if the script exceeds 40 kilobytes. The script continues to run until memory usage exceeds 50 kilobytes. The default value specifies 50 kilobytes. 81-3

Settings Chapter 81 Table 81-1 Field Lua Instruction Threshold Reset Import File Settings (continued) This field specifies the maximum number of Lua instructions that a given message handler is allowed to invoke. If a script exceeds 50 percent of this value, a resource warning alarm generates. The script continues to execute until the script exceeds 100 percent of this value. If the script exceeds 100 percent of the Lua Instruction Threshold value during script loading or initialization script, the SIPNormalizationScriptResourceWarning resource warning alarm gets generated and Cisco Unified Communications Manager closes and disables the script. If the script exceeds 100 percent of the Lua Instruction Threshold value during script execution, the SIPNormalizationScriptResourceWarning alarm gets generated and Cisco Unified Communications Manager performs the action that the System Resource Error Recovery Action field specifies. For example, if you enter 1000 in this field, a warning alarm gets generated if the script exceeds 500 instructions. The script continues to run until it exceeds 1000 instructions. The default value specifies 1000 instructions per message handler invocation. Click this button to shut down, then restart, the internal trunk device or devices with which this script associates. Click this button to import a script. In the Import File popup window that opens, search for the file by clicking the Browse... button to the right of the Import File field. Use the File Upload popup window to navigate to the file to you want to upload. After you find the file, click the desired filename and click Open. The path to the chosen script file displays in the Import File field of the Import File popup window. To upload the specified script file, click Import File. To close the Import File popup window without taking any action, click Close. After the script file uploads, the Status area of the Import File window tells you the result of the upload. The contents of the script file display in the Content field. Additional Information See the Related Topics section on page 81-5. 81-4

Chapter 81 Importing SIP Normalization Scripts Importing SIP Normalization Scripts Perform the following procedure to import a SIP normalization script into Cisco Unified Communications Manager. Procedure Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Choose Device > Device Settings > SIP Normalization Script. The Find and List SIP Normalization window displays. Perform one of the followings tasks: To add a new script instance, click the Add New button. The SIP Normalization Script Configuration window displays. To update an existing script instance, locate the appropriate script instance, and click the name of the script that you want to update. To import a script, click the Import File button. The Import File dialog box displays. Click the Browse button to locate the file that you want to import, and click the Open button. Click the Import File button. The contents of the script file display in the Content field. Modify any of the necessary fields on the window, as described in the SIP Normalization Script Configuration Settings section on page 81-1. Click Save and then click Reset. Additional Information See the Related Topics section on page 81-5. Related Topics, page 81-1 Settings, page 81-1 Importing SIP Normalization Scripts, page 81-5 Trunk Configuration Settings, page 68-1 81-5

Related Topics Chapter 81 81-6