Media Policing Configuration for RTP Flows

You can configure media policing in the media-profile configuration element using the ACLI. In the following example, you will configure media policing for the G723 media profile.

To configure media policing for RTP flows:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type session-router and press Enter to access the session-router path.
    ORACLE(configure)# session-router
  3. Type media-profile and press Enter. The system prompt changes to let you know that you can begin configuring individual parameters.
    ORACLE(session-router)# media-profile
  4. Select an existing media profile to which you will add policing constraints.
    ORACLE(media-profile)# select
    <name>:
    1: audio   4=G723     RTP/AVP 16 0 0 0
    selection:1
    ORACLE(media-profile)#

    From this point, you can configure media policing parameters. To view all media-profile parameters, enter a ? at the system prompt

  5. average-rate-limit—Enter the maximum rate in bytes per second for any flows that this media-profile polices. The default value is zero (0), disabling media policing. The valid range is:
    • Minimum—0

    • Maximum—125000000

      Average rate limit values for common codecs:

    • PCMU—80000 Bps

    • G729—26000 Bps

      The following example shows a media-profile configuration element configured for media policing.

      media-profile
              name                           G723
              media-type                     audio
              payload-type                   4
              transport                      RTP/AVP
              req-bandwidth                  16
              frames-per-packet              0
              parameters
              average-rate-limit             15000