07-02-2025 02:01 AM
Hello everyone,
I would like to do what explained in the title of this post and more in details in this guide below:
However I cannot find any example on how the headers should be specified in the specific commands:
rule 1 request bye sip-header p-rtp-stat add "???????"
rule 2 response 200 sip-header p-rtp-stat add "???????"
Can anyone help on this?
Thanks
Solved! Go to Solution.
07-02-2025 05:41 AM
You don’t need the SIP profile rule at all. CUBE will add the header on its own when it has the RTCP-provided data.
07-02-2025 02:24 AM - edited 07-02-2025 02:33 AM
That header is enabled by default but requires RTCP to have negotiated during the call to calculate the statistics. That is disabled by default in CUCM for audio-only calls. You can enable that cluster-wide under System > Enterprise Phone Config. Verify that the SDP offer/answer negotiates RTCP initially before you look for the P-RTP-Stat header.
If you have QoS fully deployed be aware that enabling RTCP adds 5% to the per-call bandwidth. See the Voice Codec Calculator. This is not accounted for in CUCM Location Based CAC, only in IOS on the LLQ class-map. You’d need to manually adjust one or the other (Location bandwidth down or IOS class-map bandwidth up) to make room for the RTCP packets.
PS- That’s an old version of the guide. Current: Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - Chapter: Call Quality Statistics
07-02-2025 02:33 AM
Many thanks Jonathan, final goal is to get RTP statistics in the CMR.
Does it mean that after setting RTCP: Enabled under System > Enterprise Phone Config, I may find such fields populated also for the calls involving the CUBE in question? (bit confused on the whole process as you may notice)
07-02-2025 03:16 AM
Yep. I believe that will require a phone Apply Config and Reset to take effect. Also be mindful that it can be overridden at the Common Device Configuration or on individual IP Phones.
And don’t forget to remove those SIP profile rules you added.
07-02-2025 03:29 AM - edited 07-02-2025 03:33 AM
Didn't manage to configure those SIP profile rules as, as mentioned at the beginning of this post, could not figure out how the required header string should be specified:
CUBE_PRI(config-class)#rule 1 request bye sip-header p-rtp-stat add ?
LINE String to add as a header
I assume it should be:
CUBE_PRI(config-class)#rule 1 request bye sip-header p-rtp-stat add "P-RTP-Stat:" --- but then? Should I specify somehow the details about packets sent/received/lost, etc?
---------------
As for the RTCP I actually don't find such option under Common Device Configuration or Phone configuration.
07-02-2025 05:41 AM
You don’t need the SIP profile rule at all. CUBE will add the header on its own when it has the RTCP-provided data.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide