EN
Cisco Systems logo
Official user manual

Cisco Systems Version 1.1

110 pages·758 KB·Network Router·PDF·ENDEFRITNLJA
Cisco Systems Version 1.1
Table of Contents 80 sections C O N T E N T S · Preface vii · G L O S S A R Y · I N D E X · … ShowHide
C O N T E N T Sp.3Preface viip.3G L O S S A R Yp.6I N D E Xp.6Prefacep.7Overviewp.7Who Should Use This Guidep.7Document Organizationp.8Document Conventionsp.8Related Documentation and Referencesp.9Obtaining Documentationp.9World Wide Webp.9Documentation CD-ROMp.9Ordering Documentationp.9Documentation Feedbackp.10Obtaining Technical Assistancep.10Cisco.comp.10Technical Assistance Centerp.10Cisco TAC Web Sitep.11Cisco TAC Escalation Centerp.11C H A P T E Rp.13Overview of Cisco Carrier Sensitive Routingp.13Prerequisitesp.13CSR Componentsp.14CSR Basicsp.14PostgreSQL Databasep.15CSR Applicationp.15Ingress Rejection Rulesp.16Egress Rejection Rulesp.16Selection Rulesp.16CSR GUIp.16CSR Limitationsp.17PostgreSQL Database Operations and Functionalitiesp.19Database Operationsp.19Activating the Databasep.19Exiting the Databasep.20Reactivating the Databasep.20Exporting a Databasep.21Exporting to a Text Filep.21Backing Up the Database Systemp.21Reintializing a Databasep.21Database Functionalitiesp.22Database Tablesp.22Configuration Tablesp.22Dataset Tablesp.28Lists Tablep.33PostgreSQL Database Command Summaryp.36Cisco Carrier Sensitive Routing Application Operationsp.37Activating CSRp.37Single Instancep.37CSR as a Daemonp.37CSR as a User Processp.38Multiple Instancesp.38Deactivating CSRp.39CSR GUI Functionalitiesp.41Activating the GUIp.41Configuring CSR with the GUIp.42Changing Configuration Settingsp.42Changing Log Levelsp.43Changing App Priorityp.44Changing Connection Portp.44Enabling Test Routes Accountingp.44Saving Configuration Settingsp.44Adding, Modifying, and Removing Gatekeepersp.45Adding Gatekeepersp.45Modifying Gatekeepersp.49Removing Gatekeepersp.50Setting Threads for Processing Calls and Call Queue Sizep.51Swapping Datasetsp.52Updating Active Datasetsp.52Creating, Modifying, and Deleting Carriersp.53Creating Carriersp.54Modifying Carriersp.55Deleting Carriersp.56Creating, Modifying, and Deleting Contactsp.57Creating Contactsp.57Modifying Contactsp.58Deleting Contactsp.58Creating, Modifying, and Deleting Contact Listsp.59Creating Contact Listsp.59
Page 1 of the Cisco Systems Version 1.1 user manual
Page 1 · click to enlarge
Page 1
Cisco Systems Version 1.1 diagram (page 1)
Fig. 1

Version 1.1

Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000

800 553-NETS (6387) Fax408 526-4100
Page 2 of the Cisco Systems Version 1.1 user manual
Page 2 · click to enlarge
Page 2

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED ORIMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Cisco Systems Version 1.1 diagram (page 2)
Fig. 2

Cisco Carrier Sensitive Routing User Guide Copyright © 2002, Cisco Systems, Inc. All rights reserved.

Page 3 of the Cisco Systems Version 1.1 user manual — C O N T E N T S
Page 3 · click to enlarge
Page 3
Cisco Systems Version 1.1 — C O N T E N T S diagram (page 3)
Fig. 3

C O N T E N T S

Preface vii

Who Should Use This Guide vii

Related Documentation and References ix

Obtaining Documentation ix World Wide Web ix Documentation CD-ROM ix

Ordering Documentation ix Documentation Feedback x

Obtaining Technical Assistance x Cisco.com x

Technical Assistance Center x Contacting TAC by Using the Cisco TAC Website xi Contacting TAC by Telephone xi

C H A P T E R 1 Overview of Cisco Carrier Sensitive Routing 1-1

PostgreSQL Database 1-3 CSR Application 1-3 Ingress Rejection Rules 1-4

Egress Rejection Rules 1-4 Selection Rules 1-4 CSR GUI 1-4

C H A P T E R 2 PostgreSQL Database Operations and Functionalities 2-1

Database Operations 2-1 Activating the Database 2-1

Exiting the Database 2-2 Reactivating the Database 2-2

Show 7 more labels / short text on this page
Overview vii · Document Organization viii · Document Conventions viii · Prerequisites 1-1 · CSR Components 1-2 · CSR Basics 1-2 · CSR Limitations 1-5
Page 4 of the Cisco Systems Version 1.1 user manual — C O N T E N T S
Page 4 · click to enlarge
Page 4

Exporting a Database 2-2 Reintializing a Database 2-3

Database Functionalities 2-3 Database Tables 2-4

Configuration Tables 2-4 Dataset Tables 2-10 PostgreSQL Database Command Summary 2-17

C H A P T E R 3 Cisco Carrier Sensitive Routing Application Operations 3-1

Single Instance 3-1 CSR as a Daemon 3-1 CSR as a User Process 3-2

C H A P T E R 4 CSR GUI Functionalities 4-1

Activating the GUI 4-1

Configuring CSR with the GUI 4-2

Changing Configuration Settings 4-2 Changing Log Levels 4-3 Changing App Priority 4-4

Changing Connection Port 4-4 Enabling Test Routes Accounting 4-4 Saving Configuration Settings 4-4

Adding, Modifying, and Removing Gatekeepers 4-5 Adding Gatekeepers 4-5 Modifying Gatekeepers 4-9

Removing Gatekeepers 4-10 Setting Threads for Processing Calls and Call Queue Size 4-11 Swapping Datasets 4-12

Updating Active Datasets 4-12

Creating, Modifying, and Deleting Carriers 4-13 Creating Carriers 4-14 Modifying Carriers 4-15

Deleting Carriers 4-16 Creating, Modifying, and Deleting Contacts 4-17 Creating Contacts 4-17

Show 5 more labels / short text on this page
Contents · Activating CSR 3-1 · Multiple Instances 3-2 · Deactivating CSR 3-3 · Modifying Contacts 4-18
Page 5 of the Cisco Systems Version 1.1 user manual — C O N T E N T S
Page 5 · click to enlarge
Page 5

Deleting Contacts 4-18 Creating, Modifying, and Deleting Contact Lists 4-19 Creating Contact Lists 4-19

Modifying Contact Lists 4-20 Deleting Contact Lists 4-21 Creating, Modifying, and Deleting Egress Route Attributes 4-21

Creating Egress Route Attributes 4-21 Modifying Egress Route Attributes 4-23 Deleting Egress Route Attributes 4-25

Creating, Modifying, and Deleting Ingress Route Attributes 4-26 Creating Ingress Route Attributes 4-26 Modifying Ingress Route Attributes 4-28

Deleting Ingress Route Attributes 4-29 Creating, Modifying, and Deleting Match Patterns 4-30 Creating Match Patterns 4-30

Modifying Match Patterns 4-31 Deleting Match Patterns 4-31 Creating, Modifying, and Deleting Routes 4-32

Creating Routes 4-32 Modifying Routes 4-33 Deleting Routes 4-34

Creating, Modifying, and Deleting Rules 4-35 Creating Rules 4-35 Modifying Rules 4-37

Deleting Rules 4-38 Verifying Datasets 4-39

Updating Inactive Datasets 4-39 Destroying Inactive Datasets 4-40

Activating Inactive Datasets 4-41

CSR Commands 4-41 Sending Test Route Request Commands to an Active CSR Application 4-42 Updating Logging Level 4-44

Loading the Active Dataset 4-44 Resetting Call Accounting 4-45 Updating Gatekeepers 4-45

Cleaning Test Results 4-45

Checking CSR Version 4-46

Multiple GUI Operation 4-46

Contents

Page 6 of the Cisco Systems Version 1.1 user manual — G L O S S A R Y
Page 6 · click to enlarge
Page 6

A P P E N D I X A Logging A-1

Viewing Logs A-2 Sample logs A-3

A P P E N D I X B Data Schema B-1

Configuration Data Schema B-1

A P P E N D I X C Error Conditions and Recoveries C-1

Database Connectivity Loss C-1

Gatekeeper Connectivity Loss C-2

G L O S S A R Y

I N D E X

Show 4 more labels / short text on this page
Contents · Configuring Syslog A-1 · Examples A-2 · Dataset Schema B-5
Page 7 of the Cisco Systems Version 1.1 user manual — Who Should Use This Guide
Page 7 · click to enlarge
Page 7

Preface

This preface describes the objective, audience, organization, and conventions of the Cisco Carrier Sensitive Routing User Guide.

It contains the following information:

  • Overview, page-vii
  • Who Should Use This Guide, page-vii
  • Document Organization, page-viii
  • Document Conventions, page-viii
  • Related Documentation and References, page-ix
  • Obtaining Documentation, page-ix
  • Obtaining Technical Assistance, page-x

Overview

The Cisco Carrier Sensitive Routing User Guide provides information on operations and functionalities of Carrier Sensitive Routing (CSR) application, its graphical user interface (GUI) and the databases associated with it.

Who Should Use This Guide

Users of this guide should have knowledge of the following:

  • U NIX operating system and commands
  • SQL commands
  • TCP/IP network that the CSR is connected to
  • Sun/Solaris computer system
Page 8 of the Cisco Systems Version 1.1 user manual — Document Conventions
Page 8 · click to enlarge
Page 8

Document Organization

This guide is organized as follows:

Chapter1, “Overview of Cisco Carrier Sensitive Routing”

Provides an overview of the postgreSQL database, CSR application, and CSR graphical user interface (GUI).

Chapter2, “PostgreSQL Database Operations and Functionalities”

Describes the operations and functionalities of the postgreSQL database.

Chapter3, “Cisco Carrier Sensitive Routing Application Operations”

Describes the operations and functionalities of the CSR application.

Chapter4, “CSR GUI Functionalities” Describes the CSR graphical user interface functionalities.

Appendix A, “Logging” Describes the configuration of syslog and viewing logs.

Appendix B, “Data Schema” Describes the configuration data schema and dataset schema.

Appendix C, “Error Conditions and Recoveries” Describes database and gatekeeper connectivity loss.

Document Conventions

Following are conventions that might be used in this document.

boldface Commands and keywords are in bold face.

italic Arguments for which you supply values are in italic.

[ ] Keywords or arguments that appear within square brackets are optional.

{ x | y | z } Alternative, mutually exclusive, keywords are grouped in braces and separated by vertical bars.

^ orCtrl Represent the key labeled Control. For example, when you read ^D or Ctrl-D, you should hold down the Control key while you press the D key.

screen font Terminal sessions and information the system displays are in screen

font.

boldface screen font Information you must enter is in boldface screen font.

< > Nonprinting characters, such as passwords, appear in angled brackets.

[ ] Default responses to system prompts are in square brackets.

Preface Document Organization · Table1 · Convention Description

Page 9 of the Cisco Systems Version 1.1 user manual — Ordering Documentation
Page 9 · click to enlarge
Page 9

Related Documentation and References

Related Documentation and References

  • Carrier Sensitive Routing Installation Guide

For Sun/Solaris, Java, and postgreSQL database information, go to the following URLs:

  • <a href="http://www.sun.com" rel="nofollow noopener" target="_blank">http://www.sun.com</a>
  • <a href="http://java.sun.com" rel="nofollow noopener" target="_blank">http://java.sun.com</a>
  • <a href="http://www.postgresql.org" rel="nofollow noopener" target="_blank">http://www.postgresql.org</a>

Obtaining Documentation

These sections explain how to obtain documentation from Cisco Systems.

World Wide Web

You can access the most current Cisco documentation on the World Wide Web at this URL:

http://www.cisco.com

Translated documentation is available at this URL:

http://www.cisco.com/public/countries_languages.shtml

Documentation CD-ROM

Cisco documentation and additional literature are available in a Cisco Documentation CD-ROM package, which is shipped with your product. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or through an annual subscription.

Ordering Documentation

You can order Cisco documentation in these ways:

  • Registered <a href="http://Cisco.com" rel="nofollow noopener" target="_blank">Cisco.com</a> users (Cisco direct customers) can order Cisco product documentation from the Networking Products MarketPlace:

http://www.cisco.com/cgi-bin/order/order_root.pl

  • Registered <a href="http://Cisco.com" rel="nofollow noopener" target="_blank">Cisco.com</a> users can order the Documentation CD-ROM through the online Subscription Store:

http://www.cisco.com/go/subscription

  • Nonregistered <a href="http://Cisco.com" rel="nofollow noopener" target="_blank">Cisco.com</a> users can order documentation through a local account representative by calling Cisco Systems Corporate Headquarters (California, U.S.A.) at 408526-7208 or, elsewhere in North America, by calling 800553-NETS (6387).

Preface

Page 10 of the Cisco Systems Version 1.1 user manual — Technical Assistance Center
Page 10 · click to enlarge
Page 10

Preface Obtaining Technical Assistance

Documentation Feedback

You can submit comments electronically on Cisco.com. In the Cisco Documentation home page, click the Fax or Email option in the “Leave Feedback” section at the bottom of the page.

You can e-mail your comments to bug-doc@cisco.com.

You can submit your comments by mail by using the response card behind the front cover of your document or by writing to the following address:

Cisco Systems AttnDocument Resource Connection 170 West Tasman Drive San Jose, CA 95134-9883

We appreciate your comments.

Obtaining Technical Assistance

Cisco provides Cisco.com as a starting point for all technical assistance. Customers and partners can obtain online documentation, troubleshooting tips, and sample configurations from online tools by using the Cisco Technical Assistance Center (TAC) Web Site. Cisco.com registered users have complete access to the technical support resources on the Cisco TAC Web Site.

Cisco.com

Cisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information, networking solutions, services, programs, and resources at any time, from anywhere in the world.

Cisco.com is a highly integrated Internet application and a powerful, easy-to-use tool that provides a broad range of features and services to help you with these tasks:

  • Streamline business processes and improve productivity
  • Resolve technical issues with online support
  • Download and test software packages
  • Order Cisco learning materials and merchandise
  • Register for online skill assessment, training, and certification programs

If you want to obtain customized information and service, you can self-register on Cisco.com. To access Cisco.com, go to this URL:

http://www.cisco.com

Technical Assistance Center

The Cisco Technical Assistance Center (TAC) is available to all customers who need technical assistance with a Cisco product, technology, or solution. Two levels of support are available: the Cisco TAC WebSite and the Cisco TAC Escalation Center.

Page 11 of the Cisco Systems Version 1.1 user manual — Cisco TAC Escalation Center
Page 11 · click to enlarge
Page 11

Cisco TAC inquiries are categorized according to the urgency of the issue:

  • Priority level 4 (P4)—You need information or assistance concerning Cisco product capabilities, product installation, or basic product configuration.
  • Priority level 3 (P3)—Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue.
  • Priority level 2 (P2)—Your production network is severely degraded, affecting significant aspects of business operations. No workaround is available.
  • Priority level 1 (P1)—Your production network is down, and a critical impact to business operations will occur if service is not restored quickly. No workaround is available.

The Cisco TAC resource that you choose is based on the priority of the problem and the conditions of service contracts, when applicable.

Cisco TAC Web Site

You can use the Cisco TAC Web Site to resolve P3 and P4 issues yourself, saving both cost and time. The site provides around-the-clock access to online tools, knowledge bases, and software. To access the Cisco TAC Web Site, go to this URL:

http://www.cisco.com/tac

All customers, partners, and resellers who have a valid Cisco service contract have complete access to the technical support resources on the Cisco TAC Web Site. The Cisco TAC Web Site requires a Cisco.com login ID and password. If you have a valid service contract but do not have a login ID or password, go to this URL to register:

http://www.cisco.com/register/

If you are a Cisco.com registered user, and you cannot resolve your technical issues by using the Cisco TAC Web Site, you can open a case online by using the TAC Case Open tool at this URL:

http://www.cisco.com/tac/caseopen

If you have Internet access, we recommend that you open P3 and P4 cases through the Cisco TAC WebSite.

Cisco TAC Escalation Center

The Cisco TAC Escalation Center addresses priority level 1 or priority level2 issues. These classifications are assigned when severe network degradation significantly impacts business operations. When you contact the TAC Escalation Center with a P1 or P2 problem, a Cisco TAC engineer automatically opens a case.

To obtain a directory of toll-free Cisco TAC telephone numbers for your country, go to this URL:

http://www.cisco.com/warp/public/687/Directory/DirTAC.shtml

Before calling, please check with your network operations center to determine the level of Cisco support services to which your company is entitled: for example, SMARTnet, SMARTnet Onsite, or Network Supported Accounts (NSA). When you call the center, please have available your service agreement number and your product serial number.

Preface · Obtaining Technical Assistance

Page 12 of the Cisco Systems Version 1.1 user manual — Cisco TAC Web Site
Page 12 · click to enlarge
Page 12

Preface Obtaining Technical Assistance

Page 13 of the Cisco Systems Version 1.1 user manual — Prerequisites
Page 13 · click to enlarge
Page 13

C H A P T E R

Overview of Cisco Carrier Sensitive Routing

The Cisco Carrier Sensitive Routing (CSR) application provides end users with the capability to manipulate the routing of calls from the gatekeeper based on the ingress carrier and the DNIS. The routing can be based on QoS along with many other attributes pertaining to a carrier. With CSR, you can provision data specific to carriers that pertain to your network to maximize cost, QoS, and carrier relations. CSR can run on a Sun/Solaris system that has a network connection to gatekeepers.

This chapter contains the following sections:

  • Prerequisites, page 1-1
  • CSR Components, page 1-2
  • CSR Basics, page 1-2
  • CSR Limitations, page 1-5

Prerequisites

  • Root access to a UNIX machine for the following tasks:

– Modify Syslog.conf

– Setting database security

  • Configured Cisco gatekeeper and gateway
  • Network that provides DNS capabilities
  • Knowledge of the following:

– UNIX operating system and commands

– TCP/IP network that the CSR is connected to

– Sun computer system

Carrier Sensitive Routing User Guide

– Create users · – SQL commands

Page 14 of the Cisco Systems Version 1.1 user manual — CSR Basics
Page 14 · click to enlarge
Page 14

Chapter1 Overview of Cisco Carrier Sensitive Routing CSR Components

CSR Components

The three major components of CSR are as follows.

  • postgreSQL Database
  • CSR application
  • CSR GUI

The CSR GUI and the CSR application are not directly connected. They are both connected to the database. Figure1-1 illustrates these components.

Cisco Systems Version 1.1 — CSR Components diagram (page 14)
Fig. 4 · CSR Components

CSR Basics

This section describes the basic operation of CSR.

After CSR is started, it registers with the gatekeeper connected to a network. Any one or a combination of the following registration messages are used:

  • ARQ
  • LRQ
  • DRQ
  • BRQ
  • URQ
  • RAI
  • LCF
  • LRJ
  • IRR

The gatekeeper responds with any of the following messages:

  • ANI
  • DNIS
  • Source carrier
  • Destination carrier

Carrier Sensitive Routing User Guide

Figure1-1 CSR Components

Page 15 of the Cisco Systems Version 1.1 user manual — CSR Application
Page 15 · click to enlarge
Page 15

Chapter1 Overview of Cisco Carrier Sensitive Routing

CSR evaluates the predetermined selection and rejection criteria as part of the source carrier and DNIS information to determine what routing information to return to the gatekeeper.

PostgreSQL Database

The postgreSQL database stores all the provisioned data associated with the CSR. The data can be entered into the database by using the GUI or by importing. The database supports active dataset, inactive dataset, and configuration data.

Information contained in the active and inactive datasets includes:

  • Carrier Table—Contains a list of carriers and associated attributes.
  • Contact List Table—Contains a relationship of contacts to a key.
  • Contacts Table—Contains a list of RAS addresses (zones) and associated attributes.
  • Egress Route Attributes Table—Contains a list of egress attributes and associated data.
  • Egress Routes Table—Contains a list of egress attributes and associated routes.
  • Ingress Route Attributes Table—Contains a list ingress attributes and associated data.
  • Ingress Routes Table—Contains a list of ingress attributes and associated routes.
  • Match Patterns Table—Contains a list of match patterns and associated routes.
  • QoS Table—Contains a list of relative QoS values associated to route, ingress, and egress.
  • Routes Table—Contains a list of routes and associated rules.
  • Rules Table—Contains a list of rules and associated attributes (selection/rejection).

Configuration data contained in the database includes:

  • Gatekeepers Table—Contains a list of gatekeepers and associated registration messages.
  • Filters Table—Contains a list of gatekeepers and associated filters.
  • Configuration Settings Table—Contains logging level, application priority, incoming connection port and test routes accounting flag.
  • TestRoutes—A record is added to this when a test route command is issued.
  • TestOutputs—A set of records is added to this table after the test route command is complete.
  • LogEntries—A set of records is added to this table after the test route command is complete.
  • StringResources—Logging strings are located here.

CSR Application

The CSR application contains the logic (selection and rejection) to determine the proper routing for calls based on inputs from the gatekeeper. CSR operates by the rules described in the following section.

Carrier Sensitive Routing User Guide

CSR Basics

Page 16 of the Cisco Systems Version 1.1 user manual — CSR GUI
Page 16 · click to enlarge
Page 16

Chapter1 Overview of Cisco Carrier Sensitive Routing CSR Basics

Ingress Rejection Rules

  • Reject Max Origination Percentage
  • Reject Max Ingress Units
  • Reject Max Ingress Units per Route

Egress Rejection Rules

  • Reject Egress Cost Greater than Ingress
  • Reject Insufficient QoS
  • Reject Max Egress Units Exceeded
  • Reject Max Egress Units per Route Exceeded
  • Prevent ITSP to ITSP

Selection Rules

  • Select Min Cost per Egress Route
  • Select Best QoS
  • Select Same Carrier
  • Select Percentage Egress
  • Select Preferred Carrier

CSR operates on an internal copy of the active dataset, which is loaded from the active dataset of the postgreSQL database. CSR can also operate without the postgreSQL database running as long as it has an active dataset. For more information on the active dataset, see the “Loading the Active Dataset” section on page4-44.

CSR GUI

The CSR GUI provides an interface that can be used to enter, change, and modify provisioned data in the postgreSQL database. You can import data into the database with the import capabilities provided by postgreSQL. The CSR GUI can run on Sun/Solaris and Microsoft NT platforms.

Carrier Sensitive Routing User Guide

Page 17 of the Cisco Systems Version 1.1 user manual — CSR Limitations
Page 17 · click to enlarge
Page 17

Chapter1 Overview of Cisco Carrier Sensitive Routing

CSR Limitations

  • When two rules are available (a rule associated with the carrier and a rule associated with a route), the rule associated with the carrier is chosen first. If one of the rules (carrier’s rule) does not exist, the rule associated with a route is used.
  • When two contact lists are available (the contact list associated with the carrier and the contact list associated with the EgressRouteAttribute), the carrier’s contact list is used first. If one of the contact lists (carrier’s contact list) does not exist, then the contact list associated with the EgressRouteAttribute is used.
  • If a contact is provisioned with a DNS name and a DNS server is not found—that is, cannot get an IP address—the dataset verification fails and the CSR cannot be started correctly.
  • Static triggers are not supported by the CSR.
  • Performance may deteriorate if more than five gatekeepers are connected to the CSR. This is also related to hardware capabilities and call volume.

Carrier Sensitive Routing User Guide

CSR Limitations

Page 18 of the Cisco Systems Version 1.1 user manual — CSR Limitations
Page 18 · click to enlarge
Page 18

Chapter1 Overview of Cisco Carrier Sensitive Routing CSR Limitations

Carrier Sensitive Routing User Guide

Page 19 of the Cisco Systems Version 1.1 user manual — Activating the Database
Page 19 · click to enlarge
Page 19

C H A P T E R

PostgreSQL Database Operations and Functionalities

This chapter describes the operations and functionalities of the postgreSQL database and contains the following sections:

  • Database Operations, page 2-1
  • Database Functionalities, page 2-3

The postgreSQL database is a relational database management system. A database in this management system stores entities such as carriers, rules, contacts, routes, and the relationships among the entities. The management system can manage many different databases simultaneously. The CSR creates a database in this system and performs call routing based on the data in the database.

Database Operations

This section describes the following tasks:

  • Activating the Database
  • Exiting the Database
  • Reactivating the Database
  • Exporting a Database
  • Reintializing a Database

Activating the Database

To activate the postgreSQL database, perform the following steps:

Step 1 Log in to the Solaris system by entering postgres as the user.

A “postgres” password prompt may appear.

Step 2 Enter the following command:

/etc/init.d/postgres_init start

This command calls postgreSQL command postmaster -S -i -B 40 -N 20 -D /usr/local/pgsql/data. The parameters are described as follows:

Page 20 of the Cisco Systems Version 1.1 user manual — Reactivating the Database
Page 20 · click to enlarge
Page 20

Chapter2 PostgreSQL Database Operations and Functionalities Database Operations

  • -S—Tells the postmaster to run in silent mode. This is not recorded to a log file.
  • -i—Tells postmaster to allow network connections. If this is not set, the postmaster accepts connections only from the local host.
  • -B and -N—Set up shared memory segments.
  • -D—Tells the postmaster the location of the database files.

Exiting the Database

To exit the postgreSQL database, perform the following steps:

Step 1 Log in to the Solaris system by entering postgres as the user.

A “postgres” password prompt may appear.

Step 2 Enter the following command:

/etc/init.d/postgres_init stop

This command calls the postgreSQL command pg_ctl stop.

Reactivating the Database

To reactivate the postgreSQL database, perform the following steps.

Step 1 Log in into the Solaris system by entering postgres as the user.

A “postgres” password prompt may appear.

Step 2 Enter the following command:

/etc/init.d/postgres_init restart

This command calls the postgreSQL command pg_ctl restart. The parameters for this command are described in “Activating the Database” section on page2-1.

Page 21 of the Cisco Systems Version 1.1 user manual — Reintializing a Database
Page 21 · click to enlarge
Page 21

Chapter2 PostgreSQL Database Operations and Functionalities

Exporting a Database

To export a database to a text file or to back up the entire database system, perform the following steps:

Exporting to a Text File

Step 1 Export a database into a text file by entering the following command:

pg_dump –x databasename > outfile

Step 2 Reload the dataset by entering the following command:

psql –e database < outfile

Backing Up the Database System

You can back up the database system file directory /usr/local/pgsql/data/base into a tar file.

Reintializing a Database

To reinitialize a database, the existing database must be destroyed, and a new one must be created.

To reinitialize a database, performing the following steps:

Step 1 Destroy the database by entering the following command with “csrdb” as the name of the database:

Step 2 Create a new database by entering the following command:

After the database is re-created, the CSR and CSR GUI can be restarted and connected to the new database. If “csrdb” is not used as the name of the database, note the following:

  • To have CSR started upon reboot of the Solaris system, modify the following files:

– etc/init.d/csr_init

– /etc/rc2.d/S99csr_init

  • To start CSR from the command prompt, specify the database name in command csr newdbname &

Database Operations · dropdb csrdb · createcsrdb csrdb

Page 22 of the Cisco Systems Version 1.1 user manual — Configuration Tables
Page 22 · click to enlarge
Page 22

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Database Functionalities

This section describes the following:

  • Database Tables, page 2-4
  • PostgreSQL Database Command Summary, page 2-17

Database Tables

This section describes database tables, constraints placed on each table, and relationships between tables.

Configuration Tables

See AppendixB, “Data Schema,” for the database script to create database tables, constraints and relationships.

Page 23 of the Cisco Systems Version 1.1 user manual — Database Functionalities
Page 23 · click to enlarge
Page 23

Chapter2 PostgreSQL Database Operations and Functionalities

Table2-1 Configuration Data Table

Allow Null Default Constraints Comments

ActiveDataset text NO ‘_1’ Valid values:

There are two datasets in the CSR (active and inactive). There are two of each table for entities that are created (for example, Carriers_1, Carriers_2). The active dataset marks which of the above is active.

  • _1
  • _2

LoggingLevel text NO ‘Error’ Valid values:

When the application, is active, logs are generated. This marks the level of logging that is being done. During realtime, this runs only at error level to avoid performance deterioration.

  • error
  • info
  • debug

CSR_ID varchar(64) NO ID used to register with the gatekeeper which application is connecting. (Also known as the application ID).

CSR_Version text Version of CSR. This is entered when the GUI requests it from the CSR.

GKTMP_Version integer Version of GKTMP. This is entered when the GUI requests it from the CSR.

Priority integer NO 1 >=1 Priority to register this application to the gatekeeper.

ListenPort integer >0 and < 32767 TCP port to listen for incoming connection. A gatekeeper or simulator may connect to the CSR, and this is the port to connect to.

Database Functionalities · Name Type

Page 24 of the Cisco Systems Version 1.1 user manual — Database Functionalities
Page 24 · click to enlarge
Page 24

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Table2-1 Configuration Data Table (continued)

Allow Null Default Constraints Comments

ThreadCount integer NO 10 Number of threads in the working pool that handle routes in the rules engine. This number must be adjusted for different systems.

MaxSizeOfQueue integer NO 5000 Maximum size of the queue to handle calls. Typically, the queue is either empty or has an entry. During busy hours, the queue may become larger and cause long turn-around times for the calls to be routed.

boolean NO FALSE When issuing test commands through the GUI, the call units are updated if this is set to True.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

Show 7 more labels / short text on this page
Name Type · TestRoutesAccou ntingEnabled · RejectSrcCarrierI nactive · RejectNullSrcCar rier · RejectSrcCarrier Unknown · RejectDestination Unknown · RejectSrcPercent age
Page 25 of the Cisco Systems Version 1.1 user manual — Database Functionalities
Page 25 · click to enlarge
Page 25

Chapter2 PostgreSQL Database Operations and Functionalities

Table2-1 Configuration Data Table (continued)

Allow Null Default Constraints Comments

RejectSrcUnits boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

boolean NO FALSE If this rejection rule applies, the CSR returns a rejection instead of a null body.

Allow Null Default Constraints Comments

GKKey integer NO Primary key. Key of the gatekeeper.

GKID varchar(64) NO ID of the gatekeeper. Must be unique.

GK_IP inet NO IP address of the gatekeeper.

GK_Port integer NO >0 and < 32767 Port that the gatekeeper is listening on.

ListenARQ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenLRQ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenIRR boolean NO FALSE Set to TRUE if registering for this type of message.

ListenDRQ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenRRQ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenURQ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenLCF boolean NO FALSE Set to TRUE if registering for this type of message.

Show 5 more labels / short text on this page
Database Functionalities · Name Type · RejectNoDstCarri er · Table2-2 Gatekeeper Table · Name Type
Page 26 of the Cisco Systems Version 1.1 user manual — Database Functionalities
Page 26 · click to enlarge
Page 26

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Table2-2 Gatekeeper Table (continued)

Allow Null Default Constraints Comments

ListenLRJ boolean NO FALSE Set to TRUE if registering for this type of message.

ListenRAI boolean NO FALSE Set to TRUE if registering for this type of message.

ListenBRQ boolean NO FALSE Set to TRUE if registering for this type of message.

ConnectionState text NO Valid values:

If set to connect, the CSR attempts to connect to this gatekeeper.

  • connect
  • disconnect

Allow Null Default Constraints Comments

TestKey integer NO Primary key. Key of this test route.

TestTime time Time of the test.

TestDate date Date of the test.

DatasetID text ‘_1’ Valid values:

This marks which dataset to issue the test on.

  • _1
  • _2

ANI varchar(64) ANI message.

DNIS varchar(64) DNIS message.

SrcCarrierID varchar(64) ID of source carrier.

DstCarrierID varchar(64) ID of destination carrier.

RunMe Boolean NO FALSE Set to TRUE when this test is to be run by the CSR.

HomeCarrierID varchar(64) ID of home carrier.

ResultCode text Result code for this test.

Name Type · Table2-3 TestRoutes Table · Name Type

Page 27 of the Cisco Systems Version 1.1 user manual — Database Functionalities
Page 27 · click to enlarge
Page 27

Chapter2 PostgreSQL Database Operations and Functionalities

Allow Null Default Constraints Comments

TestKey integer NO Foreign key. Key of this test (see TestRoutes table).

SelectOrder integer NO For a given TestKey, this shows the order in which the carriers will be returned. The database does not guarantee the original ordering.

DstCarrierID varchar(64) NO ID of Destination Carrier.

ListKey integer NO Specifies key for the contact list associated with the particular carrier.

IsSelected boolean NO FALSE Specifies whether this is a selected carrier.

Allow Null Default Constraints Comments

TestKey integer NO Foreign key. Test key that this log file was generated for.

EntryOrder integer NO For a given Test key, this field is used to show the order in which the log events were generated. The database does not guarantee the original ordering.

LogString varchar(1024) NO The log entries associated with the test run.

Allow Null Default Constraints Comments

ResourceKey integer NO Primary key. Key to the resource.

ResourceString text NO String (error value).

Show 7 more labels / short text on this page
Database Functionalities · Table2-4 TestOutputs Table · Name Type · Table2-5 LogEntries Table · Name Type · Table2-6 StringResources Table · Name Type
Page 28 of the Cisco Systems Version 1.1 user manual — Dataset Tables
Page 28 · click to enlarge
Page 28

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Allow Null Default Constraints Comments

FilterKey integer NO Primary key. Key of the filter.

GKID varchar(64) NO Foreign key. ID of the gatekeeper associated with this filter.

MsgType text NO Valid values:

The message type for this filter.

  • ARQ
  • LRQ
  • RRQ
  • URQ
  • LCF
  • LRJ
  • DRQ
  • BRQ
  • IRR
  • RAI

FilterType text NO Valid values:

Type of filter.

  • endpoint
  • supportedprefix
  • destinationinformation
  • remoteextesionaddress’
  • redirectreason
  • answercall
  • notificationonly

Value text NO Value of this message. There are certain values for each filter type enforced by the GUI.

Dataset Tables

The dataset tables use functionality that is specific to postgreSQL, that is, table inheritance. This allows a table to be created and other tables to be inherited from it. For example, you can create a Carriers Table and have tables Carriers_1 and Carriers_2 inherit from it. This allows two datasets to be created.

Table2-7 Filters Table · Name Type

Page 29 of the Cisco Systems Version 1.1 user manual — Dataset Tables
Page 29 · click to enlarge
Page 29

Chapter2 PostgreSQL Database Operations and Functionalities

Allow Null Default Constraints Comments

CarrierKey integer NO 0 Primary key. Key of the carrier.

CarrierName varchar(64) NO Name of carrier.

CarrierType text NO Valid values:

Type of carrier.

  • home
  • itsp
  • tdm

CarrierID varchar(64) NO ID of carrier. Must be unique.

MaxIngressUnits integer >=0 Maximum ingress units.

MaxEgressUnits integer >=0 Maximum egress units.

RuleKey integer Foreign key. Rule associated with this specific carrier.

ListKey integer NO Foreign key. Key of the list.

isActive boolean NO TRUE Indicates whether carrier is active.

Allow Null Default Constraints Comments

PatternKey integer NO 0 Primary key. Key of the pattern.

Pattern varchar(64) NO Unique. Valid values are 0 to 9, a to f, A to F, *, and “.”

RouteKey integer Foreign key. Route that this pattern is associated with.

Show 5 more labels / short text on this page
Database Functionalities · Table2-8 Carriers Table · Name Type · Table2-9 MatchPatterns Table · Name Type
Page 30 of the Cisco Systems Version 1.1 user manual — Dataset Tables
Page 30 · click to enlarge
Page 30

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Allow Null Default Constraints Comments

RouteKey integer NO 0 Primary key. Key of the route.

RouteName text Name of the route.

RuleKey integer Foreign key. Rule associated with this route.

Allow Null Default Constraints Comments

RuleKey integer NO 0 Primary key. Key of the rule.

RuleName text Optional name to describe this rule.

IsDefaultRule boolean NO FALSE Indicates if this is the default rule. One default rule must exist.

MinQoS integer >= 1 and

PreferredCarrierKey integer Foreign key. Key to a carrier. Used only when SelectPreferr edCarrier rule is used.

Show 4 more labels / short text on this page
Table2-10 Routes Table · Name Type · Table2-11 Rules Table · Name Type
Page 31 of the Cisco Systems Version 1.1 user manual — Dataset Tables
Page 31 · click to enlarge
Page 31

Chapter2 PostgreSQL Database Operations and Functionalities

Table2-11 Rules Table (continued)

Allow Null Default Constraints Comments

RejectMaxOriginationPercentage boolean NO FALSE Indicates whether to reject this rule.

RejectMaxIngressUnits boolean NO FALSE Indicates whether to reject this rule.

RejectMaxIngressUnitsPerRoute boolean NO FALSE Indicates whether to reject this rule.

boolean NO FALSE Indicates whether to reject this rule.

RejectInsufficientQoS boolean NO FALSE Indicates whether to reject this rule.

RejectMaxEgressUnits boolean NO FALSE Indicates whether to reject this rule.

RejectMaxEgressUnitsPerRoute boolean NO FALSE Indicates whether to reject this rule.

PreventITSPtoITSP boolean NO FALSE Indicates whether to reject this rule.

SelectMinCostPerEgressRoute integer NO 0 >= 0 and

SelectBestQoS integer NO 0 >= 0 and

SelectSameCarrier integer NO 0 >= 0 and

Database Functionalities · Name Type · RejectEgressCostMoreThanIngre ss

Page 32 of the Cisco Systems Version 1.1 user manual — Dataset Tables
Page 32 · click to enlarge
Page 32

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Table2-11 Rules Table (continued)

Allow Null Default Constraints Comments

SelectPreferredCarrier integer NO 0 >= 0 and

SelectPercentageEgress integer NO 0 >= 0 and

Allow Null Default Constraints Comments

ContactKey integer NO 0 Primary key. Key of the contact.

RASAddress varchar(64) NO RAS address.

AddressType text NO Valid values:

Type of address (IP address, gatekeeper ID, or DNS name). The CSR converts the DNS name to IP address. When you use the DNS name, a DNS server must be available. Otherwise, this value is not used.

  • ipv4
  • gkid
  • dnsname

Cost integer >= 0 Specifies desired cost.

Priority integer >= 0 Specifies desired priority.

Name Type · Table2-12 Contacts Table · Name Type

Page 33 of the Cisco Systems Version 1.1 user manual — Lists Table
Page 33 · click to enlarge
Page 33

Chapter2 PostgreSQL Database Operations and Functionalities

Lists Table

Allow Null Default Constraints Comments

ListKey integer NO 0 Primary key. Key of the list.

ListName text Name of the list.

Allow Null Default Constraints Comments

ListKey NO Foreign key. Key of the list.

ContactKey NO Foreign key. Key of the contact.

Allow Null Default Constraints Comments

AttributeKey integer NO 0 Primary key. Key of the route attribute.

AttributeName text Name of attribute associated with the route.

CarrierKey integer NO Foreign key. Key of the carrier associated with this route attribute.

Show 7 more labels / short text on this page
Database Functionalities · Table2-13 Lists Table · Name Type · Table2-14 ContactLists Table · Name Type · Table2-15 RouteAttributes Table · Name Type
Page 34 of the Cisco Systems Version 1.1 user manual — Lists Table
Page 34 · click to enlarge
Page 34

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

Table2-15 RouteAttributes Table (continued)

Allow Null Default Constraints Comments

DaypartType text NO Valid values:

The CSR searches for the correct value in the following order:

  • absolute
  • weekly
  • absolute = specific date/time range. Start date, end date, start time, and end time must be entered.
  • daily
  • always
  • weekly=a specific day of the week during a specific time. Start time, end time, and weekday must be entered.
  • daily=each day for a specific time. Start time and end time must be entered.
  • always=all the time.

WeekDay integer >= 0 and

This is for the weekly setting.

StartTime time Valid formathour(0-23):min (0-60):sec (0-60)

This is for the absolute, weekly, and daily settings.

EndTime time Valid formathour(0-23):min (0-60):sec (0-60)

This is for absolute, weekly, and daily settings.

Cost integer >= 1 Cost associated with this attribute.

MaxUnits integer >= 0 Maximum units.

MaxPercentage integer >= 1 and

Maximum percentage.

Name Type

Page 35 of the Cisco Systems Version 1.1 user manual — Lists Table
Page 35 · click to enlarge
Page 35

Chapter2 PostgreSQL Database Operations and Functionalities

Allow Null Default Constraints Comments

QoS integer >= 0 and

ListKey integer Foreign key. Key of list associated with this egress route attribute.

Allow Null Default Constraints Comments

IngressCarrierKey integer NO Foreign key. Key of the ingress carrier.

EgressCarrierKey integer NO Foreign key. Key of the egress carrier

RouteKey integer NO Foreign key. Key of the route associated with the QoS.

RelativeQoS integer NO >= 1 and

Allow Null Default Constraints Comments

RouteKey integer NO Foreign key. Key of the route associated with this QoS.

AttributeKey integer NO Foreign key. Key of the attribute associated with this QoS.

Show 7 more labels / short text on this page
Database Functionalities · Table2-16 EgressRouteAttributes Table · Name Type · Table2-17 QoS Table · Name Type · Table2-18 QoS Table · Name Type
Page 36 of the Cisco Systems Version 1.1 user manual — PostgreSQL Database Command Summary
Page 36 · click to enlarge
Page 36

Chapter2 PostgreSQL Database Operations and Functionalities Database Functionalities

PostgreSQL Database Command Summary

Following is a summary of frequently used postgreSQL commands. Refer to the online manual pages and help section for more information.

  • createdb —Creates a new database in postgreSQL. A database name is required when using this command.
  • createuser —Creates a postgreSQL user. A user name is required when using this command.
  • dropdb —Removes a database from postgreSQL. A database name is required when using this command.
  • dropuser —Removes a postgreSQL user. A user name is required when using this command.
  • initdb —Creates a new postgreSQL database installation. This command is used only once when the database is installed. It creates the base directory. This command cannot be used again.
  • psql —SQL interface to the postgreSQL databases. A database name is required when using this command.
  • vacuumdb —Cleans and analyzes a postgreSQL database.
Page 37 of the Cisco Systems Version 1.1 user manual — CSR as a Daemon
Page 37 · click to enlarge
Page 37

C H A P T E R

Cisco Carrier Sensitive Routing Application Operations

This chapter describes the following Cisco Carrier Sensitive Routing application operations:

  • Activating CSR, page 3-1
  • Deactivating CSR , page 3-3

Activating CSR

This section provides instructions on running single and multiple instances of the CSR application. The CSR application typically is installed to run at one instance on a dedicated machine, although it can be run at multiple instances on the same machine.

Single Instance

Before activating the CSR application, the postgreSQL database must be installed and set up for use. A database named “csrdb” must be loaded into the application. You can use either of the following methods to activate the CSR application.

CSR as a Daemon

The daemon file is located in directory /etc/init.d/csr_init, and it accepts only the start parameter.

Step 1 To activate CSR, enter the following command:

You may be prompted for the postgres (UNIX user) password.

Step 2 To verify that CSR is running, enter the following command:

You also can check the syslog files for the first message that the CSR prints to the logs. The message should be a startup message.

csr_init start · ps –ef command

Page 38 of the Cisco Systems Version 1.1 user manual — Multiple Instances
Page 38 · click to enlarge
Page 38

Chapter3 Cisco Carrier Sensitive Routing Application Operations Activating CSR

CSR as a User Process

While the CSR is running as a daemon, other instances may run as user processes. If all instances are connected to the same database at startup, startup errors can occur because the following processes are attempted by all instances:

  • Listening on the same TCP port for incoming connections
  • Attempting to connect to the same gatekeepers as the same application and priority
  • Listening to the database for notification events from the GUI such as shutdown, update dataset, update logging level, and update gatekeeper connections

You can create other databases with the command createcsrdb; for example, createcsrdb csrdb2. You can connect to each of the databases separately by using the GUI and provisioning the database accordingly.

Step 1 To activate CSR, enter the following command:

This command activates CSR by connecting it to a different database and typing the process to a console.

Step 2 Optionally, to run CSR continuously after logout, enter the following command:

Multiple Instances

To run multiple CSR instances, all but one must run as a user process. If all instances are connected to the same database at startup, startup errors occur because the following processes are attempted by all instances:

  • Listening on the same TCP port for incoming connections
  • Attempting to connect to the same gatekeepers as the same application and priority
  • Listening to the database for notification events from the GUI such as shutdown, update dataset, update logging level, and update gatekeeper connections

You can create other databases with the command createcsrdb; for example, createcsrdb csrdb1, createcsrdb csrdb2, createcsrdb csrdb3. You can connect to each of the databases separately by using the CSR GUI and provisioning the databases accordingly.

Step 1 To start multiple instances of CSR that are connected to different databases such as csrdb1, csrdb2, csrdb3, enter the following commands:

csr csrdb1 & csr csrdb2 & csr csrdb3 &

This method ties the process to a console.

Step 2 Optionally, to run CSR continuously after logout, enter the following command:

csr csrdb1 & · nohup · nohup

Page 39 of the Cisco Systems Version 1.1 user manual — Deactivating CSR
Page 39 · click to enlarge
Page 39

Chapter3 Cisco Carrier Sensitive Routing Application Operations

Deactivating CSR

To stop CSR, log in to the CSR GUI by performing the following steps:

Step 1 At the system prompt, enter the following command:

The login dialog box in Figure3-1‘Login Dialog Box” appears.

Figure3-1 Login Dialog Box

Cisco Systems Version 1.1 — Deactivating CSR diagram (page 39)
Fig. 5 · Deactivating CSR

Step 2 Enter the information on the Login screen as follows:

a. Enter the user name. The range is 1 to 32 characters.

b. Enter the password. The range is 1 to 32 characters.

c. Enter the host name that is the location of the database. This can be a remote or local host. The range is 1 to 32 characters.

d. Enter port number. This is the port on the system for the database connection. The range is 1 to 32767.

e. Enter DB Name. This is the name of the database to be connected to. The range is 1 to 32 characters.

f. Click Login.

If login is successful, the CSR window in Figure3-2 “CSR Window” appears. Otherwise, a login failure message appears and the Login dialog box reappears. The user is limited to three login attempts, then the GUI shuts down. See Chapter4, “CSR GUI Functionalities”.

Deactivating CSR · /usr/local/csr/gui/csrgui &

Page 40 of the Cisco Systems Version 1.1 user manual — Deactivating CSR
Page 40 · click to enlarge
Page 40

Chapter3 Cisco Carrier Sensitive Routing Application Operations Deactivating CSR

Cisco Systems Version 1.1 — Deactivating CSR diagram (page 40)
Fig. 6 · Deactivating CSR

Step 3 Click the CSR Commands tab.

Step 4 Click Shutdown CSR.

This shuts down all CSRs connected to this database. All current calls are dropped, and connections to gatekeepers are terminated.

Figure3-2 CSR Window

Page 41 of the Cisco Systems Version 1.1 user manual — Activating the GUI
Page 41 · click to enlarge
Page 41

C H A P T E R

CSR GUI Functionalities

This chapter describes CSR functionalities and commands, and contains the following sections:

  • Activating the GUI, page 4-1
  • Configuring CSR with the GUI, page 4-2
  • Updating Active Datasets, page 4-12
  • Updating Inactive Datasets, page 4-39
  • CSR Commands, page 4-41
  • Multiple GUI Operation, page 4-46

Activating the GUI

Step 1 To start the GUI, enter the following command at the system prompt:

The Login dialog box appears in Figure4-1 “Login Dialog Box”, as shown below:

Figure4-1 Login Dialog Box

/usr/local/csr/gui/csrgui &

Page 42 of the Cisco Systems Version 1.1 user manual — Changing Configuration Settings
Page 42 · click to enlarge
Page 42

Chapter4 CSR GUI Functionalities Configuring CSR with the GUI

Step 2 Enter the information in the Login dialog box as follows:

a. Enter the user name. The range is 1 to 32 characters.

b. Enter the password. The range is 1 to 32 characters.

c. Enter the host name where the database is located. This can be a remote or local machine. The range is 1 to 32 characters.

d. Enter the port number. This is the port on the system for the database connection. The range is 1 to 32767.

e. Enter the DB Name. This is the name of the database to be connected to. The range is 1 to 32 characters.

f. Click Login.

If the login is successful, the CSR window appears. Otherwise, a login failure message appears and the Login dialog box reappears. After three unsuccessful login attempts, the GUI shuts down.

Alternatively, click Cancel to exit from the GUI.

Configuring CSR with the GUI

This section describes how to use the Configuration Management tab in the CSR window for the following purposes:

  • Changing Configuration Settings, page 4-2
  • Adding, Modifying, and Removing Gatekeepers, page 4-5
  • Swapping Datasets, page 4-12

Changing Configuration Settings

To change configuration settings, log in to CSR and click the Configuration Management tab in the CSR window. When the following screen (Figure4-2 “Configuration Management Tab in CSR Window”) appears, use the Configuration Settings area on the screen to make changes.

Page 43 of the Cisco Systems Version 1.1 user manual — Changing Log Levels
Page 43 · click to enlarge
Page 43

Chapter4 CSR GUI Functionalities

Configuring CSR with the GUI

Figure4-2 Configuration Management Tab in CSR Window

Cisco Systems Version 1.1 — Changing Log Levels diagram (page 43)
Fig. 7 · Changing Log Levels

Changing Log Levels

To change the logging level for the messages to be logged to syslog, select from the Logging Level pull-down menu. The following menu appears (Figure4-3 “Logging Level Pull-down Menu ”):

Page 44 of the Cisco Systems Version 1.1 user manual — Saving Configuration Settings
Page 44 · click to enlarge
Page 44

Chapter4 CSR GUI Functionalities Configuring CSR with the GUI

Figure4-3 Logging Level Pull-down Menu

Cisco Systems Version 1.1 — Changing App Priority diagram (page 44)
Fig. 8 · Changing App Priority

The available levels are as follows:

  • Error—Only messages containing severe errors are logged. Optimally, this level may not generate any error messages.
  • Information—Informational messages are generated and sent to syslog. A message at this level is likely to be generated for each route request. This logging level can slow down performance.
  • Debug—Numerous messages are logged for each route request. This logging level can severely slow down performance.

See AppendixA, “Logging,” for more detail on syslog.

Changing App Priority

App Priority is the priority of the CSR with respect to the connection to the gatekeeper. If two CSRs are connected to the gatekeeper, the gatekeeper uses this priority number to distinguish which one should be used first.

To change App Priority, enter a number from 1 to 9 in the App Priority box.

Changing Connection Port

Incoming Connection Port is the port where CSR listens for gatekeeper connection and where the simulator that acts as a client is connected to the CSR. It is normally used for testing because gatekeepers do not act as clients.

To change ports, enter a number from 1 to 32767. Entering zero disables the server connectivity.

Enabling Test Routes Accounting

This option enables accounting associated with the test routes. When this option is enabled and a test route is issued, the call accounting units are updated. If you are testing new functionalities relating to call counts through the GUI, this must be enabled.

To enable this option, click the checkbox to the left of the option.

Saving Configuration Settings

The Save Changes option saves the current configuration settings to the system. To save the settings, click Save Changes.

Page 45 of the Cisco Systems Version 1.1 user manual — Adding Gatekeepers
Page 45 · click to enlarge
Page 45

Chapter4 CSR GUI Functionalities

Configuring CSR with the GUI

Adding, Modifying, and Removing Gatekeepers

To add, modify, and remove gatekeepers, log in to CSR and select the Configuration Management tab in the CSR window. Use the Current Gatekeepers area on the screen to add, modify, or remove gatekeepers.

Adding Gatekeepers

This section describes the steps to add a gatekeeper and its associated messages and filters.

Step 1 To add a gatekeeper, click Add in the Current Gatekeepers area. The following dialog box appears (Figure4-4 “Registered Messages and Filters Dialog Box for a New Gatekeeper”):

Figure4-4 Registered Messages and Filters Dialog Box for a New Gatekeeper

Cisco Systems Version 1.1 — Adding Gatekeepers diagram (page 45)
Fig. 9 · Adding Gatekeepers
Page 46 of the Cisco Systems Version 1.1 user manual — Adding, Modifying, and Removing Gatekeepers
Page 46 · click to enlarge
Page 46

Chapter4 CSR GUI Functionalities Configuring CSR with the GUI

Step 2 Εnter the ID of the gatekeeper to be added. The range is 1 to 64 characters.

Step 3 Εnter remote address (IP address) of the gatekeeper to be connected to. The format is x.x.x.x where x is a number from 0 to 255.

Step 4 Εnter port on the gatekeeper used for connection. The range is 1 to 32767.

Step 5 Click Connected or Disconnected to connect the gatekeeper to or disconnect the gatekeeper from the CSR. The default is Connected.

Step 6 To select a message to be associated with the gatekeeper, check the checkbox next to the message shown, as follows (Figure4-5 “Registered Messages and Filters Checkbox”):

Figure4-5 Registered Messages and Filters Checkbox

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 46)
Fig. 10 · Adding, Modifying, and Removing Gatekeepers

Step 7 To display the existing filters for the message, click the round button to the far left of the message. The following screen appears (Figure4-6 “Filter display in the Registered Messages and Filters Dialog Box”):

Figure4-6 Filter display in the Registered Messages and Filters Dialog Box

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 46)
Fig. 11 · Adding, Modifying, and Removing Gatekeepers

Step 8 To add a filter to a message, right click the icon to the left of the message. A pop-up menu containing the available filters appears (Figure4-7 “Filters Pop-up Menu”):

Page 47 of the Cisco Systems Version 1.1 user manual — Adding, Modifying, and Removing Gatekeepers
Page 47 · click to enlarge
Page 47

Chapter4 CSR GUI Functionalities

Configuring CSR with the GUI

Figure4-7 Filters Pop-up Menu

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 47)
Fig. 12 · Adding, Modifying, and Removing Gatekeepers

Step 9 Click a filter on the pop-up menu.

Step 10 Enter or select a value for the filter, as shown in the following sample displays (Figure4-8 “Sample Filter Display”, Figure4-9 “Sample Filter Display”):

Figure4-8 Sample Filter Display

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 47)
Fig. 13 · Adding, Modifying, and Removing Gatekeepers
Page 48 of the Cisco Systems Version 1.1 user manual — Adding, Modifying, and Removing Gatekeepers
Page 48 · click to enlarge
Page 48

Chapter4 CSR GUI Functionalities Configuring CSR with the GUI

Figure4-9 Sample Filter Display

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 48)
Fig. 14 · Adding, Modifying, and Removing Gatekeepers

Step 11 To delete a filter to the message, select from the pull-down menu for the filter. The following screen appears (Figure4-10 “Delete Filter Display”):

Figure4-10 Delete Filter Display

Cisco Systems Version 1.1 — Adding, Modifying, and Removing Gatekeepers diagram (page 48)
Fig. 15 · Adding, Modifying, and Removing Gatekeepers

Step 12 Click Delete.

Step 13 Click OK to save the changes, or click Cancel to cancel the changes.

Page 49 of the Cisco Systems Version 1.1 user manual — Modifying Gatekeepers
Page 49 · click to enlarge
Page 49

Chapter4 CSR GUI Functionalities

Configuring CSR with the GUI

Modifying Gatekeepers

This section describes how to modify an existing gatekeeper.

Step 1 Select a gatekeeper from the gatekeeper list in the Current Gatekeepers area, as follows (Figure4-11 “Current Gatekeepers Area in CSR Window”).

Figure4-11 Current Gatekeepers Area in CSR Window

Cisco Systems Version 1.1 — Modifying Gatekeepers diagram (page 49)
Fig. 16 · Modifying Gatekeepers

Step 2 Click Modify. The following dialog box appears (Figure4-12 “Registered Messages and Filters Dialog Box for an Existing Gatekeeper”).

Page 50 of the Cisco Systems Version 1.1 user manual — Removing Gatekeepers
Page 50 · click to enlarge
Page 50

Chapter4 CSR GUI Functionalities Configuring CSR with the GUI

Figure4-12 Registered Messages and Filters Dialog Box for an Existing Gatekeeper

Cisco Systems Version 1.1 — Removing Gatekeepers diagram (page 50)
Fig. 17 · Removing Gatekeepers

Step 3 To modify a message and its filters associated with the gatekeeper, click the round button to the left of the message.

Step 4 Use the steps in adding messages and filters in the “Adding Gatekeepers” section on page5.

Step 5 Click OK to save the changes, or click Cancel to cancel the changes.

Removing Gatekeepers

This section describes how to remove an existing gatekeeper.

Page 51 of the Cisco Systems Version 1.1 user manual — Setting Threads for Processing Calls and Call Queue Size
Page 51 · click to enlarge
Page 51

Chapter4 CSR GUI Functionalities

Configuring CSR with the GUI

Step 1 To remove an existing gatekeeper, select a gatekeeper from the gatekeeper list in the Current Gatekeepers area.

Step 2 Click Remove. The following message appears (Figure4-13 “Delete Gatekeeper Message”).

Figure4-13 Delete Gatekeeper Message

Cisco Systems Version 1.1 — Setting Threads for Processing Calls and Call Queue Size diagram (page 51)
Fig. 18 · Setting Threads for Processing Calls and Call Queue…

Step 3 Click Yes to remove the gatekeeper, or click No to retain the gatekeeper.

Setting Threads for Processing Calls and Call Queue Size

This section describes how to set the number of working threads for processing calls in the queue and the maximum number of calls allowed to be queued.

Step 1 In the Configuration Management screen in the CSR window, click Advanced. The Advanced Configuration dialog box appears (Figure4-14 “Advanced Configuration Dialog Box”):

Figure4-14 Advanced Configuration Dialog Box

Cisco Systems Version 1.1 — Setting Threads for Processing Calls and Call Queue Size diagram (page 51)
Fig. 19 · Setting Threads for Processing Calls and Call Queue…

Step 2 To set the number of working threads for processing calls in the queue, enter the number of threads for pool.

This number should equal to the number of processors of the host machine, plus one. It can be modified to enhance the performance of the CSR in different environments.

Page 52 of the Cisco Systems Version 1.1 user manual — Updating Active Datasets
Page 52 · click to enlarge
Page 52

Chapter4 CSR GUI Functionalities Updating Active Datasets

Step 3 To enter the maximum number of calls allowed to be queued, enter a number for “Maximum Queue Size.”

The default is 5000. If this number is too low, the gatekeeper connection waits for the CSR to catch up. If this number is too high, the turnaround time per message may be too long during busy hours and the gatekeeper routes the call on its own.

Step 4 Click OK to save the changes, or click Cancel to cancel the changes.

Swapping Datasets

This section describes how to swap an active and inactive dataset.

Step 1 In the Configuration Management screen in the CSR window, click Swap Active/Inactive Datasets. The following message appears (Figure4-15 “Swap Dataset Message”):

Figure4-15 Swap Dataset Message

Cisco Systems Version 1.1 — Swapping Datasets diagram (page 52)
Fig. 20 · Swapping Datasets

Step 2 Check the checkbox to the left of “Load Dataset into CSR.”.

Step 3 Click Swap to swap the datasets, or click Cancel to cancel swapping.

Updating Active Datasets

This section describes how to update active datasets by using the Active Dataset tab in the CSR window to create, modify, and delete the following items.

  • Carriers
  • Contacts
  • Contact lists
Page 53 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Carriers
Page 53 · click to enlarge
Page 53

Chapter4 CSR GUI Functionalities

  • Egress and ingress route attributes
  • Match patterns
  • Routes
  • Rules

After you log in to CSR and select the Active Dataset tab in the CSR window, the following screen appears (Figure4-16 “Active Dataset Tab in CSR Window”):

Figure4-16 Active Dataset Tab in CSR Window

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Carriers diagram (page 53)
Fig. 21 · Creating, Modifying, and Deleting Carriers

The following sections describe functionalities and operations of the Active Dataset tab.

Creating, Modifying, and Deleting Carriers

This section describes the steps to create, modify, and delete carriers.

Updating Active Datasets

Page 54 of the Cisco Systems Version 1.1 user manual — Creating Carriers
Page 54 · click to enlarge
Page 54

Chapter4 CSR GUI Functionalities Updating Active Datasets

Creating Carriers

Step 1 In the Active Dataset screen in the CSR window, if Carriers is not selected in the Selection box, click the down arrow in that box. A pull-down menu appears (Figure4-17 “Carrier Selection Box in Active Dataset”):

Figure4-17 Carrier Selection Box in Active Dataset

Cisco Systems Version 1.1 — Creating Carriers diagram (page 54)
Fig. 22 · Creating Carriers

Step 2 Select Carriers from the pull-down menu, then click New. The New Carrier dialog box appears (Figure4-18 “Dialog Box for New Carrier in Active Dataset”):

Page 55 of the Cisco Systems Version 1.1 user manual — Modifying Carriers
Page 55 · click to enlarge
Page 55

Chapter4 CSR GUI Functionalities

Figure4-18 Dialog Box for New Carrier in Active Dataset

Cisco Systems Version 1.1 — Modifying Carriers diagram (page 55)
Fig. 23 · Modifying Carriers

The carrier key is the primary key of this carrier in the Carriers table. When a new carrier is being created, “%%%%” is displayed.

Step 3 In the Carrier ID box, enter the ID of the carrier. The range is 1 to 64 characters.

Step 4 In the Carrier name box, enter name of the carrier. The range is 1 to 64 characters.

Step 5 In the Carrier Type box, click the down arrow, then select the type of carrier from the pull-down menu.

Step 6 In the Max Ingress Units box, enter the maximum number of ingress units this carrier may originate across all routes serviced by this carrier. The range is 0 to 2147483647. This is optional.

Step 7 In the Rule box, click the down arrow, then select the rule this carrier applies to from the pull-down menu.

Step 8 In the Max Egress Units box, enter the maximum number of egress units that this carrier may terminate across all routes serviced by this carrier. The range is 0 to 2147483647. This is optional.

Step 9 In the Contact List box, click the down arrow, then select the contact list that this carrier applies to from the pull-down menu.

Step 10 To make this carrier active, click the checkbox to the left of “Active.”

Step 11 Click Add to add this carrier to the provisioned data, or click Cancel to exit.

Modifying Carriers

Step 1 In the Active Dataset tab in the CSR window, if “Carrier” is not selected in the Selection box, click the down arrow in that box, then select Carrier from the pull-down menu.

Step 2 In the Carriers area, select a carrier by double-clicking that carrier on the list. Carrier information similar to the following appears (Figure4-19 “Dialog Box for an Existing Carrier in Active Dataset”):

Updating Active Datasets

Page 56 of the Cisco Systems Version 1.1 user manual — Deleting Carriers
Page 56 · click to enlarge
Page 56

Chapter4 CSR GUI Functionalities Updating Active Datasets

Figure4-19 Dialog Box for an Existing Carrier in Active Dataset

Cisco Systems Version 1.1 — Deleting Carriers diagram (page 56)
Fig. 24 · Deleting Carriers

Step 3 Change the information accordingly.

Step 4 Click Modify to save the changes, or click Cancel to cancel the changes.

Deleting Carriers

Step 1 In the Active Dataset tab in the CSR window, if Carriers is not selected in the Selection box, click the down arrow in that box, then select Carrier from the pull-down menu.

Step 2 In the Carriers area, click a carrier. You can select more than one carrier by holding down the Ctrl key while clicking each carrier.

Step 3 Click Delete. The following message appears (Figure4-20 “Delete Carrier Message in Active Dataset”):

Figure4-20 Delete Carrier Message in Active Dataset

Cisco Systems Version 1.1 — Deleting Carriers diagram (page 56)
Fig. 25 · Deleting Carriers

Step 4 Click Yes to delete the carrier, or click No to stop deletion.

Page 57 of the Cisco Systems Version 1.1 user manual — Creating Contacts
Page 57 · click to enlarge
Page 57

Chapter4 CSR GUI Functionalities

Creating, Modifying, and Deleting Contacts

This section describes the steps to create, modify, and delete contacts.

Creating Contacts

Step 1 In the Active Dataset tab screen in the CSR window, click the down arrow in the Selection box, then select Contacts from the pull-down menu.

Step 2 Click New. The following dialog box appears (Figure4-21 “Dialog Box for New Contact in Active Dataset”):

Figure4-21 Dialog Box for New Contact in Active Dataset

Cisco Systems Version 1.1 — Creating Contacts diagram (page 57)
Fig. 26 · Creating Contacts

The contact key is the primary key of this contact in the Contacts table. When a new contact is being created, “%%%%” is displayed.

Step 3 In the Address Type box, click the down arrow, then select an address type from the pull-down menu.

Step 4 In the RAS Address box, enter address of the contact (IP Address or Gatekeeper ID).

Updating Active Datasets

Page 58 of the Cisco Systems Version 1.1 user manual — Deleting Contacts
Page 58 · click to enlarge
Page 58

Chapter4 CSR GUI Functionalities Updating Active Datasets

Step 5 In the Cost box, enter cost associated with this contact. The entry must be greater than 0. This is optional.

Step 6 In the Priority box, enter priority of this contact. The entry must be greater than 0. This is optional.

Step 7 Click New to add this contact, or click Cancel to exit.

Modifying Contacts

Step 1 In the Active Dataset tab screen in the CSR window, click the down arrow in the Selection box, then select Contacts from the pull-down menu.

Step 2 In the Contacts area, select a contact by double-clicking on that contact on the list. Contact information similar to the following appears (Figure4-22 “Dialog Box for an Existing Contact in Active Dataset”):

Figure4-22 Dialog Box for an Existing Contact in Active Dataset

Cisco Systems Version 1.1 — Modifying Contacts diagram (page 58)
Fig. 27 · Modifying Contacts

Step 3 Change the information accordingly.

Step 4 Click Modify to save the changes, or click Change to cancel the changes.

Deleting Contacts

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Contacts from the pull-down menu.

Page 59 of the Cisco Systems Version 1.1 user manual — Creating Contact Lists
Page 59 · click to enlarge
Page 59

Chapter4 CSR GUI Functionalities

Step 2 In the Contacts area, click a contact. You can select more than one contact by holding down the Ctrl key while clicking each contact.

Step 3 Click Delete. A Delete message appears:

Step 4 Click Yes to delete the contact, or click No to stop the deletion.

Creating, Modifying, and Deleting Contact Lists

This section describes the steps to create, modify, and delete Contacts Lists.

Creating Contact Lists

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Contact Lists from the pull-down menu.

Step 2 Click New. The following dialog box appears (Figure4-23 “Dialog Box for New Contact List in Active Dataset”):

Figure4-23 Dialog Box for New Contact List in Active Dataset

Cisco Systems Version 1.1 — Creating Contact Lists diagram (page 59)
Fig. 28 · Creating Contact Lists

Updating Active Datasets

Page 60 of the Cisco Systems Version 1.1 user manual — Modifying Contact Lists
Page 60 · click to enlarge
Page 60

Chapter4 CSR GUI Functionalities Updating Active Datasets

The key shown on the screen is the primary key of this contact list in the Contact List table. When a new contact list is being created, “%%%%” is displayed.

Step 3 In the Contact List Name box, enter the name of the contact list. The range is 1 to 64 characters.

Step 4 In the Available Contacts box, you can select a contact and click Add to add that contact to the Associated Contacts box.

Step 5 In the Associated Contacts box, you can select a contact and click Remove to remove that contact from the box and return it to the Available Contacts box.

Step 6 Click Add to add this contact list, or click Cancel to exit.

Modifying Contact Lists

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Contact Lists from the pull-down menu.

Step 2 In the Contact Lists area, select a contact list by double-clicking on that contact list. Contact list information similar to the following appears (Figure4-24 “Dialog Box for an Existing Contact List in Active Dataset”):

Figure4-24 Dialog Box for an Existing Contact List in Active Dataset

Cisco Systems Version 1.1 — Modifying Contact Lists diagram (page 60)
Fig. 29 · Modifying Contact Lists

Step 3 Change the information accordingly.

Page 61 of the Cisco Systems Version 1.1 user manual — Creating Egress Route Attributes
Page 61 · click to enlarge
Page 61

Chapter4 CSR GUI Functionalities

Step 4 Click Modify to save the changes, or click Cancel to cancel the changes.

Deleting Contact Lists

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Contact Lists from the pull-down menu.

Step 2 In the Contact Lists area, click a contact list. You can select more than one list by holding down the Ctrl key while clicking each contact list.

Step 3 Click Delete. A Delete message appears.

Step 4 Click Yes to delete the contact list, or click No to stop the deletion.

Creating, Modifying, and Deleting Egress Route Attributes

This section describes the steps to create, modify, and delete Egress Route Attributes.

Creating Egress Route Attributes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Egress Route Attributes from the pull-down menu.

Step 2 Click New. The following screen appears (Figure4-25 “Dialog Box for New Egress Route Attribute in Active Dataset”):

Updating Active Datasets

Page 62 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Contact Lists
Page 62 · click to enlarge
Page 62

Chapter4 CSR GUI Functionalities Updating Active Datasets

Figure4-25 Dialog Box for New Egress Route Attribute in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 62)
Fig. 30 · Creating, Modifying, and Deleting Contact Lists

The key shown on the screen is the primary key of this egress route attribute in the Egress Route Attributes table. When a new egress route attribute is being created, “%%%%” is displayed.

Step 3 In the Name box, enter the name of this egress route attribute. The range is 1 to 64 characters. This entry is optional.

Step 4 In the Cost box, enter the cost associated with this egress route attribute. The entry must be greater than 0. This entry is optional.

Step 5 In the Max % box, enter the maximum percentage of calls that the associated carrier may terminate on a route associated with this route attribute. The range is 0 to 100. This entry is optional.

Step 6 In the Max Units box, enter the maximum number of egress units this carrier may terminate on a route associated with this route attribute. This entry is optional.

Step 7 In the Carrier box, click the down arrow, then select a carrier from the pull-down menu. This is the carrier this egress route applies to.

Step 8 In the Qos box, enter the quality of service associated with this route attribute. The range is 1 to 9. This entry is optional.

Step 9 In the Contact List box, click the down arrow, then select a contact list from the pull-down menu. This is the contact list this egress route applies to.

Page 63 of the Cisco Systems Version 1.1 user manual — Modifying Egress Route Attributes
Page 63 · click to enlarge
Page 63

Chapter4 CSR GUI Functionalities

Step 10 In the Date/Time area, click Daily, Weekly, Absolute or Constant. The egress route attribute is being applied according to these time segments.

a. If you select Daily, enter Start Time and End Time. Use the format shown in the example at the bottom of the Date/Time area:

hour(0-23):min (0-60):sec (0-60)

b. If you select Weekly, select day of the week from the pull-down menu and enter the Start Time and the End Time.

c. If you select Absolute, enter the Start Date, Start Time, End Date, and End Time.

The Start Date is the date when the egress route attribute becomes active. The End Date is the date when it becomes inactive. Use the formats shown in the example at the bottom of the Date/Time area:

4 digit year-2 digit month-2 digit day for date, as in 2002-12-03 hour(0-23):min (0-60):sec (0-60) for time, as in 12:59:10

d. If you select Constant, the egress route attribute is applied at all times of all days.

Step 11 In the Available Routes box, click Add or Remove to add or remove a route from the Associated Routes box respectively.

Step 12 Click Add to add this egress route attribute, or click Cancel to exit.

Modifying Egress Route Attributes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Egress Route Attributes from the pull-down menu.

Step 2 Click the down arrow in the Carriers box, then select the appropriate carrier from the pull-down menu. A list of Egress Route Attribute names of the selected carrier appears (Figure4-26 “List of Egress Route Attribute Names in Active Dataset”):

Updating Active Datasets

Page 64 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Contact Lists
Page 64 · click to enlarge
Page 64

Chapter4 CSR GUI Functionalities Updating Active Datasets

Figure4-26 List of Egress Route Attribute Names in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 64)
Fig. 31 · Creating, Modifying, and Deleting Contact Lists
Page 65 of the Cisco Systems Version 1.1 user manual — Deleting Egress Route Attributes
Page 65 · click to enlarge
Page 65

Chapter4 CSR GUI Functionalities

Step 3 From the list, select an Egress Route Attribute by double-clicking on that attribute. Egress Route Attributes information similar to the following appears (Figure4-27 “Dialog Box for an Existing Egress Route Attribute in Active Dataset”):

Figure4-27 Dialog Box for an Existing Egress Route Attribute in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 65)
Fig. 32 · Creating, Modifying, and Deleting Contact Lists

Step 4 Change the information accordingly.

Step 5 Click Modify to save the changes, or click Cancel to cancel the changes.

Deleting Egress Route Attributes

Step 1 In the Active Dataset tab screen in the CSR window, click the down arrow in the Selection box, then select Egress Route Attributes from the pull-down menu.

Step 2 Click the down arrow in the Carriers box, then select the appropriate carrier from the pull-down menu.

Step 3 In the Egress Route Attribute list, select an attribute. You can select more than one attribute by holding down the Ctrl key while clicking each attribute.

Updating Active Datasets

Page 66 of the Cisco Systems Version 1.1 user manual — Creating Ingress Route Attributes
Page 66 · click to enlarge
Page 66

Chapter4 CSR GUI Functionalities Updating Active Datasets

Step 4 Click Delete.

A Delete message appears:

Step 5 Click Yes to delete the attribute, or click No to stop the deletion.

Creating, Modifying, and Deleting Ingress Route Attributes

This section describes the steps to create, modify, and delete Ingress Route Attributes.

Creating Ingress Route Attributes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Ingress Route Attributes from the pull-down menu.

Step 2 Click New. The New Ingress Route Attribute dialog box appears (Figure4-28 “Dialog Box for New Ingress Route Attribute in Active Dataset”):

Page 67 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Contact Lists
Page 67 · click to enlarge
Page 67

Chapter4 CSR GUI Functionalities

Figure4-28 Dialog Box for New Ingress Route Attribute in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 67)
Fig. 33 · Creating, Modifying, and Deleting Contact Lists

The key shown on the screen is the primary key of this Ingress Route Attribute in the Ingress Route Attributes table. When a new ingress route attribute is being created, “%%%%” is displayed.

Step 3 In the Name box, enter the name of this ingress route attribute. The range is 1 to 64 characters. This entry is optional.

Step 4 In the Cost box, enter the cost associated with this ingress route attribute. The entry must be greater than 0. This entry is optional.

Step 5 In the Max % box, enter the maximum percentage of calls that the associated carrier may originate on a route associated with this route attribute. The range is 0 to 100. This entry is optional.

Step 6 In the Max Units box, enter the maximum number of ingress units that this carrier may originate on a route associated with this route attribute. This entry is optional.

Step 7 In the Carrier box, click the down arrow, then select a carrier from the carrier pull-down menu. This is the carrier that this ingress route applies to.

Step 8 In the Date/Time area, select Daily, Weekly, Absolute, or Constant.

The Ingress Route Attribute is being applied according to these time segments:

a. If you select Daily, enter Start Time and End Time.

Use the format shown in the example at the bottom of the Date/Time area:

Updating Active Datasets

Page 68 of the Cisco Systems Version 1.1 user manual — Modifying Ingress Route Attributes
Page 68 · click to enlarge
Page 68

Chapter4 CSR GUI Functionalities Updating Active Datasets

hour(0-23):min (0-60):sec (0-60)

b. If you select Weekly, select day of the week from the pull-down menu and enter the Start Time and the End Time.

c. If you select Absolute, enter the Start Date, Start Time, End Date, and End Time.

The Start Date is the date when the ingress route attribute becomes active. The End Date is the date when it becomes inactive.

Use the formats shown in the example at the bottom of the Date/Time area:

4 digit year-2 digit month-2 digit day for date, as in 2002-12-03 hour(0-23):min (0-60):sec (0-60) for time, as in 12:59:10

d. If you select Constant, this indicates that the ingress route attribute applies at all times of all days.

Step 9 In the Available Routes box, click Add or Remove to add or remove a route from the Associated Routes box respectively.

Step 10 Click Add to add this ingress route attribute, or click Cancel to exit.

Modifying Ingress Route Attributes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Ingress Route Attributes from the pull-down menu.

Step 2 Click the down arrow in the Carriers box, then select the appropriate carrier from the pull-down menu. A list of Ingress Route attribute names of the selected carrier appears.

Step 3 In the list, select an ingress route attribute by double-clicking that attribute. Ingress Route Attributes information similar to the following appears (Figure4-29 “Dialog Box for an Existing Ingress Route Attribute in Active Dataset”):

Page 69 of the Cisco Systems Version 1.1 user manual — Deleting Ingress Route Attributes
Page 69 · click to enlarge
Page 69

Chapter4 CSR GUI Functionalities

Figure4-29 Dialog Box for an Existing Ingress Route Attribute in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 69)
Fig. 34 · Creating, Modifying, and Deleting Contact Lists

Step 4 Change the information accordingly.

Step 5 Click Modify to save the changes, or click Cancel to leave the changes.

Deleting Ingress Route Attributes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Ingress Route Attributes from the pull-down menu.

Step 2 Click the down arrow in the Carriers box, then select the appropriate carrier from the pull-down menu.

Step 3 In the Ingress Route Attribute list, select an attribute. You can select more than one attribute by holding down the Ctrl key while doing the mouse-click.

Step 4 Click Delete.

A Delete message appears.

Step 5 Click Yes to delete the attribute, or click No to stop the deletion.

Updating Active Datasets

Page 70 of the Cisco Systems Version 1.1 user manual — Creating Match Patterns
Page 70 · click to enlarge
Page 70

Chapter4 CSR GUI Functionalities Updating Active Datasets

Creating, Modifying, and Deleting Match Patterns

This section describes the steps to create, modify, and delete Match Patterns.

Creating Match Patterns

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Match Patterns from the pull-down menu.

Step 2 Click New. The following New Pattern dialog box appears (Figure4-30 “Dialog Box for New Pattern in Active Dataset”):

Figure4-30 Dialog Box for New Pattern in Active Dataset

Cisco Systems Version 1.1 — Creating Match Patterns diagram (page 70)
Fig. 35 · Creating Match Patterns

The Pattern Key on this screen is the primary key of this pattern in the Match Patterns Table. When a new pattern is being created, “%%%%” is displayed.

Step 3 In the Pattern box, enter the match pattern that a DNIS is to mapped to.

This entry can include 0-9, A-F, *, and period (.).

Step 4 In the Route box, enter the route that applies to this pattern.

Step 5 Click Add to add this pattern, or click Cancel to exit.

Page 71 of the Cisco Systems Version 1.1 user manual — Deleting Match Patterns
Page 71 · click to enlarge
Page 71

Chapter4 CSR GUI Functionalities

Modifying Match Patterns

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Match Patterns from the pull-down menu.

Step 2 In the Match Pattern area, select a pattern by double-clicking on that pattern. Match Pattern information similar to the following appears (Figure4-31 “Dialog Box for New Match Pattern in Active Dataset”):

Figure4-31 Dialog Box for New Match Pattern in Active Dataset

Cisco Systems Version 1.1 — Modifying Match Patterns diagram (page 71)
Fig. 36 · Modifying Match Patterns

Step 3 Change the information accordingly.

Step 4 Click Modify to save the changes, or click Cancel to leave the changes.

Deleting Match Patterns

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Match Patterns from the pull-down menu.

Step 2 In the Match Pattern area, select a pattern. You can select more than one pattern by holding down the Ctrl key while clicking each pattern.

Step 3 Click Delete. A Delete message appears.

Step 4 Click Yes to delete the pattern, or click No to stop the deletion.

Updating Active Datasets

Page 72 of the Cisco Systems Version 1.1 user manual — Creating Routes
Page 72 · click to enlarge
Page 72

Chapter4 CSR GUI Functionalities Updating Active Datasets

Creating, Modifying, and Deleting Routes

This section describes the steps to create, modify, and delete routes.

Creating Routes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Match Patterns from the pull-down menu.

Step 2 Click New. The New Route dialog box appears (Figure4-32 “Dialog Box for New Route in Active Dataset”):

Figure4-32 Dialog Box for New Route in Active Dataset

Cisco Systems Version 1.1 — Creating Routes diagram (page 72)
Fig. 37 · Creating Routes

The key shown on the screen is the primary key of this route in the Route table. When a new route is being created, “%%%%” is displayed.

Step 3 In the Name box, enter the name of the route. The range is 1 to 64 characters. This entry is optional.

Step 4 In the Rule box, click the down arrow, then select from the pull-down menu a rule that applies to the patterns to be used.

Step 5 Click QoS Relationships. The QoS Relationships dialog box appears (Figure4-33 “QoS Relationships Dialog Box in Active Dataset”).

Page 73 of the Cisco Systems Version 1.1 user manual — Modifying Routes
Page 73 · click to enlarge
Page 73

Chapter4 CSR GUI Functionalities

Figure4-33 QoS Relationships Dialog Box in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 73)
Fig. 38 · Creating, Modifying, and Deleting Contact Lists

a. In the Ingress Carrier box, click the down arrow, then select the ingress carrier from the pull-down menu.

b. In the Egress Carrier box, click the down arrow, then select the egress carrier from the pull-down menu.

c. In the QoS Value box, enter a number larger than zero.

d. Click Add or Remove to add or remove the QoS relationship.

e. Click OK to complete adding the relationship or click Cancel to exit without adding the relationship.

Step 6 In the Available Patterns box, select a pattern and click Add to add a pattern to the route. The patterns in this box are not bound to this route until they are added to the Patterns in Route box. Click Remove to remove a pattern bound to the route.

Step 7 Click Add to add this route, or click Cancel to exit.

Modifying Routes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Match Patterns from the pull-down menu.

Step 2 In the Routes area, select a route by double-clicking the route. Routes information similar to the following appears (Figure4-34 “Dialog Box for an Existing Route in Active Dataset”):

Updating Active Datasets

Page 74 of the Cisco Systems Version 1.1 user manual — Deleting Routes
Page 74 · click to enlarge
Page 74

Chapter4 CSR GUI Functionalities Updating Active Datasets

Figure4-34 Dialog Box for an Existing Route in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 74)
Fig. 39 · Creating, Modifying, and Deleting Contact Lists

Step 3 Change the information accordingly.

Step 4 Click Modify to save the changes, or click Cancel to leave the changes.

Deleting Routes

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Routes from the pull-down menu.

Step 2 In the Routes area, select a route. You can select more than one route by holding down the Ctrl key while clicking each route.

Step 3 Click Delete. A Delete message appears.

Step 4 Click Yes to delete the route, or click No to stop the deletion.

Page 75 of the Cisco Systems Version 1.1 user manual — Creating Rules
Page 75 · click to enlarge
Page 75

Chapter4 CSR GUI Functionalities

Creating, Modifying, and Deleting Rules

This section describes the steps to create, modify and delete rules.

Creating Rules

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Rules from the pull-down menu.

Step 2 Click New.

The New Rule dialog box appears (Figure4-35 “Dialog Box for New Rule in Active Dataset”):

Figure4-35 Dialog Box for New Rule in Active Dataset

Cisco Systems Version 1.1 — Creating Rules diagram (page 75)
Fig. 40 · Creating Rules

The key shown on the screen is the primary key of this rule in the Rules table. When a new rule is being created, “%%%%” is displayed.

Step 3 In the Name box, enter the name of the rule. The range is 1 to 64 characters.

Step 4 In the Min QoS box, enter the lowest QoS level associated with this rule. The range is 1 to 9.

Step 5 Click the checkbox to the left of Is Default Rule to select this rule as the default rule.

Step 6 In the Rejection Rules (Ingress) area, check the checkbox next to the rule that you want to activate as a rejection rule as follows:

Updating Active Datasets

Page 76 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Contact Lists
Page 76 · click to enlarge
Page 76

Chapter4 CSR GUI Functionalities Updating Active Datasets

  • Reject Max Origination Percentage—If the ingress carrier’s current percentage of calls is greater than its provisioned maximum, the call is rejected.

Note This rule rejects a call if the percentage of calls originated by this ingress carrier to a specific route or match pattern exceeds the maximum percentage defined in the ingress route attributes for this ingress carrier. For example, if the maximum percentage is set to 40 percent, the first call made by carrier A to route R succeeds and 100 percent of the calls to route R are now made from ingress carrier A. The second call from the same carrier to the same DNIS fails.

  • Reject Max Ingress Units—If the ingress carrier’s ingress units are greater than its provisioned maximum, the call is rejected.
  • Reject Max Ingress Units Per Route—If the ingress carrier’s ingress units for this route are greater than its provisioned maximum for this route, the call is rejected.

Step 7 In the Rejection Rules (Egress) area, check the checkbox to the left of the rule that you want to activate as a rejection rule as follows:

  • Reject Egress Cost Greater Than Ingress—If the ingress carrier and egress carrier both have a provisioned cost and the egress carrier’s cost is greater, the egress carrier is eliminated.
  • Reject Insufficient QoS—If the rule has the following elements, the egress carrier is eliminated:

– A provisioned minimum QoS

– The egress carrier has a QoS value available

– The egress carrier’s QoS is worse (higher)

  • Reject Max Egress Units Exceeded—If the egress carrier’s egress units are greater than its provisioned maximum, the carrier is eliminated.
  • Reject Max Egress Units Per Route Exceeded—If the egress carrier’s egress units for this route are greater than its provisioned maximum for this route, the carrier is eliminated.
  • Prevent ITSP to ITSP—If the ingress carrier is an ITSP type, all egress carriers that belong to the ITSP type are eliminated.

Step 8 In the Selection Rules area, check the checkbox next to the rule you want to activate.

Each selection rule must have an associated priority if it is selected. Valid priority levels are from 1 to 5. The following rules can be applied for selecting an egress carrier:

  • Select Min Cost Per Egress Route—Egress carriers without a cost value and sharing the lowest provisioned cost are selected. All others are deselected.
  • Select Best QoS—Egress carriers without a QoS value and sharing the best provisioned QoS are selected. All others are deselected.
Page 77 of the Cisco Systems Version 1.1 user manual — Modifying Rules
Page 77 · click to enlarge
Page 77

Chapter4 CSR GUI Functionalities

  • Select Same Carrier—If the ingress carrier is also a egress carrier candidate, it is selected and all others are deselected.
  • Select Percentage Egress—Carriers with a zero percentage egress and sharing the greatest difference between their percentage egress and their maximum percentage egress are selected. The purpose is to select the best egress carrier candidates that are furthest from meeting their provisioned maxPercentage on this route (based on their Egress Routing Attribute's maxPercentage value).The other carriers are moved to the deselect list.
  • Select Preferred Carrier—If the preferred carrier is an egress carrier candidate, it is selected and all others are deselected. When this is selected, click the down arrow in the Preferred Carrier box. A preferred carrier pull-down menu appears.
  • Percentage Termination—Find the best candidate egress carriers farthest from meeting their provisioned maximum percentage on this route. This is based on their Egress Routing Attribute's maxPercentage value. The other carriers, except those with a null maxPercentage value, are then moved to the “deselect” list.

Step 9 Click Add to add this rule, or click Cancel to exit.

Modifying Rules

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Rules from the pull-down menu.

Step 2 In the Rule area, select a rule by double-clicking the rule. Rule information similar to the following appears (Figure4-36 “Dialog Box for Existing Rule in Active Dataset”):

Updating Active Datasets

Page 78 of the Cisco Systems Version 1.1 user manual — Deleting Rules
Page 78 · click to enlarge
Page 78

Chapter4 CSR GUI Functionalities Updating Active Datasets

Figure4-36 Dialog Box for Existing Rule in Active Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 78)
Fig. 41 · Creating, Modifying, and Deleting Contact Lists

Step 3 Change the information accordingly.

Step 4 Click Modify to save the changes, or click Cancel to leave the changes.

Deleting Rules

Step 1 In the Active Dataset tab in the CSR window, click the down arrow in the Selection box, then select Rules from the pull-down menu.

Step 2 In the Rule area, select a rule. You can select more than one rule by holding down the Ctrl key by clicking each rule.

Step 3 Click Delete. A Delete message appears.

Step 4 Click Yes to delete the rule, or click No to quit deleting.

Page 79 of the Cisco Systems Version 1.1 user manual — Updating Inactive Datasets
Page 79 · click to enlarge
Page 79

Chapter4 CSR GUI Functionalities

Verifying Datasets

To verify whether a dataset is valid, click Verify Dataset in the Dataset Commands area.

This command ensures that all the provisioned data for the active dataset is valid. If the dataset is not valid, it cannot be loaded into the active CSR memory. After verification, a message with the verification results appears.

Updating Inactive Datasets

This section describes how to update inactive datasets by using the Inactive Dataset tab in the CSR window to create, modify, and delete the following items.

  • Carriers
  • Contacts
  • Contact lists
  • Egress and ingress route attributes
  • Match patterns
  • Routes
  • Rules

Updating Inactive Datasets

Page 80 of the Cisco Systems Version 1.1 user manual — Destroying Inactive Datasets
Page 80 · click to enlarge
Page 80

Chapter4 CSR GUI Functionalities Updating Inactive Datasets

After you log in to CSR and click the Inactive Dataset tab in the CSR window, the following screen appears (Figure4-37 “Inactive Dataset Tab in CSR Window”):

Figure4-37 Inactive Dataset Tab in CSR Window

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 80)
Fig. 42 · Creating, Modifying, and Deleting Contact Lists

Only one functionality in the Inactive Dataset tab is different from those in the Active Dataset tab. The additional functionality, Destroy Dataset, is described in the following section. See “Updating Active Datasets” section on page4-12 for details on all other functionalities.

Destroying Inactive Datasets

Step 1 In the Inactive Dataset tab in the CSR window, click Destroy Dataset. A Destroy message appears (Figure4-38 “Destroy Message in Inactive Dataset”):

Page 81 of the Cisco Systems Version 1.1 user manual — CSR Commands
Page 81 · click to enlarge
Page 81

Chapter4 CSR GUI Functionalities

Figure4-38 Destroy Message in Inactive Dataset

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 81)
Fig. 43 · Creating, Modifying, and Deleting Contact Lists

Step 2 Click Yes to destroy the inactive dataset, or No to quit destroying.

Activating Inactive Datasets

An inactive dataset is not loaded into the CSR memory, with the exception of test commands. To place the dataset in the CSR memory for routing, use the following steps:

Step 1 In the Inactive Dataset tab in the CSR window, click Verify Dataset in the Dataset Commands area to verify the inactive dataset.

Step 2 Click the Configuration Management tab, and click Swap Active/Inactive Datasets to swap the inactive dataset to active dataset.

Step 3 In the Select Dataset box, click Load Dataset into CSR.

Step 4 Click Swap to swap the datasets, or click Cancel to cancel swapping.

Also see “Swapping Datasets” section on page4-12.

CSR Commands

This section describes how to use the CSR Commands tab in the CSR window for the following functionalities:

  • Sending Test Route Request Commands to an Active CSR Application, page 4-42
  • Updating Logging Level, page 4-44
  • Loading the Active Dataset, page 4-44
  • Resetting Call Accounting, page 4-45
  • Updating Gatekeepers, page 4-45
  • Cleaning Test Results, page 4-45

CSR Commands

Page 82 of the Cisco Systems Version 1.1 user manual — Sending Test Route Request Commands to an Active CSR Application
Page 82 · click to enlarge
Page 82

Chapter4 CSR GUI Functionalities CSR Commands

Sending Test Route Request Commands to an Active CSR Application

Step 1 Click the CSR Commands tab in the CSR window. The following screen appears (CSR Commands Tab in CSR Window, page 4-42):

Figure4-39 CSR Commands Tab in CSR Window

Step 2 In the ANI box, enter the origination pattern.

Step 3 In the DNIS box, enter the pattern dialed.

Step 4 In the Source Carrier Id box, enter the ingress carrier to be used for testing.

Step 5 In the Destination Carrier Id box, enter the test egress carrier.

Page 83 of the Cisco Systems Version 1.1 user manual — Creating, Modifying, and Deleting Contact Lists
Page 83 · click to enlarge
Page 83

Chapter4 CSR GUI Functionalities

Step 6 In the Time box, enter the simulated time to test time-sensitive calls. If this is not specified, the current time is used. The format and an example for time entry are shown below:

hour(0-23):min (0-60):sec (0-60) for time, as in 12:59:10

This entry is optional.

Step 7 In the Date box, enter the simulated date to test date-sensitive and time-sensitive calls.

If this is not specified, the current date is used. Format and example for date entry are:

4 digit year-2 digit month-2 digit day for date, as in 2002-12-03

Step 8 Click the button to the left of Active or Inactive for the provisioned dataset for running the test. This dataset is stored in the CSR database. The current dataset in CSR memory is not used.

Step 9 Click Send Test to CSR to send the request to the CSR for processing. Test results are automatically displayed at end of test. They are stored in the database for later retrieval.

Step 10 To display test results as needed, click Show Test Results. The test results appears (Figure4-40 “Test Results Generated by the CSR Commands Tab”). The list usually contains selected carriers followed by unselected carriers.

Figure4-40 Test Results Generated by the CSR Commands Tab

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 83)
Fig. 44 · Creating, Modifying, and Deleting Contact Lists

CSR Commands

Page 84 of the Cisco Systems Version 1.1 user manual — Loading the Active Dataset
Page 84 · click to enlarge
Page 84

Chapter4 CSR GUI Functionalities CSR Commands

Step 11 To display a log of actions used to process the test results, click Show Log. The following screen appears (Figure4-41 “Log Entries Generated by the CSR Commands Tab”):

Figure4-41 Log Entries Generated by the CSR Commands Tab

Cisco Systems Version 1.1 — Creating, Modifying, and Deleting Contact Lists diagram (page 84)
Fig. 45 · Creating, Modifying, and Deleting Contact Lists

The log messages, normally routed to syslog, are logged to the database. The logging level is set to Informational for all test requests. See AppendixA, “Logging” for more detail on syslog.

The following sections describes other CSR functionalities in the CSR Commands tab in the CSR window.

Updating Logging Level

To specify the logging level, click Update Logging Level.

Loading the Active Dataset

To load the active dataset into memory for use, click Load Active Dataset. Because calls are always in progress, both datasets can be in use simultaneously. Calls currently in progress use the old dataset and new calls use the new dataset.

Page 85 of the Cisco Systems Version 1.1 user manual — Cleaning Test Results
Page 85 · click to enlarge
Page 85

Chapter4 CSR GUI Functionalities

Resetting Call Accounting

To reset all call units to zero, click Reset Call Accounting. This sets all accounting per carrier and per route/carrier for the CSR. This is the same data used by the Test Route Request functionality.

Updating Gatekeepers

To update the CSR gatekeepers table, click Update GateKeepers. The CSR unregisters each message type from each gatekeeper and reconnects the gatekeepers on the current list.

Cleaning Test Results

To purge all the test requests (inputs and outputs) from the database, click Clean Test Results.

CSR Commands

Page 86 of the Cisco Systems Version 1.1 user manual — Multiple GUI Operation
Page 86 · click to enlarge
Page 86

Chapter4 CSR GUI Functionalities Checking CSR Version

Checking CSR Version

To check the CSR version number, select the About tab in the CSR window.

Multiple GUI Operation

Multiple GUIs can run against a single database and multiple databases. If all users are working in a read-only mode, the following results occur:

  • If two or more users are modifying the same data, the last saved data is the current data.
  • A deleted item is visible to a user if another user removes it.
  • Added data may not be seen immediately by all users.
Page 87 of the Cisco Systems Version 1.1 user manual — A-1
Page 87 · click to enlarge
Page 87

A P P E N D I X A

Logging

This appendix describes the following activities:

  • Configuring Syslog
  • Viewing Logs

Configuring Syslog

This section provides an overview of the UNIX syslog. For more detail, refer to the online manual page for syslog.conf.

Syslog is a general location or mechanism for logging informational messages or error messages. The messages are categorized by level, and each level can be directed to a different location specified by files, consoles, and e-mail addresses. Each line in the syslog.conf file describes the type of message, the location and how that message should be handled.

Available message levels in syslog are as follows:

  • emerg—Emergency panic
  • alert—Alert
  • crit—Critical errors
  • err—Other errors
  • warning—Warning
  • notice—Notice
  • info—Informational messages
  • debug—Debugging messages
  • none—Do not send message to file

A-1

Page 88 of the Cisco Systems Version 1.1 user manual — A-2
Page 88 · click to enlarge
Page 88

AppendixA Logging Viewing Logs

Messages can originate from the following locations or facilities:

  • user—User processes from the CSR application.
  • kern—Kernel
  • mail—Mail system
  • daemon—System daemons
  • auth—Authorization system, such as login or su.
  • lpr—Print spooler
  • news—Network new systems

Examples

ExampleA-1 Syslog sends all error messages from all locations to the console for everyone

*.err /dev/console

ExampleA-2 Syslog sends all error messages generated from the kernel to the /var/adm/kern_messages file

kern.err /var/adm/kern_messages

ExampleA-3 Syslog sends all error messages, notice messages and error message from the authorization system to /var/adm/some_messages file

*.err,*.notice,auth.err /var/adm/some_messages

ExampleA-4 Syslog sends error messages to console and /var/adm/messages file separately

*.err /dev/console *.err /var/adm/messages

ExampleA-5 Syslog sends message to the adminuser email address on the system

*.emerg adminuser

Viewing Logs

To view logs generated by the CSR application, check your syslog configuration file. Error logs are located in /var/adm/messages. Each log contain the following information:

  • Date the log entry was generated
  • Time the log entry was generated

A-2

Page 89 of the Cisco Systems Version 1.1 user manual — A-3
Page 89 · click to enlarge
Page 89
  • Name of the machine that generated the log
  • Application/PID
  • Log level
  • Message content

Sample logs

  • Jan 2 13:01:14 ciscoe250 CSR01[8333]: ERROR: CSR Started.
  • Jan 2 13:01:15 ciscoe250 CSR01[8333]: DEBUG: Current size of call queue: 0 (2 known GateKeeper(s)).
  • Jan 2 13:01:17 ciscoe250 CSR01[8333]: INFO: Report Version notification received -- CSR Version reported to the database.
  • Jan 2 13:01:18 ciscoe250 CSR01[8333]: DEBUG: Current size of call queue: 0 (2 known GateKeeper(s)).

A-3

AppendixA Logging · Viewing Logs

Page 90 of the Cisco Systems Version 1.1 user manual — A-4
Page 90 · click to enlarge
Page 90

AppendixA Logging Viewing Logs

A-4

Page 91 of the Cisco Systems Version 1.1 user manual — B-1
Page 91 · click to enlarge
Page 91

A P P E N D I X B

Data Schema

This appendix describes the following:

  • Configuration Data Schema
  • Dataset Schema

Configuration Data Schema

BEGIN WORK;

SET CONSTRAINTS ALL DEFERRED;

CREATE TABLE ConfigurationData (

ActiveDataset text NOT NULL DEFAULT '_1' CONSTRAINT

CHECK (

lower(ActiveDataset) = '_1' OR lower(ActiveDataset) = '_2'

LoggingLevel text NOT NULL DEFAULT 'Error' CONSTRAINT

CHECK (

lower(LoggingLevel) = 'error' OR

lower(LoggingLevel) = 'info' OR

CSR_ID varchar(64) NOT NULL,

Priority integer NOT NULL DEFAULT 1CONSTRAINT

CHECK (Priority >= 1),

B-1

Show 8 more labels / short text on this page
ActiveDatasetSuffixInvalid · ), · LoggingLevelInvalid · lower(LoggingLevel) = 'debug' · ), · CSR_Version text, · GKTMP_Versioninteger, · CSRPriorityInvalid
Page 92 of the Cisco Systems Version 1.1 user manual — B-2
Page 92 · click to enlarge
Page 92

AppendixB Data Schema Configuration Data Schema

ListenPort integer CONSTRAINT CSRListenPortInvalid

CHECK (ListenPort > 0 AND ListenPort

ThreadCount integer NOT NULL DEFAULT 10,

MaxSizeOfQueue integer NOT NULL DEFAULT 5000,

TestRoutesAccountingEnabledboolean NOT NULL DEFAULT FALSE,

RejectSrcCarrierInactive boolean NOT NULL DEFAULT FALSE,

RejectNullSrcCarrier boolean NOT NULL DEFAULT FALSE,

RejectSrcCarrierUnknown boolean NOT NULL DEFAULT FALSE,

RejectDestinationUnknown boolean NOT NULL DEFAULT FALSE,

RejectSrcPercentage boolean NOT NULL DEFAULT FALSE,

RejectSrcUnits boolean NOT NULL DEFAULT FALSE,

RejectNoDstCarrier boolean NOT NULL DEFAULT FALSE

CREATE TABLE GateKeepers (

GKKey integer NOT NULL PRIMARY KEY,

GKID varchar(64) NOT NULL UNIQUE,

GK_IP inet NOT NULL,

GK_Port integer NOT NULL CONSTRAINT GK_PortInvalid

CHECK (GK_Port > 0 AND GK_Port

ListenARQ boolean NOT NULL DEFAULT FALSE,

ListenLRQ boolean NOT NULL DEFAULT FALSE,

ListenIRR boolean NOT NULL DEFAULT FALSE,

ListenDRQ boolean NOT NULL DEFAULT FALSE,

ListenRRQ boolean NOT NULL DEFAULT FALSE,

ListenURQ boolean NOT NULL DEFAULT FALSE,

ListenLCF boolean NOT NULL DEFAULT FALSE,

ListenLRJ boolean NOT NULL DEFAULT FALSE,

ListenRAI boolean NOT NULL DEFAULT FALSE,

ListenBRQ boolean NOT NULL DEFAULT FALSE,

ConnectionStatetext NOT NULL CONSTRAINT ConnectionStateInvalid

CHECK (

lower(ConnectionState) = 'connect' OR

B-2

); · lower(ConnectionState) = 'disconnect'

Page 93 of the Cisco Systems Version 1.1 user manual — B-3
Page 93 · click to enlarge
Page 93

CREATE TABLE TestRoutes (

TestKey integer NOT NULL PRIMARY KEY,

DatasetID text DEFAULT '_1' CONSTRAINT DatasetIDInvalid

CHECK (

lower(DatasetID) = '_1' OR lower(DatasetID) = '_2'

RunMe boolean NOT NULL DEFAULT FALSE,

CREATE TABLE TestOutputs (

TestKey integer NOT NULL,

SelectOrder integer NOT NULL,

DstCarrierID varchar(64) NOT NULL,

ListKey integer NOT NULL,

IsSelected boolean NOT NULL DEFAULT FALSE

CREATE TABLE LogEntries (

TestKey integer NOT NULL,

EntryOrder integer NOT NULL,

CREATE TABLE StringResources (

ResourceKey integer NOT NULL PRIMARY KEY,

B-3

Show 19 more labels / short text on this page
AppendixB Data Schema · Configuration Data Schema · ) · ); · TestTime time, · TestDate date, · ), · ANI varchar(64), · DNIS varchar(64), · SrcCarrierID varchar(64), · DstCarrierID varchar(64), · HomeCarrierID varchar(64), · ResultCode text · ); · ); · LogString varchar(1024)NOT NULL · ); · ResourceStringtext NOT NULL · );
Page 94 of the Cisco Systems Version 1.1 user manual — COMMIT;
Page 94 · click to enlarge
Page 94

AppendixB Data Schema Configuration Data Schema

CREATE TABLE Filters (

FilterKey integer NOT NULL PRIMARY KEY,

GKID varchar(64) NOT NULL,

MsgType text NOT NULL CONSTRAINT MsgTypeInvalid

CHECK (

lower(MsgType) = 'arq' OR

lower(MsgType) = 'lrq' OR

lower(MsgType) = 'rrq' OR

lower(MsgType) = 'urq' OR

lower(MsgType) = 'lcf' OR

lower(MsgType) = 'lrj' OR

lower(MsgType) = 'drq' OR

lower(MsgType) = 'brq' OR

lower(MsgType) = 'irr' OR

FilterType text NOT NULL CONSTRAINT FilterTypeInvalid

CHECK (

lower(FilterType) = 'destinationinformation' OR

lower(FilterType) = 'remoteextensionaddress' OR

Value text NOT NULL

ALTER TABLE TestOutputs ADD FOREIGN KEY (TestKey) REFERENCES TestRoutes (TestKey) DEFERRABLE;

ALTER TABLE LogEntries ADD FOREIGN KEY (TestKey) REFERENCES TestRoutes (TestKey) DEFERRABLE;

ALTER TABLE Filters ADD FOREIGN KEY (GKID) REFERENCES GateKeepers (GKID) DEFERRABLE;

COMMIT;

B-4

Show 9 more labels / short text on this page
lower(MsgType) = 'rai' · ), · lower(FilterType) = 'endpoint'OR · lower(FilterType) = 'supportedprefix'OR · lower(FilterType) = 'redirectreason'OR · lower(FilterType) = 'answercall'OR · lower(FilterType) = 'notificationonly' · ), · );
Page 95 of the Cisco Systems Version 1.1 user manual — B-5
Page 95 · click to enlarge
Page 95

Dataset Schema

BEGIN WORK;

SET CONSTRAINTS ALL DEFERRED;

CREATE TABLE Carriers (

CarrierKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (CarrierKey 0),

CarrierName varchar(64) NOT NULL,

CarrierType text NOT NULL

CONSTRAINT CarrierTypeInvalid CHECK (

lower(CarrierType) = 'home' OR

lower(CarrierType) = 'itsp' OR

CarrierID varchar(64) NOT NULL UNIQUE,

CHECK (MaxIngressUnits >= 0),

CHECK (MaxEgressUnits >= 0),

ListKey integer NOT NULL,

isActive boolean NOT NULL DEFAULT TRUE

CREATE TABLE Carriers_1 () INHERITS (Carriers);

CREATE TABLE Carriers_2 () INHERITS (Carriers);

CREATE TABLE MatchPatterns (

PatternKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (PatternKey 0),

Pattern varchar(64) NOT NULL UNIQUE,

CREATE TABLE MatchPatterns_1 () INHERITS (MatchPatterns);

CREATE TABLE MatchPatterns_2 () INHERITS (MatchPatterns);

B-5

Show 12 more labels / short text on this page
AppendixB Data Schema · Dataset Schema · CarrierKeyNotZero · lower(CarrierType) = 'tdm' · ), · MaxIngressUnitsinteger CONSTRAINT MaxIngressUnitsInvalid · MaxEgressUnitsinteger CONSTRAINT MaxEgressUnitsInvalid · RuleKey integer, · ); · PatternKeyNotZero · RouteKey integer · );
Page 96 of the Cisco Systems Version 1.1 user manual — B-6
Page 96 · click to enlarge
Page 96

AppendixB Data Schema Dataset Schema

CREATE TABLE Routes (

RouteKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (RouteKey 0),

CREATE TABLE Routes_1 () INHERITS (Routes);

CREATE TABLE Routes_2 () INHERITS (Routes);

CREATE TABLE Rules (

RuleKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (RuleKey 0),

IsDefaultRule boolean NOT NULL DEFAULT FALSE,

MinQoS integer CONSTRAINT MinQoSInvalid

CHECK (MinQoS >= 1 AND MinQoS

RejectMaxOriginationPercentageboolean NOT NULL DEFAULT FALSE,

RejectMaxIngressUnits boolean NOT NULL DEFAULT FALSE,

RejectMaxIngressUnitsPerRouteboolean NOT NULL DEFAULT FALSE,

RejectEgressCostMoreThanIngressbooleanNOT NULL DEFAULT FALSE,

RejectInsufficientQoS boolean NOT NULL DEFAULT FALSE,

RejectMaxEgressUnits boolean NOT NULL DEFAULT FALSE,

RejectMaxEgressUnitsPerRouteboolean NOT NULL DEFAULT FALSE,

PreventITSPtoITSP boolean NOT NULL DEFAULT FALSE,

SelectMinCostPerEgressRouteinteger NOT NULL DEFAULT 0 CONSTRAINT

CHECK (

SelectMinCostPerEgressRoute >= 0 AND

SelectBestQoS integer NOT NULL DEFAULT 0 CONSTRAINT

B-6

Show 11 more labels / short text on this page
RouteKeyNotZero · RouteName text, · RuleKey integer · ); · RuleKeyNotZero · RuleName text, · PreferredCarrierKey integer, · SelMinCostInvalid · SelectMinCostPerEgressRoute <= 5 · ), · SelBestQoSInvalid
Page 97 of the Cisco Systems Version 1.1 user manual — B-7
Page 97 · click to enlarge
Page 97

CHECK (

SelectBestQoS >= 0 AND

SelectSameCarrier integer NOT NULL DEFAULT 0 CONSTRAINT

CHECK (

SelectSameCarrier >= 0 AND

SelectPreferredCarrier integer NOT NULL DEFAULT 0 CONSTRAINT

CHECK (

SelectPreferredCarrier >= 0 AND

SelectPercentageEgress integer NOT NULL DEFAULT 0 CONSTRAINT

CHECK (

SelectPercentageEgress >= 0 AND

CREATE TABLE Rules_1 () INHERITS (Rules);

CREATE TABLE Rules_2 () INHERITS (Rules);

CREATE TABLE Contacts (

ContactKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (ContactKey 0),

RASAddress varchar(64) NOT NULL,

AddressType text NOT NULL CONSTRAINT ContactAddressTypeInvalid

CHECK (

lower(AddressType) = 'ipv4' OR

lower(AddressType) = 'gkid' OR

B-7

Show 17 more labels / short text on this page
AppendixB Data Schema · Dataset Schema · SelectBestQoS <= 5 · ), · SelSameCarrierInvalid · SelectSameCarrier <= 5 · ), · SelPreferredCarrierInvalid · SelectPreferredCarrier <= 5 · ), · SelPercentageEgressInvalid · SelectPercentageEgress <= 5 · ) · ); · ContactKeyNotZero · lower(AddressType) = 'dnsname' · ),
Page 98 of the Cisco Systems Version 1.1 user manual — B-8
Page 98 · click to enlarge
Page 98

AppendixB Data Schema Dataset Schema

Cost integer CONSTRAINT CostInvalid

CHECK (Cost >= 0),

Priority integer CONSTRAINT PriorityInvalid

CHECK (Priority >= 0)

CREATE TABLE Contacts_1 () INHERITS (Contacts);

CREATE TABLE Contacts_2 () INHERITS (Contacts);

CREATE TABLE Lists (

ListKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (ListKey 0),

CREATE TABLE Lists_1 () INHERITS (Lists);

CREATE TABLE Lists_2 () INHERITS (Lists);

CREATE TABLE ContactLists (

ListKey integer NOT NULL,

ContactKey integer NOT NULL

CREATE TABLE ContactLists_1 () INHERITS (ContactLists);

CREATE TABLE ContactLists_2 () INHERITS (ContactLists);

CREATE TABLE RouteAttributes (

AttributeKey integer NOT NULL PRIMARY KEY CONSTRAINT

CHECK (AttributeKey 0),

CarrierKey integer NOT NULL,

DaypartType text NOT NULL CONSTRAINT DaypartInvalid

CHECK (

WeekDay integer CONSTRAINT WeekdayInvalid

B-8

Show 12 more labels / short text on this page
); · ListKeyNotZero · ListName text · ); · ); · AttributeKeyNotZero · AttributeName text, · lower(DaypartType) = 'absolute'OR · lower(DaypartType) = 'weekly'OR · lower(DaypartType) = 'daily'OR · lower(DaypartType) = 'always' · ),
Page 99 of the Cisco Systems Version 1.1 user manual — B-9
Page 99 · click to enlarge
Page 99

CHECK (Weekday >=0 AND Weekday

EndTime time CONSTRAINT TimeRangeInvalid

CHECK (

(StartTime ISNULL AND EndTime ISNULL AND

lower(DaypartType) = 'always') OR

(StartTime NOTNULL AND EndTime NOTNULL AND

(StartTime < EndTime) OR

lower(DaypartType) = 'absolute' AND (StartDate

(lower(DaypartType) != 'weekly' OR WeekDay NOTNULL)

Cost integer CONSTRAINT CostInvalid

CHECK (Cost >= 1),

MaxUnits integer CONSTRAINT MaxUnitsInvalid

CHECK (MaxUnits >= 0),

MaxPercentage integer CONSTRAINT MaxPercentageInvalid

CHECK (MaxPercentage >= 1 AND MaxPercentage

CREATE TABLE IngressRouteAttributes_1 () INHERITS (RouteAttributes);

CREATE TABLE IngressRouteAttributes_2 () INHERITS (RouteAttributes);

CREATE TABLE EgressRouteAttributes (

QoS integer CONSTRAINT QoSInvalid

CHECK (QoS >= 1 and QoS

CREATE TABLE EgressRouteAttributes_1 () INHERITS (EgressRouteAttributes);

CREATE TABLE EgressRouteAttributes_2 () INHERITS (EgressRouteAttributes);

B-9

Show 12 more labels / short text on this page
AppendixB Data Schema · Dataset Schema · StartTime time, · ( · EndDate) AND · ) · )), · StartDate date, · EndDate date, · 100) · ); · ) INHERITS (RouteAttributes);
Page 100 of the Cisco Systems Version 1.1 user manual — B-10
Page 100 · click to enlarge
Page 100

AppendixB Data Schema Dataset Schema

CREATE TABLE QoS (

RouteKey integer NOT NULL,

RelativeQoS integer NOT NULL CONSTRAINT RelativeQoSInvalid

CHECK (RelativeQoS >= 1 AND RelativeQoS

CREATE TABLE QoS_1 () INHERITS (QoS);

CREATE TABLE QoS_2 () INHERITS (QoS);

CREATE TABLE RouteParent (

RouteKey integer NOT NULL,

AttributeKey integer NOT NULL

CREATE TABLE IngressRoutes_1 () INHERITS (RouteParent);

CREATE TABLE IngressRoutes_2 () INHERITS (RouteParent);

CREATE TABLE EgressRoutes_1 () INHERITS (RouteParent);

CREATE TABLE EgressRoutes_2 () INHERITS (RouteParent);

COMMIT;

BEGIN WORK;

CREATE UNIQUE INDEX Carriers_1_PKey ON Carriers_1 (CarrierKey);

CREATE UNIQUE INDEX Carriers_2_PKey ON Carriers_2 (CarrierKey);

CREATE UNIQUE INDEX Carriers_1_ID ON Carriers_1 (CarrierID);

CREATE UNIQUE INDEX Carriers_2_ID ON Carriers_2 (CarrierID);

CREATE UNIQUE INDEX Patterns_1_PKey ON MatchPatterns_1 (PatternKey);

CREATE UNIQUE INDEX Patterns_2_PKey ON MatchPatterns_2 (PatternKey);

CREATE UNIQUE INDEX Routes_1_PKey ON Routes_1 (RouteKey);

CREATE UNIQUE INDEX Routes_2_PKey ON Routes_2 (RouteKey);

CREATE UNIQUE INDEX Rules_1_PKey ON Rules_1 (RuleKey);

CREATE UNIQUE INDEX Rules_2_PKey ON Rules_2 (RuleKey);

B-10

Show 5 more labels / short text on this page
IngressCarrierKeyinteger NOT NULL, · EgressCarrierKeyinteger NOT NULL, · 9) · ); · );
Page 101 of the Cisco Systems Version 1.1 user manual — COMMIT;
Page 101 · click to enlarge
Page 101

CREATE UNIQUE INDEX Contacts_1_PKey ON Contacts_1 (ContactKey);

CREATE UNIQUE INDEX Contacts_2_PKey ON Contacts_2 (ContactKey);

CREATE UNIQUE INDEX Lists_1_PKey ON Lists_1 (ListKey);

CREATE UNIQUE INDEX Lists_2_PKey ON Lists_2 (ListKey);

CREATE UNIQUE INDEX Match_1_Pattern ON MatchPatterns_1(Pattern);

CREATE UNIQUE INDEX Match_2_Pattern ON MatchPatterns_2(Pattern);

CREATE UNIQUE INDEX IRA_1_PKey ON IngressRouteAttributes_1 (AttributeKey);

CREATE UNIQUE INDEX IRA_2_PKey ON IngressRouteAttributes_2 (AttributeKey);

CREATE UNIQUE INDEX ECA_1_PKey ON EgressRouteAttributes_1 (AttributeKey);

CREATE UNIQUE INDEX ECA_2_PKey ON EgressRouteAttributes_2 (AttributeKey);

CREATE UNIQUE INDEX ContactLists_1_Key ON ContactLists_1 (ListKey, ContactKey);

CREATE UNIQUE INDEX ContactLists_2_Key ON ContactLists_2 (ListKey, ContactKey);

CREATE UNIQUE INDEX QoS_1_Key ON QoS_1 (IngressCarrierKey, EgressCarrierKey, RouteKey);

CREATE UNIQUE INDEX QoS_2_Key ON QoS_2 (IngressCarrierKey, EgressCarrierKey, RouteKey);

CREATE UNIQUE INDEX IngressRoutes_1_Key ON IngressRoutes_1 (RouteKey, AttributeKey);

CREATE UNIQUE INDEX IngressRoutes_2_Key ON IngressRoutes_2 (RouteKey, AttributeKey);

CREATE UNIQUE INDEX EgressRoutes_1_Key ON EgressRoutes_1 (RouteKey, AttributeKey);

CREATE UNIQUE INDEX EgressRoutes_2_Key ON EgressRoutes_2 (RouteKey, AttributeKey);

COMMIT;

BEGIN WORK;

B-11

AppendixB Data Schema · Dataset Schema

Page 102 of the Cisco Systems Version 1.1 user manual — B-12
Page 102 · click to enlarge
Page 102

AppendixB Data Schema Dataset Schema

ALTER TABLE Carriers_1 ADD FOREIGN KEY (RuleKey) REFERENCES Rules_1 (RuleKey) DEFERRABLE;

ALTER TABLE Carriers_1 ADD FOREIGN KEY (ListKey)REFERENCES Lists_1 (ListKey) DEFERRABLE;

ALTER TABLE Carriers_2 ADD FOREIGN KEY (RuleKey) REFERENCES Rules_2 (RuleKey) DEFERRABLE;

ALTER TABLE Carriers_2 ADD FOREIGN KEY (ListKey)REFERENCES Lists_2 (ListKey) DEFERRABLE;

ALTER TABLE ContactLists_1 ADD FOREIGN KEY (ListKey)REFERENCES Lists_1 (ListKey) DEFERRABLE;

ALTER TABLE ContactLists_1 ADD FOREIGN KEY (ContactKey)REFERENCES Contacts_1 (ContactKey) DEFERRABLE;

ALTER TABLE ContactLists_2 ADD FOREIGN KEY (ListKey)REFERENCES Lists_2 (ListKey) DEFERRABLE;

ALTER TABLE ContactLists_2 ADD FOREIGN KEY (ContactKey)REFERENCES Contacts_2 (ContactKey) DEFERRABLE;

ALTER TABLE Routes_1 ADD FOREIGN KEY (RuleKey) REFERENCES Rules_1 (RuleKey) DEFERRABLE;

ALTER TABLE Routes_2 ADD FOREIGN KEY (RuleKey) REFERENCES Rules_2 (RuleKey) DEFERRABLE;

ALTER TABLE MatchPatterns_1 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_1 (RouteKey) DEFERRABLE;

ALTER TABLE MatchPatterns_2 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_2 (RouteKey) DEFERRABLE;

ALTER TABLE Rules_1 ADD FOREIGN KEY (PreferredCarrierKey) REFERENCES Carriers_1 (CarrierKey) DEFERRABLE;

ALTER TABLE Rules_2 ADD FOREIGN KEY (PreferredCarrierKey) REFERENCES Carriers_2 (CarrierKey) DEFERRABLE;

ALTER TABLE IngressRouteAttributes_1 ADD FOREIGN KEY (CarrierKey) REFERENCES Carriers_1 (CarrierKey) DEFERRABLE;

ALTER TABLE IngressRouteAttributes_2 ADD FOREIGN KEY (CarrierKey) REFERENCES Carriers_2 (CarrierKey) DEFERRABLE;

ALTER TABLE EgressRouteAttributes_1 ADD FOREIGN KEY (CarrierKey) REFERENCES Carriers_1 (CarrierKey) DEFERRABLE;

ALTER TABLE EgressRouteAttributes_1 ADD FOREIGN KEY (ListKey) REFERENCES Lists_1 (ListKey) DEFERRABLE;

B-12

Page 103 of the Cisco Systems Version 1.1 user manual — COMMIT;
Page 103 · click to enlarge
Page 103

ALTER TABLE EgressRouteAttributes_2 ADD FOREIGN KEY (CarrierKey) REFERENCES Carriers_2 (CarrierKey) DEFERRABLE;

ALTER TABLE EgressRouteAttributes_2 ADD FOREIGN KEY (ListKey) REFERENCES Lists_2 (ListKey) DEFERRABLE;

ALTER TABLE QoS_1 ADD FOREIGN KEY (IngressCarrierKey)REFERENCES Carriers_1 (CarrierKey) DEFERRABLE;

ALTER TABLE QoS_1 ADD FOREIGN KEY (EgressCarrierKey)REFERENCES Carriers_1 (CarrierKey) DEFERRABLE;

ALTER TABLE QoS_1 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_1 (RouteKey) DEFERRABLE;

ALTER TABLE QoS_2 ADD FOREIGN KEY (IngressCarrierKey)REFERENCES Carriers_2 (CarrierKey) DEFERRABLE;

ALTER TABLE QoS_2 ADD FOREIGN KEY (EgressCarrierKey)REFERENCES Carriers_2 (CarrierKey) DEFERRABLE;

ALTER TABLE QoS_2 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_2 (RouteKey) DEFERRABLE;

ALTER TABLE IngressRoutes_1 ADD FOREIGN KEY (RouteKey)REFERENCES Routes_1 (RouteKey) DEFERRABLE;

ALTER TABLE IngressRoutes_1 ADD FOREIGN KEY (AttributeKey)REFERENCES IngressRouteAttributes_1 (AttributeKey) DEFERRABLE;

ALTER TABLE IngressRoutes_2 ADD FOREIGN KEY (RouteKey)REFERENCES Routes_2 (RouteKey) DEFERRABLE;

ALTER TABLE IngressRoutes_2 ADD FOREIGN KEY (AttributeKey)REFERENCES IngressRouteAttributes_2 (AttributeKey) DEFERRABLE;

ALTER TABLE EgressRoutes_1 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_1 (RouteKey) DEFERRABLE;

ALTER TABLE EgressRoutes_1 ADD FOREIGN KEY (AttributeKey) REFERENCES EgressRouteAttributes_1 (AttributeKey) DEFERRABLE;

ALTER TABLE EgressRoutes_2 ADD FOREIGN KEY (RouteKey) REFERENCES Routes_2 (RouteKey) DEFERRABLE;

ALTER TABLE EgressRoutes_2 ADD FOREIGN KEY (AttributeKey) REFERENCES EgressRouteAttributes_2 (AttributeKey) DEFERRABLE;

\echo Foreign Keys done...

COMMIT;

B-13

AppendixB Data Schema · Dataset Schema

Page 104 of the Cisco Systems Version 1.1 user manual — B-14
Page 104 · click to enlarge
Page 104

AppendixB Data Schema Dataset Schema

B-14

Page 105 of the Cisco Systems Version 1.1 user manual — Database Connectivity Loss
Page 105 · click to enlarge
Page 105

A P P E N D I X C

Error Conditions and Recoveries

This appendix describes the following error conditions and recoveries:

  • Database Connectivity Loss
  • Gatekeeper Connectivity Loss

Database Connectivity Loss

During connectivity loss, CSR attempts to reconnect to the database every minute, and it continues to handle gatekeeper requests with the current dataset in memory. However, the following are not available:

  • Tools associated with the database as follows.
  • GUI
  • Additional active dataset not in memory
Show 4 more labels / short text on this page
– psql · – pg_dump · – createdb · – dropdb
Page 106 of the Cisco Systems Version 1.1 user manual — Gatekeeper Connectivity Loss
Page 106 · click to enlarge
Page 106

AppendixC Error Conditions and Recoveries Gatekeeper Connectivity Loss

Gatekeeper Connectivity Loss

Gatekeeper Connectivity Loss can occur for any of the following reasons:

  • Power failure on gatekeeper
  • General network problem
  • Network problem related to the Sun/Solaris system

During connectivity loss, CSR attempts to reconnect to the gatekeepers every minute. You can also use the GUI to attempt a reconnection by clicking Update GateKeepers in the CSR Commands tab in the CSR window.

Page 107 of the Cisco Systems Version 1.1 user manual — GL-3
Page 107 · click to enlarge
Page 107

G L O S S A R Y

A

ANI automatic number identification.

ARQ admission request message.

B

BRQ bandwidth request message.

D

DNIS dialed number identification service.

DNS domain naming system.

DRQ disengage request message.

G

GUI graphical user interface.

irr information request response message.

LCF location confirm message.

LRJ location reject message.

LRQ location request message.

GL-3

Page 108 of the Cisco Systems Version 1.1 user manual — GL-4
Page 108 · click to enlarge
Page 108

R

RAI resource availability indication message.

RRQ registration request message.

U

URQ unregistration request message.

GL-4

Glossary

Page 109 of the Cisco Systems Version 1.1 user manual — IN-5
Page 109 · click to enlarge
Page 109

I N D E X

A

active and inactive datasets 1-3

LCF 1-2

Active Dataset tab 4-12

ANI 1-2

ARQ 1-2

B

BRQ 1-2

see also Updating Logging Level 4-45

LRJ 1-2

LRQ 1-2

Configuration Management tab 4-2

CSR Commands tab 4-41

R

RAI 1-2

D

DNIS 1-2

Prevent ITSP to ITSP 1-4

DNS 3-5

Reject Egress Cost Greater than Ingress 1-4

DRQ 1-2

Reject Insufficient QoS 1-4

Reject Max Egress Units Exceeded 1-4

Reject Max Egress Units per Route Exceede 1-4

G

Reject Max Ingress Units 1-3

GateKeeper Transaction Message Protocol A-1

Reject Max Ingress Units per Route 1-3

Reject Max Origination Percentage 1-3

Select Best QoS 1-4

Select Min Cost per Egress Route 1-4

Inactive Dataset Tab 4-39

Select Percentage Egress 1-4

Select Preferred Carrier 1-4

IRR 1-2

Select Same Carrier 1-4

IN-5

Show 12 more labels / short text on this page
LogEntries 1-3 · Logging · StringResources 1-3 · Logging Level · Debug 4-4 · Error 4-4 · Information 4-4 · registration messages 1-2 · Destination carrier 1-2 · root 1-1 · Rules · DNS server 3-5
Page 110 of the Cisco Systems Version 1.1 user manual — U
Page 110 · click to enlarge
Page 110

S

T

Egress Route Attributes 1-3

Ingress Route Attributes 1-3

see also Database Tables 2-4

U

URQ 1-2

IN-6

Show 17 more labels / short text on this page
Index · Source carrier 1-2 · Tables · Carrier 1-3 · Configuration Settings 1-3 · Contact List 1-3 · Contacts 1-3 · Egress Routes 1-3 · Filters 1-3 · Gatekeepers 1-3 · Ingress Routes 1-3 · Match Patterns 1-3 · QoS 1-3 · Routes 1-3 · Rules 1-3 · TestOutputs 1-3 · TestRoutes 1-3
Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the Cisco Systems Version 1.1

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Cisco Systems Version 1.1

Be the first to ask — other owners or our team will answer.

Original document

Cisco Systems Version 1.1 manual PDF

110 pages·758 KB·Network Router·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…