SkillAgentSearch skills...

Softphone

Python 3 compatible softphone with support for audio streaming.

Install / Use

/learn @nicolaipre/Softphone
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

Related Skills

View on GitHub
GitHub Stars14
CategoryCustomer
Updated11mo ago
Forks8

Languages

Python

Security Score

87/100

Audited on Apr 1, 2025

No findings