Softphone
Python 3 compatible softphone with support for audio streaming.
Install / Use
/learn @nicolaipre/SoftphoneREADME
Softphone
A python 3 compatible softphone built on the pjproject fork by malarinv, branch:py37.
To use the streaming capability, use an Audio Callback class that suits your needs.
See AudioCallbacks.py for examples.
For installation instructions, click here.
TODO
- [ ] Fix the slight audio lag/delay when using Audio Callbacks for relaying audio between systems.
- [x] Check if adjusting pj thread value helps on the lag like here. Helped a little bit..? Not sure, can be a coincidence.
- [x] Clean up the code.
- [ ] Write documentation for all functions.
- [x] Add proper logging.
- [ ] Add DTMF support.
- [ ] Add call transfer support.
- [ ] Fix and test incoming calls.
- [ ] Do not force registration of both incoming and outgoing accounts. Make it optional.
- [ ] Fix better error handling.
- [ ] Fix error when phone hangs up before softphone does.
- [ ] Fix error when phone is not answered and we reach voicemail. Softphone becomes unresponsive.
- [ ] Create a Pypi package to install via
pip install softphone. - [ ] Add support for multiple simultaneous calls.
Missing something?
You can look for functionality from other projects and create a PR to get it added to this project.
Examples:
- soft_phone - Huge credits to g-farrow. Used some code from his project.
- Payphone
- Openphone
- SIPCallRecordVerify
- alex
Related Skills
claude-opus-4-5-migration
82.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
334.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
openhue
334.9kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
334.9kElevenLabs text-to-speech with mac-style say UX.
