RTCP - Variables Empty Asterisk 1.8

We are trying to capture QOS stats into our CDR records, and as we are setting this up, we are confirming the existence of the data in variables on the Asterisk CLI. Values for RTPAUDIOQOS appear to work, but as I read details, this is just a snapshot at the end of the call and doesn’t provide items like Max Jitter, or average RTT. We would like the details from the variables RTPAUDIOQOSJITTER, RTPAUDIOQOSRTT, RTPAUDIOQOSRTTBRIDGED, RTPAUDIOQOSLOSS, etc…, but they all seem to be 0.

We are running Asterisk 1.8 under FreePBX, under Elastix.

Any ideas?

CLI showing some variables with data, and some without.

– Executing [s@macro-hangupcall:27] NoOp(“SIP/xxxx-00000004”, “-- QoS stats RTPAUDIOQOSJITTER:minrxjitter=0.000000;maxrxjitter=0.000000;avgrxjitter=0.000000;stdevrxjitter=0.000000;reported_minjitter=0.000000;reported_maxjitter=0.000000;reported_avgjitter=0.000000;reported_stdevjitter=0.000000;”) in new stack
– Executing [s@macro-hangupcall:28] NoOp(“SIP/xxxx-00000004”, “-- QoS stats RTPAUDIOQOSLOSSBRIDGED:minrxlost=0.000000;maxrxlost=0.000000;avgrxlost=0.000000;stdevrxlost=0.000000;reported_minlost=0.000000;reported_maxlost=0.000000;reported_avglost=0.000000;reported_stdevlost=0.000000;”) in new stack
– Executing [s@macro-hangupcall:29] NoOp(“SIP/xxxx-00000004”, “-- QoS stats RTPAUDIOQOSLOSS:minrxlost=0.000000;maxrxlost=0.000000;avgrxlost=0.000000;stdevrxlost=0.000000;reported_minlost=0.000000;reported_maxlost=0.000000;reported_avglost=0.000000;reported_stdevlost=0.000000;”) in new stack
– Executing [s@macro-hangupcall:30] NoOp(“SIP/xxxx-00000004”, “-- QoS stats RTPAUDIOQOSRTT:minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;”) in new stack
– Executing [s@macro-hangupcall:31] NoOp(“SIP/xxxx-00000004”, “-- QoS stats RTPAUDIOQOS:ssrc=xxxxxxx3155;themssrc=xxxxxxx320;lp=0;rxjitter=0.002593;rxcount=907;txjitter=0.000000;txcount=936;rlp=0;rtt=0.035000”) in new stack

Thanks in advance for any assistance.

Thanks,

Gary

So I have duplicated this in a FreePBX distribution and am still getting no data.

Also, I tried the command from the *CLI: rtcp set stats on

This didn’t have an impact. All data is still 0.000 for jitter, RTT, Lost Packets, etc…

Any assistance is greatly appreciated.

Next step is to test this on a 1.6 version of Asterisk, but it may be a while before I have time to set up the test.

could be way off base here but I don’t think these variables exist or are populated. There was some development done toward better rtcp support in one of the development branches (pinefrog maybe?) but I don’t think it ever made it into the tree. There was also something related to bug/patch #10590. I Think RTPAUDIOQOS is the only one actively populated.

Take a peak at: issues.asterisk.org/jira/browse/ASTERISK-16404