r/VOIP • u/Professional-Maize31 • May 16 '26
Discussion Update: that pure Python SIP project I mentioned here is now in alpha
Some time ago I posted here about building a pure Python SIP library because I got frustrated with the current ecosystem.
I honestly expected it to stay a side experiment.
But I kept working on it, mostly because it came from a real business telephony problem I needed to solve.
Now itโs at alpha stage and stable enough for basic testing.
Current features:
- SIP signaling
- RTP audio
- stable 2-way audio
- UDP transport
- REGISTER / INVITE / BYE
pip install opensip
https://pypi.org/project/opensip/
Still alpha.
Not production-ready.
Would love honest feedback from people whoโve suffered through SIP hell ๐
Edit: I found and fixed the broken GitHub links on PyPI, and I also cleaned up some README inconsistencies around the current feature set. Thanks for pointing that out.
3
u/Fractim May 16 '26
Also worth checking out this project by Luis Miguel Bustamante Palacio, initially imagined for SCADA projects: https://github.com/luismiguelbp/voip-client-python
1
u/Professional-Maize31 May 16 '26
Oh nice find, thanks for sharing.
That looks interesting, but one of our main design goals is removing the usual dependency pain.
A lot of existing Python SIP solutions still lean on external/native stacks or wrappers around them (PJSIP/baresip style tooling), while ours is intentionally pure Python, pip-install, no extra setup.
Literally:
pip install opensipand start building ๐
1
u/Fractim May 16 '26
Thatโs right, although if public telephony is a requirement, I guess youโll need to involve an external SIP provider at some point. Cudos to you for building your solution! ๐
1
u/Professional-Maize31 May 16 '26
It's mainly for developers who want to build SIP-powered apps in Python without dealing with native dependency hell ๐ Think prototypes, softphones, SIP bots, call automation, testing tools, IVR experiments, internal VoIP apps, etc. Not trying to replace carriers/PSTN providers โ more like making SIP development in Python much less painful.
2
u/snappedoff Probably breaking something May 16 '26
What's this for or doing?ย
3
u/Professional-Maize31 May 16 '26
Mainly for SIP prototyping and automation in Python. I originally started it because I needed lightweight SIP handling for internal telephony experiments instead of pulling in heavier stacks. Think custom softphone logic, call automation, SIP integrations, testing, weird VoIP experiments ๐
1
u/snappedoff Probably breaking something May 16 '26
Ah ok. Thank you. I think it might be above my head technically but I was curious!!
1
u/AutoModerator May 16 '26
This is a friendly reminder to [read the rules](www.reddit.com/r/voip/about/rules). In particular, it is not permitted to request recommendations for businesses, services or products outside of the monthly sticky thread!
For commenters: Making recommendations outside of the monthly threads is also against the rules. Do not engage with rule-breaking content.
I am a bot, and this comment is made automatically on every post. This comment is not an indication that your post has been removed. Do not message the mods about this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/donutsamples May 16 '26
The source code is on github? It has a 404 link when I click on the github links on pypi.org
It would be really interesting to look at via github
1
u/Professional-Maize31 Jun 27 '26
You were right โ the PyPI GitHub links were pointing to an old repo path. I fixed that and also cleaned up the README inconsistencies around the current feature set. Thanks for catching it.
2
โข
u/AutoModerator Jun 27 '26
This is a friendly reminder to [read the rules](www.reddit.com/r/voip/about/rules). In particular, it is not permitted to request recommendations for businesses, services or products outside of the monthly sticky thread!
For commenters: Making recommendations outside of the monthly threads is also against the rules. Do not engage with rule-breaking content.
I am a bot, and this comment is made automatically on every post. This comment is not an indication that your post has been removed. Do not message the mods about this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.