> CSCF Enforce Codec Policy Configuration Mode Commands
> The CSCF Enforce Codec Policy Configuration Mode is used to manage audio and video codec policies within the system. The parameters defined in this chapter are derived from IETF RFC 3551: “RTP Profile for Audio and Video Conferences with Minimal Control”.
> Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
> dynamic-codec
> Creates a list of dynamic codecs supported by the system.
> Product
> SCM
> Privilege
> Administrator
> Syntax
> dynamic-codec { audio encoding_name | video encoding_name } [ clock_rate ] [ channels ]
> default dynamic-codec
> no dynamic-codec [ encoding_name ] [ clock_rate ] [ channels ]
> audio encoding_name | video encoding_name
> audio encoding_name: Specifies the encoding name of the dynamic audio codec added to the allowed codec list. encoding_name must be from 1 to 49 alpha and/or numeric characters.
> video encoding_name: Specifies the encoding name of the dynamic video or audio-video codec added to the allowed codec list. encoding_name must be from 1 to 49 alpha and/or numeric characters.
> [ clock_rate ] [ channels ]
> clock_rate: Specifies the sampling rate of the codec. clock_rate must be an integer from 0 to 1000000.
> channels: Specifies the number of channels required by the codec. channels must be an integer from 1 to 1000000.
> Valid dynamic audio codecs:

> Encoding Name | Clock Rate (Hz) | Channels
> G726-40 | 8,000 | 1
> G726-32 | 8,000 | 1
> G726-24 | 8,000 | 1
> G726-16 | 8,000 | 1
> G729D | 8,000 | 1
> G729E | 8,000 | 1
> GSM-EFR | 8,000 | 1
> L8 | Variable | Variable
> RED | See RFC3551
> VDVI | Variable | 1

> ‌
> Valid dynamic video codecs:

> Encoding Name | Clock Rate (Hz)
> H263-1998 | 90,000

> ‌
> default
> Specifies that the default list of dynamic codecs is added to the allowed codecs list. Default dynamic codecs: H263 and AMR.
> no dynamic-codec [ encoding_name ] [ clock_rate ] [ channels ]
> Specifies that all dynamic codecs are removed from the allowed codecs list. If an encoding_name is specified, then only the codec specified by the encoding_name is removed. Furthermore, if a supporting clock_rate and/or channels are specified, then only the encoding_name with the specified clock_rate and/or channels is removed.
> Usage
> Use this commands to create a list of supported dynamic audio and video codecs in the system. When a request is received by the CSCF, the SDP fields in the message are checked to determine the codec being used. The codec in the SDP fields must match a codec in the allowed codec list or the CSCF rejects the request.
> Example
> The following command adds the GSM-EFR codec to the allowed dynamic codec list:
> dynamic-codec GSM-EFR
> end
> Exits the current mode and returns to the Exec Mode.
> Product
> All
> Privilege
> Administrator
> Syntax
> end
> Usage
> Change the mode back to the Exec mode.
> exit
> Exits the current mode and returns to the previous mode.
> Product
> All
> Privilege
> Administrator
> Syntax
> exit
> Usage
> Return to the previous mode.
> static-codec
> Creates a list of static codecs supported by the system.
> Product
> SCM
> Privilege
> Administrator
> Syntax
> static-codec { audio payload_type | video payload_type }
> default static-codec
> no static-codec [ payload_type ]
> audio payload_type | video payload_type
> audio payload_type: Specifies the audio codec added to the allowed codecs list. payload_type must be an integer from 0 to 95. Default value is 5.
> Valid static audio codecs:

> 0: PCMU | 7: LPC | 14: MPA | 21: unassigned
> 1: reserved | 8: PCMA | 15: G728 | 22: unassigned
> 2: reserved | 9: G722 | 16: DVI4 | 23: unassigned
> 3: GSM | 10: L16 | 17: DVI4 |
> 4: G723 | 11: L16 | 18: G729 |
> 5: DVI4 | 12: QCELP | 19: reserved |
> 6: DVI4 | 13: CN | 20: unassigned |

> ‌
> video payload_type: Specifies the video or audio-video codec added to the allowed codecs list. payload_type must be an integer from 0 to 95. Default value is 5.
> Valid static video codecs:

> 24: unassigned | 28: nv | 32: MPV | 72-76: reserved
> 25: CelB | 29: unassigned | 33: MP2T | 77-95: unassigned
> 26: JPEG | 30: unassigned | 34: H263 |
> 27: unassigned | 31: H261 | 35-71: unassigned |

> ‌
> default
> Specifies that the default list of static codecs is added to the allowed codecs list.
> The default static codec is 5: DVI4.
> no static-codec [ payload_type ]
> Specifies that all static codecs are removed from the allowed codecs list. If a payload_type is specified, then only the codec specified by the payload_type is removed.
> Usage
> Use this commands to create a list of supported static audio and video codecs in the system. When a request is received by the CSCF, the SDP fields in the message are checked to determine the codec being used. The codec in the SDP fields must match a codec in the allowed codec list or the CSCF rejects the request.
> Example
> The following command adds the G729 audio codec to the allowed codecs list:
> static-codec 18

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883