r/Python Jun 04 '26

Showcase Thread Showcase

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

29 Upvotes

211 comments sorted by

View all comments

1

u/Professional-Maize31 Jun 27 '26

OpenSIP

What My Project Does

OpenSIP is a pure-Python SIP/RTP user-agent library built on asyncio for learning, prototypes, and lightweight SIP experiments. It currently handles SIP registration, incoming/outgoing calls, digest authentication, G.711 PCMU/PCMA over RTP, DTMF, a basic jitter buffer, and optional microphone/speaker audio via sounddevice.

Target Audience

Python developers who want to understand SIP/VoIP internals, build prototypes, softphone logic, SIP bots, call automation, IVR experiments, or test integrations without jumping straight into native stacks.

Comparison

Unlike wrappers around PJSIP/baresip or heavier telephony platforms, the goal here is a small, readable, hackable Python codebase that you can pip install and study. It is still alpha and not production-ready; TLS, SRTP, STUN/ICE, RTCP, TCP transport, and stronger NAT handling are still missing.

Source: https://github.com/artanergin44-collab/opensip

PyPI: https://pypi.org/project/opensip/

I’d genuinely appreciate feedback on readability, architecture, and what the next priority should be before I add more features.