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.
[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 |
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.
[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 |
Figure 14-4. CallManager Enhanced IOS Transcoder Configuration
Figure 14-5. CallManager Enhanced IOS Conference Bridge Configuration
Figure 14-6. CallManager Enhanced MTP Configuration