You can enable RTP and RTCP ALGs for twice NAT flows created when the PGC installs media gates on the VPG. The ALGs monitor packets on the gate and provide statistics.
You can enable these ALGs only for flows created by the VPG. You cannot enable them within standalone NAT rules.
Step-by-Step Procedure
You can choose to monitor either RTP or RTCP, or both. To enable monitoring of RTP and RTCP media flows:
- [edit services pgcp]
- user@host#edit gateway vpg-1
- [edit services pgcp gateway vpg-1]
- user@host#set monitor media
- [edit services pgcp gateway vpg-1]
- user@host#set monitor media rtp
- [edit services pgcp gateway vpg-1]
- user@host#set monitor media rtcp
user@host> show services pgcp gates
gate-id 352187384065 statistics
Gate Statistics: ================ Output packets: 582 Input packets: 582 Dropped packets: 0 Lost RTP packets: 0 RTCP statistics: SSRC : 32270 Sender octets : 7500 Sender packets : 375 Invalid packets: 9 RTCP Receiver statistics: SSRC Lost packets Lost fraction Jitter 13043 0 0.000 0 16487 0 0.000 0 5655 0 0.000 0 . . .