Logging Asterisk RTCP statistics
Most SIP devices are capable of sending statistics about the quality of voice calls in the RTCP packages. Audio quality statistics can be a valuable tool for tracking and alerting on potential problems. Asterisk has some rudementary support for capturing this data but it is not well documented.
note: this posting is about the SIP RTCP statistics only
The way it works: At the conclusion of a call, Asterisk (actually chan_sip) sets a channel the channel variable RTPQUDIOQOS which will contain a string that looks something like this:
Unfortunately, at the moment it seems that they are nearly useless. Due to several bugs in the way the statistucs are gathered the numbers are not useful.