Configuring DSP Resources

Configuring a DSP to provide transcoding or conferencing resources is often referred to as DSP farming. As noted earlier, this term is also sometimes applied to DSP sharing because the command-line interface (CLI) dspfarm command is used to configure both applications. Because the term DSP farming is somewhat ambiguous, it is preferable to explicitly state which of the features you are referring to.

The configuration is similar for transcoding and conference bridging but is significantly different for C549 DSPs versus C5510 DSPs. To distinguish between the DSP types, Cisco refers to the C5510 DSPs as "Cisco IOS Enhanced Transcoding and Conferencing" DSPs.

Note

A gateway might have both C549 and C5510 DSPs installed. If this is the case, you can register only one type of DSP with CallManager. You can use both DSP types for voice termination.

 

Configuring Transcoding and Conferencing (C549)

To configure transcoding and conferencing on an NM-HDV, follow these steps:

Step 1.

Set the interface used for Skinny Client Control Protocol (SCCP).
 

Gateway(config)#sccp local interface

The IP address of the configured interface is used to register with CallManager. For C549 DSPs, the MAC address of the physical interface is used for the device name. Transcoders will use the device name MTPxxxxxxxxxxxx, and Conference bridges will use the device name CFBxxxxxxxxxxxx, where xxxxxxxxxxxx is the MAC address.
 

Step 2.

Configure the CallManager address.
 

Gateway(config)#sccp ccm ipaddr [priority priority-level]

The default priority level is 1. You can configure up to three redundant CallManagers by using the priority option.
 

Step 3.

Enable SCCP.
 

Gateway(config)#sccp

You must set the sccp local interface before you enter the sccp command. When you enter the sccp command, the gateway initiates the registration process with CallManager.
 

Step 4.

Configure the voice card to support transcoding and conferencing.
 

Gateway(config-voicecard)#dsp services dspfarm
 

Step 5.

Set the number of transcoder and conference sessions.
 

Gateway(config)#dspfarm transcoder maximum sessions number
Gateway(config)#dspfarm confbridge maximum sessions number
 

Step 6.

Enable DSP farming.
 

Gateway(config)#dspfarm
 
   

Step 7.

Configure the transcoder and conference bridge resources in CallManager.
 

After you complete these steps, the gateway attempts to register with the configured CallManager using a device ID of the interface MAC address preceded by "MTP" for a transcoder resource and "CFB" for a conference resource.

Example 14-9 illustrates configuration of an NM-HDV installed in a 3725 to support both transcoding and conferencing. Figures 14-2 and 14-3 show the associated CallManager configurations.

Example 14-9. Configuring Transcoding and Conferencing on an NM-HDV


 

[View full width]

Gateway#config terminal Enter configuration commands, one per line. End with CNTL/Z. Gateway(config)#sccp local vlan20 Gateway(config)#sccp ccm 10.1.5.2 priority 1 Gateway(config)#sccp ccm 10.1.5.3 priority 2 Gateway(config)#sccp Gateway(config)#voice-card 1 Gateway(config-voicecard)#dsp services dspfarm Gateway(config-voicecard)#exit Gateway(config)#dspfarm transcoder maximum sessions ? <1-48> Specify the maximum transcoding sessions value Gateway(config)#dspfarm transcoder maximum sessions 4 Gateway(config)#dspfarm confbridge maximum sessions ? <1-11> Specify the maximum conferencing sessions value Gateway(config)#dspfarm confbridge maximum sessions 1 Gateway(config)#dspfarm Gateway(config)#end Gateway# *Apr 18 16:50:00.647: %SYS-5-CONFIG_I: Configured from console by console *Apr 18 16:50:02.039: %DSPRM-5-UPDOWN: DSP 3 in slot 1, changed state to up *Apr 18 16:50:02.059: %DSPRM-5-UPDOWN: DSP 4 in slot 1, changed state to up *Apr 18 16:50:02.139: DSPFARM all DSPs are UP with DSPFARM FW. Informed DSPFARM ! Gateway#show dspfarm all DSPFARM Configuration Information: Admin State: UP, Oper Status: ACTIVE - Cause code: NONE Transcoding Sessions: 4(Avail: 4), Conferencing Sessions: 1 (Avail: 1) Trans sessions for mixed-mode conf: 0 (Avail: 0), RTP Timeout: 600 Connection check interval 600 Codec G729 VAD: ENABLED Total number of active session(s) 0, and connection(s) 0 SLOT DSP CHNL STATUS USE TYPE SESS-ID CONN-ID PKTS-RXED PKTS-TXED 1 3 1 UP FREE conf - - - - 1 3 2 UP FREE conf - - - - 1 3 3 UP FREE conf - - - - 1 3 4 UP FREE conf - - - - 1 3 5 UP FREE conf - - - - 1 3 6 UP FREE conf - - - - 1 4 1 UP FREE xcode - - - - 1 4 2 UP FREE xcode - - - - 1 4 3 UP FREE xcode - - - - 1 4 4 UP FREE xcode - - - - 1 4 5 UP FREE xcode - - - - 1 4 6 UP FREE xcode - - - - 1 4 7 UP FREE xcode - - - - 1 4 8 UP FREE xcode - - - - Total number of DSPFARM DSP channel(s) 14 ! ! Show interface to obtain mac address ! Gateway#show interface vlan20 Vlan20 is up, line protocol is up Hardware is EtherSVI, address is 0007.b35b.d890 (bia 0007.b35b.d890) Internet address is 10.2.20.1/24 MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 100 packets output, 7403 bytes, 0 underruns 0 output errors, 1 interface resets 0 output buffer failures, 0 output buffers swapped out Gateway#  

Figure 14-2. CallManager IOS Transcoder Configuration

Figure 14-3. CallManager IOS Conference Bridge Configuration

 

Configuring Enhanced Transcoding and Conferencing (C5510)

One of the features of Enhanced Transcoding and Conferencing is the ability to create multiple profiles. Profiles allow more granular control of resources and enable a gateway to register resources with multiple CallManager groups. To configure an NM-HDV2 or ISR to register with a CallManager, follow these steps:

Step 1.

Set the interface used for SCCP.
 

GW_2811(config)#sccp local interface

For Enhanced Transcoding and Conferencing, this command only determines which IP address CallManager will use to communicate with the gateway. The device name(s) are defined in a later step.
 

Step 2.

Configure the CallManager addresses.
 

GW_2811(config)#sccp ccm ipaddr identifier identifier [version ccm
version]

Each CallManager that the gateway will register with must be configured with a unique identifier. In a later step, one or more CallManager groups will be created. You will associate the CallManager identifiers that you create here with a CallManager group and assign them a priority for registration.

Specifying the CallManager version is optional but should be set to avoid registration issues.
 

Step 3.

Initialize SCCP.
 

GW_2811(config)#sccp
 

Step 4.

Configure the voice card to support transcoding and conferencing.
 

GW_2811(config)#voice-card 0
GW_2811(config-voicecard)#dsp services dspfarm
 

Step 5.

Create a DSP farm profile for transcoding.
 

GW_2811(config)#dspfarm profile profile transcoder
GW_2811(config-dsp-profile)#associate application sccp
GW_2811(config-dsp-profile)#maximum sessions number
GW_2811(config-dsp-profile)#no shutdown

With Enhanced Transcoding and Conferencing, you create one or more profiles for each service type. You can associate each profile with a CallManager group. The profiles are always associated with the application sccp.
 
   

Step 6.

Create a DSP farm profile for conferencing.
 

GW_2811(config)#dspfarm profile profile conference
GW_2811(config-dsp-profile)#associate application sccp
GW_2811(config-dsp-profile)#maximum sessions sessions
GW_2811(config-dsp-profile)#no shutdown
 

Step 7.

Create a DSP farm profile for MTP.
 

GW_2811(config)#dspfarm profile profile mtp
GW_2811(config-dsp-profile)#associate application sccp
GW_2811(config-dsp-profile)#maximum sessions {hardware|software}
sessions
GW_2811(config-dsp-profile)#no shutdown

You can configure software MTPs without enabling DSP services on the voice-card, even if no voice card is installed in the router.
 

Step 8.

Associate profiles with CallManager groups.
 

GW_2811(config)#sccp ccm group number
GW_2811(config-sccp-ccm)#associate ccm identifier priority priority
GW_2811(config-sccp-ccm)#associate profile profile register device-name
GW_2811(config-sccp-ccm)#bind interface interface

You can associate multiple profiles with a CallManager group. Each profile is assigned a unique device-name between 6 and 16 characters long, which is used to register with CallManager. The device-name must be unique to the ccm group.
 

Step 9.

Define the resources in CallManager.
 

Example 14-10 illustrates the configuration of a 2811 with two PVDM2-16s installed on the main board to support transcoding, conferencing, and MTP resources. Figures 14-4, 14-5, and 14-6 show the associated CallManager configurations.

Example 14-10. Configuring Transcoding and Conferencing on a PVDM2


 

[View full width]

GW_2811#config terminal Enter configuration commands, one per line. End with CNTL/Z. GW_2811(config)#sccp local vlan5 GW_2811(config)#sccp ccm 10.1.5.2 identifier 1 version 4.1 GW_2811(config)#sccp ccm 10.1.5.3 identifier 2 version 4.1 GW_2811(config)#sccp GW_2811(config)#voice-card 0 GW_2811(config-voicecard)#dsp services dspfarm GW_2811(config-voicecard)#exit GW_2811(config)#dspfarm profile 1 transcode GW_2811(config-dspfarm-profile)#associate application sccp GW_2811(config-dspfarm-profile)#maximum sessions ? <1-15> Number of sessions assigned to this profile GW_2811(config-dspfarm-profile)#maximum sessions 4 GW_2811(config-dspfarm-profile)#no shutdown GW_2811(config-dspfarm-profile)#exit GW_2811(config)#dsp profile 1 conference Profile id 1 is being used for service TRANSCODING please select a different profile id GW_2811(config)#dsp profile 2 conference GW_2811(config-dspfarm-profile)#associate application sccp GW_2811(config-dspfarm-profile)#maximum sessions ? <1-2> Number of sessions assigned to this profile GW_2811(config-dspfarm-profile)#maximum sessions 2 GW_2811(config-dspfarm-profile)#no shutdown GW_2811(config-dspfarm-profile)#exit GW_2811(config)#dspfarm profile 3 mtp GW_2811(config-dspfarm-profile)#associate application sccp GW_2811(config-dspfarm-profile)#maximum sessions hardware ? <1-8> Number of sessions assigned to this profile GW_2811(config-dspfarm-profile)#maximum sessions hardware 4 GW_2811(config-dspfarm-profile)#maximum sessions software ? <1-500> Number of sessions assigned to this profile GW_2811(config-dspfarm-profile)#maximum sessions software 10 GW_2811(config-dspfarm-profile)#no shutdown GW_2811(config-dspfarm-profile)#exit GW_2811(config)#sccp ccm group 10 GW_2811(config-sccp-ccm)#associate ccm 1 priority 1 GW_2811(config-sccp-ccm)#associate ccm 2 priority 2 GW_2811(config-sccp-ccm)#associate profile 1 register XCD123456 GW_2811(config-sccp-ccm)#associate profile 2 register CFB123456 GW_2811(config-sccp-ccm)#associate profile 3 register MTP123456 GW_2811(config-sccp-ccm)#bind interface vlan5 GW_2811(config-sccp-ccm)#^Z GW_2811#show dspfarm all Dspfarm Profile Configuration Profile ID = 1, Service = TRANSCODING, Resource ID = 1 Profile Description : Profile Admin State : UP Profile Operation State : ACTIVE Application : SCCP Status : ASSOCIATED Resource Provider : FLEX_DSPRM Status : UP Number of Resource Configured : 4 Number of Resource Available : 4 Codec Configuration Codec : g711ulaw, Maximum Packetization Period : 30 Codec : g711alaw, Maximum Packetization Period : 30 Codec : g729ar8, Maximum Packetization Period : 60 Codec : g729abr8, Maximum Packetization Period : 60 Codec : gsmfr, Maximum Packetization Period : 20 Dspfarm Profile Configuration Profile ID = 2, Service = CONFERENCING, Resource ID = 2 Profile Description : Profile Admin State : UP Profile Operation State : ACTIVE Application : SCCP Status : ASSOCIATED Resource Provider : FLEX_DSPRM Status : UP Number of Resource Configured : 2 Number of Resource Available : 2 Codec Configuration Codec : g711ulaw, Maximum Packetization Period : 30 , Transcoder: Not Required Codec : g711alaw, Maximum Packetization Period : 30 , Transcoder: Not Required Codec : g729ar8, Maximum Packetization Period : 60 , Transcoder: Not Required Codec : g729abr8, Maximum Packetization Period : 60 , Transcoder: Not Required Codec : g729r8, Maximum Packetization Period : 60 , Transcoder: Not Required Codec : g729br8, Maximum Packetization Period : 60 , Transcoder: Not Required Dspfarm Profile Configuration Profile ID = 3, Service = MTP, Resource ID = 3 Profile Description : Profile Admin State : UP Profile Operation State : ACTIVE Application : SCCP Status : ASSOCIATED Resource Provider : FLEX_DSPRM Status : UP Number of Resource Configured : 14 Number of Resource Available : 14 Hardware Configured Resources : 4 Hardware Available Resources : 4 Software Resources : 10 Codec Configuration Codec : g711ulaw, Maximum Packetization Period : 30 SLOT DSP VERSION STATUS CHNL USE TYPE RSC_ID BRIDGE_ID PKTS_TXED PKTS_RXED 0 1 4.4.12 UP N/A FREE xcode 1 - - - 0 1 4.4.12 UP N/A FREE xcode 1 - - - 0 1 4.4.12 UP N/A FREE xcode 1 - - - 0 1 4.4.12 UP N/A FREE xcode 1 - - - 0 1 4.4.12 UP N/A FREE mtp 3 - - - 0 1 4.4.12 UP N/A FREE mtp 3 - - - 0 1 4.4.12 UP N/A FREE mtp 3 - - - 0 1 4.4.12 UP N/A FREE mtp 3 - - - 0 5 1.0.6 UP N/A FREE conf 2 - - - 0 5 1.0.6 UP N/A FREE conf 2 - - - Total number of DSPFARM DSP channel(s) 10  

Figure 14-4. CallManager Enhanced IOS Transcoder Configuration

Figure 14-5. CallManager Enhanced IOS Conference Bridge Configuration

Figure 14-6. CallManager Enhanced MTP Configuration


Part I: Voice Gateways and Gatekeepers

Gateways and Gatekeepers

Part II: Gateways

Media Gateway Control Protocol

H.323

Session Initiation Protocol

Circuit Options

Connecting to the PSTN

Connecting to PBXs

Connecting to an IP WAN

Dial Plans

Digit Manipulation

Influencing Path Selection

Configuring Class of Restrictions

SRST and MGCP Gateway Fallback

DSP Resources

Using Tcl Scripts and VoiceXML

Part III: Gatekeepers

Deploying Gatekeepers

Gatekeeper Configuration

Part IV: IP-to-IP Gateways

Cisco Multiservice IP-to-IP Gateway

Appendix A. Answers to Chapter-Ending Review Questions

Index



Cisco Voice Gateways and Gatekeepers
Cisco Voice Gateways and Gatekeepers
ISBN: 158705258X
EAN: 2147483647
Year: 2004
Pages: 218

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net