
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
rtcpxr-collector
Advanced tools
A python library for Collecting RTCP-XR (RFC 3611) SIP quality packets
Much thank to the project at: https://github.com/pbertera/vq-collector The core concepts and processing core were taken from there. Most code has been refactored and stripped down.
This is meant to be part of a larger project (hence a library.) I highly suggest you configure your phones to send to your collector with the "name" set to the mac address of the handset. This is the only way to uniquely identify a handset (that I've found at least.)
To run the code with all the defaults:
#!/usr/bin/python3
from rtcpxr_collector import vqcollector
vqs = vqcollector.CollectorServer()
vqs.listen()
Generally you will use a custom handler, so here's an example:
#!/usr/bin/python3
import datetime
from rtcpxr_collector import vqcollector
def logHandler(r):
print("%s %s %s CQ:%s LQ:%s Local:%s Remote:%s"%(datetime.datetime.now(),
r['Handset']['MAC'],
r['CallID'],
r['QualityEst']['MOSCQ'],
r['QualityEst']['MOSLQ'],
"%s %s"%(r['LocalID']['name'],r['LocalID']['desc']),
"%s %s"%(r['RemoteID']['name'],r['RemoteID']['desc']) ))
return True
vqs = vqcollector.CollectorServer(handler=logHandler)
vqs.listen()
Maybe you want to run on a non-stadard IP or port:
#!/usr/bin/python3
from rtcpxr_collector import vqcollector
vqs = vqcollector.CollectorServer(local_ip=10.10.10.15, port=5061)
vqs.listen()
The CollectorServer object opens a SIP socket to receive RTCP-XR packets,
parses them, then sends the data to a handler.
Attributes:
local_ip (ipV4 address): [None] Local IPV4 address to bind to (None: Autodetect)
port (int) : [5060] Local Port to bind to
reply_to_socket (bool) : [False] Should we reply to the address from the socket, or the SIP Header
debug (bool) : [False] Print Debugging information
handler (func) : [None] Handler function for recieved data (None: pprint res data)
timeout (int) : [10] Select Timeout in seconds
timeout_handler (func) : [None] Handler for select timeout event
Handler Function:
Takes 1 arg that is the parsed data structure.
Returns: Send Response Packet? True or False
FAQs
A python library for Collecting RTCP-XR (RFC 3611) SIP quality packets
We found that rtcpxr-collector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.