Chapter 7: Improving and Maintaining Voice Quality

Cisco Press

123456 Page 4
Page 4 of 6
  • RSVP可以维持的QoS呼叫的持续时间。

  • RSVP is aware of topology. In theory, the RSVP reservation is installed on every interface that the call passes through as it traverses the network. RSVP ensures bandwidth over every segment without any requirement to know the actual bandwidth provisioning on each interface or the path on which the routing protocols direct the packets. RSVP, therefore, adjusts automatically to network configuration changes, and no manual calculations are necessary to keep different aspects of the configuration synchronized.

  • To function correctly, RSVP is dependent on the correct configuration of all devices in the network. However, RSVP might introduce a scaling issue depending on how the network is designed.

  • RSVP provides end-to-end reservations per call and has visibility for that call only. RSVP is unaware of how many other calls are active from a site or across an interface, or the source or destination of any other call.

Configuring RSVP in Cisco routers allows the administrator to limit the amount of bandwidth requested per call and the total amount of bandwidth allowed for all calls. This configuration is entered directly against the interface that will permit or deny the calls. The configuration also requires RSVP to be configured on the dial peers for the calls that will be managed by RSVP.

CAC Tools

As the various aspects of CAC on IP networks have been considered, several different solutions have come into prominence. None of them solves the entire problem, but they all are useful to address a particular aspect of CAC. Unlike circuit-based networks, which reserve a free digital service level zero (DS0) time slot on every leg of the path that the call will take, determining whether an IP network has the resources to carry a voice call is not a simple undertaking.

There are four areas in which CAC can be implemented:

  • H.323 CAC

  • Session initiation protocol (SIP) CAC

  • Media Gateway Control Protocol (MGCP) CAC

  • Cisco Unified CallManager CAC

H.323 CAC

The CAC for the H.323 VoIP gateways feature allows you to configure thresholds for local resources, memory, and CPU resources. With thecall thresholdcommand, you can configure two thresholds, high and low, for each resource. Call treatment is triggered when the current value of a resource exceeds the configured high. The call treatment remains in effect until the current resource value falls below the configured low. Having high and low thresholds prevents call admission flapping and provides hysteresis in call admission decision making. Hysteresis is a phenomenon in which the response of a physical system to an external influence depends not only on the present magnitude of that influence but also on the previous history of the system.

With thecall spikecommand, you can configure the limit for incoming calls during a specified time period. A call spike occurs when a large number of incoming calls arrive from the public switched telephone network (PSTN) in a very short period of time (for example, 100 incoming calls in 10 ms).

With thecall treatment命令,您可以选择调用应该如何混乱关系ated when local resources are not available to handle the call. For example, when the current resource value for any one of the configured triggers for call threshold has exceeded the configured threshold, the call treatment choices are as follows:

  • Time-division multiplexing (TDM) hairpinning—Hairpins the calls through the plain old telephone service (POTS) dial peer

  • Reject—Disconnects the call

  • Play message or tone—Plays a configured message or tone to the user

To enable the global resources of this gateway, use thecall thresholdcommand in global configuration mode. To disable this command, use thenoform of this command.

call threshold{globaltrigger-name|interfaceinterface-name interface-number

int-

calls
}lowhigh[busyout|treatment]no call threshold{globaltrigger-name|interfaceinterface-nameINT-电话}

Table 7-4 shows thecall thresholdcommand options.

Table 7-4 call thresholdCommands

Command

Description

globaltrigger-name

Specifies the global resources on the gateway.

Thetrigger-namearguments are as follows:

  • cpu-5sec—CPU utilization in the last 5 seconds.

  • cpu-avg—Average CPU utilization.

  • IO-MEM—I/O memory utilization.

  • proc-mem—Processor memory utilization.

  • total-calls—Total number of calls. The valid range is from 1 to 10,000.

  • total-mem—Total memory utilization.

interfaceinterface-name interface-number

Specifies the gateway. The types of interfaces and their numbers depend on the configured interfaces.

INT-电话

Number of calls through the interface. The valid range is from 1 to 10,000 calls.

low

低阈值的价值。在瓦尔id range is from 1 to 100 percent for the utilization triggers.

high

Value of high threshold. The valid range is from 1 to 100 percent for the utilization triggers.

busyout

(Optional: global only) Automatically busies out the T1/E1 channels if the resource is not available.

treatment

(可选:全球唯一)从会话应用程序适用的呼叫处理,如果资源不可用。

To configure the limit of incoming calls in a short period of time, use thecall spikecommand in global configuration mode. To disable this command, use thenoform of this command. Thecall spikecommand uses a sliding window to determine the period in which the spike is limited. The sliding window period is defined using thesizecommand, with valid ranges from 100 to 250 ms. If a longer spike period is desired, thestepscommand is used as a multiplier for thesizecommand. For example, if thestepswere set to 2 and thesizewas set to 250, the spike period would be 500 ms.

call spikecall-number[stepsnumber-of-stepssizemilliseconds]no call spike

Table 7-5 details thecall spikecommand options.

Table 7-5 call spikeCommands

Command

Description

call-number

来电号码扣球阈值;有效范围是从1到2147483647

stepsnumber-of-steps

(Optional) Number of steps; valid range is from 3 to 10

sizemilliseconds

(Optional) Step size in milliseconds; valid range is from 100 to 2000

To configure how calls should be processed when local resources are unavailable, use thecall treatmentglobal configuration mode command. To disable the call treatment triggers, use thenoform of this command.

call treatment{|actionaction[] |cause-codecause-code|isdn-reject}no call treatment{on | actionaction[] | cause-codecause-code| isdn-reject}

Table 7-6 shows thecall treatmentcommand options.

Table 7-6 call treatmentCommands

Command

Description

Enables call treatment from the default session application.

actionaction

Action to take when call treatment is triggered.

The action argument has the following possible values:

  • hairpin—Hairpin

  • playmsg—Specifies the URL of the audio file to play

  • reject—Disconnects the call and pass down cause code

cause-codecause-code

Specifies reason for disconnect to caller.

The cause-code argument can have the following values:

  • busy—Indicates that gateway is busy

  • no-QoS—Indicates that the gateway cannot provide QoS

  • no-resource—Indicates that the gateway has no resources available

isdn-reject

Selects the ISDN rejection cause code.

ISDN cause codes that can be used in theisdn-rejectcommand are presented in Table 7-7.

Table 7-7ISDN Cause Codes

Cause No.

Description

Function

34

No circuit available (circuit/channel congestion)

Indicates that there is no channel available to handle the call

38

Net out of order

Indicates that the network is not functioning properly and the malfunction is likely to last a long time. Re-attempting the call is not likely to be successful

41

Net problem, redial (temporary failure)

Indicates that the network is not functioning properly and the malfunction is not going to last a long time. Re-attempting the call is likely to be successful

42

Net busy, redial (switching equipment congestion)

Indicates that the switching equipment is experiencing high traffic load

43

Access/user information discarded

Indicates that the network is unable to deliver user information to the remote users as was requested

44

No channel available (requested circuit/channel not available)

Indicates that the circuit or channel indicated by the requesting side cannot be used by the other side of the interface

47

Resource unavailable/new destination

Indicates a resource unavailable event only when no other cause in the resource unavailable class applies

Consider a few examples of H.323 CAC commands:

  • 下面的示例忙于出总的呼叫资源,如果5(低)或5000达到(高):

  • call threshold global total-calls low 5 high 5000 busyout
  • 以下示例启用接口以太网0的5(低)和2500(高),用于接口的调用阈值:

  • call threshold interface Ethernet 0 int-calls low 5 high 2500
  • 以下示例出忙于平均CPU使用率,如果达到5%(低)或65%(高):

  • call threshold global cpu-avg low 5 high 65 busyout
  • The following configuration of thecall spikecommand has a call number of 30, 10 steps, and a step size of 2000 ms:

  • call spike 30 steps 10 size 2000
  • The following example enables the call treatment feature with ahairpinaction:

  • call treatment oncall treatment action hairpin
  • The following example displays the proper formatting of theplaymsgaction keyword:

  • call treatment action playmsg tftp://keyer/prompts/conjestion.au

    Note -Thecongestion.aufile plays when local resources are not available to handle the call.


  • The following example configures a call treatment cause code to display "no QoS" when local resources are unavailable to process a call:

  • call treatment cause-code no-qos

SIP CAC

Measurement-based CAC for SIP can monitor IP network capacity and reject or redirect calls based on congestion detection. This feature does the following:

  • Verifies that adequate resources are available to carry a successful VoIP session

  • Implements a mechanism to prevent calls arriving from the IP network from entering the gateway when required resources are not available to process the call

  • Supports measurement-based CAC processes

The following sections illustrate the configuration of CAC for a SIP environment. Specifically, configurations for the following CAC mechanisms are addressed: SAA RTR Responder, PSTN Fallback, and Resource Availability Check.

Configuring SAA RTR Responder

Service Assurance Agent (SAA) is a generic network management feature that provides a mechanism for network congestion analysis. SAA determines latency, delay, and jitter and provides real-time ITU Calculated Planning Impairment Factor (ICPIF) calculations before establishing a call across an IP infrastructure. The SAA Responder feature uses SAA probes to traverse the network to a given IP destination and measure the loss and delay characteristics of the network along the path traveled. These values are returned to the outgoing gateway to use in making a decision on the condition of the network and its ability to carry a call. Threshold values for rejecting a call are configured at the outgoing gateway.

configu每个探测器由多个数据包rable parameter of this feature. SAA packets can emulate voice packets and therefore receive the same priority as voice throughout the entire network. The delay, loss, and ICPIF values entered into the cache for the IP destination are averaged from all the responses. If the call uses G.729 and G.711 coder-decoders (CODECs), the probe packet sizes mimic those of a voice packet for that CODEC. Other CODECs use G.711-like probes. In Cisco IOS software releases later than Release 12.1(3)T, other CODEC choices might also be supported with their own specific probes.

The IP Precedence (that is, a Layer 3 priority marking) of the probe packets can also be configured to simulate the priority of a voice packet more closely. This parameter should be set equal to the IP Precedence used for other voice media packets in the network. Typically, voice packets have an IP Precedence value of 5.

SAA probes used for CAC go out randomly on ports selected from within the top end of the audio User Datagram Protocol (UDP), defined port range (16,384 through 32,767). Probes use a packet size based on the CODEC that the call will use. IP Precedence can be set if desired, and full RTP, UDP, and IP headers are used, just as a real voice packet would carry. The SAA Responder feature was called Response Time Reporter (RTR) in earlier releases of Cisco IOS software. You can use thertr respondercommand to enable SAA Responder functionality on the destination node.

Configuring PSTN Fallback

The measurement-based CAC for SIP feature supportsPSTN Fallback, which monitors congestion in the IP network and either redirects calls to the PSTN or rejects calls based on network congestion. Calls can be rerouted to an alternate IP destination or to the PSTN if the IP network is found unsuitable for voice traffic at that time. You can define congestion thresholds based on the configured network. This functionality allows the service provider to give a reasonable guarantee about the quality of the conversation to VoIP users at the time of call admission.


Note -PSTN Fallback does not provide assurances that a VoIP call that proceeds over the IP network is protected from the effects of congestion. This is the function of the other QoS mechanisms, such as LLQ.


PSTN Fallback includes the following capabilities:

  • Provides the ability to define the congestion thresholds based on the network.

  • - 定义基于ICPIF一个阈值,其被推导为ITU G.113的一部分

    — Defines a threshold based solely on packet delay and loss measurements

  • Uses SAA probes to provide packet delay, jitter, and loss information for the relevant IP addresses. Based on the packet loss, delay, and jitter encountered by these probes, an ICPIF or delay or loss value is calculated. Typically, an ICPIF value of 10 or lower is considered acceptable.

  • Supports calls of any CODEC. Only G.729 and G.711 have accurately simulated probes. Calls of all other CODECs are emulated by a G.711 probe.

The call fallback subsystem has a network traffic cache that maintains the ICPIF or delay or loss values for various destinations. This capability helps performance because each new call to a well-known destination need not wait for a probe to be admitted, as the value is usually cached from a previous call.

Related:
123456 Page 4
Page 4 of 6
IT Salary Survey:结果是在