Optionally, configure the following header compression parameters.
If you do not configure these parameters, their default values are used.
ip rtp compression-connections
ip tcp compression-connections
ip rtp max-period
ip rtp max-time
ip rtp non-tcp-mode
IETF mode is not compatible with non-IETF mode.
ip rtp port-range
For example:
Gxxx-001(config-if:Serial 4/1:1)# ip rtp compression-connections 48
Done!
Gxxx-001(config-if:Serial 4/1:1)# ip tcp compression-connections 48
Done!
Gxxx-001(config-if:Serial 4/1:1)# ip rtp max-period 512
Done!
Gxxx-001(config-if:Serial 4/1:1)# ip rtp max-time 20
Done!
Gxxx-001(config-if:Serial 4/1:1)# ip rtp non-tcp-mode ietf
Done!
Gxxx-001(config-if:Serial 4/1:1)# ip rtp port-range 40000 50000
Done!
Use the ip rtp header-compression command if you want to enable RTP, TCP, and UDP header compression on the current interface.
The compression method employed is IPHC. Alternatively, you can use the following equivalent command: ip tcp header-compression iphc-format
For example:
Gxxx-001# interface dialer 1
Gxxx-001(config-if:Dialer 1)# ip rtp header-compression
Done
Note:
After header compression is enabled, any change to a header compression parameter is effective immediately.
To disable IPHC on an interface, use the no form of the command you employed (in the interface context): no ip rtp header-compression or no ip tcp header-compression.