Skip to main content

simple-sip-client

PyPI GitHub Publish to PyPI

Pure-Python SIP VoIP client library (no external dependencies for SIP/RTP). Can be used ala CLI Tool or Code Library.

Full documentation: docs/index.md

Installation

# from PyPI
pip install simple-sip-client

# or from source (editable)
pip install -e .

Then use from any script:

from simple_sip import SIPClient

Or run demos directly:

python demos/basic.py
python demos/tts-stt.py

Project Structure

voip/
├── README.md
├── setup.py
├── pyproject.toml
├── hold-queue-config.json
├── hold-queue.py        # Music-on-hold with announcements
├── main.py              # CLI-based SIP client
├── demos/
│   ├── basic.py         # Interactive SIP client demo
│   ├── queue.py         # Simple audio streaming demo
│   ├── debug-audio.py   # RTP audio dump tool
│   └── tts-stt.py       # Voice chat with local STT/TTS
└── src/
    └── simple_sip/      # Python package
        ├── __init__.py
        ├── sip_client.py   # SIP client (register, call, events)
        ├── sip_message.py  # SIP message parser/generator
        ├── sip_auth.py     # Digest authentication
        ├── sip_transport.py # UDP transport
        ├── sip_sdp.py      # SDP parser/answer/offer
        ├── sip_media.py    # RTP media stream
        └── ringtone.py     # Ringtone player

Demos

  • basic.py – Interactive SIP client (receive/make calls)
  • hold-queue.py – Auto-answer with music-on-hold + announcements
  • queue.py – Stream audio file as RTP to caller
  • debug-audio.py – Save incoming RTP audio to WAV files
  • tts-stt.py – Voice chat with local STT/TTS
  • main.py – CLI with --on-invite scripts

Configuration

Edit hold-queue-config.json for hold-queue.py settings. Environment variables SIP_SERVER, SIP_PORT, SIP_USER, SIP_PASS override defaults in demo scripts.

License

MIT

Metadata

Release files for simple-sip-client 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-sip-client 0.0.3
File Size Uploaded Provenance Actions
simple_sip_client-0.0.3.tar.gz 32.8 kB Without provenance Details for simple_sip_client-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-sip-client 0.0.3
File Interpreter ABI Platform Actions
simple_sip_client-0.0.3-py3-none-any.whl Python 3 none any Details for simple_sip_client-0.0.3-py3-none-any.whl

Total release size: 52.8 kB

Release files / simple_sip_client-0.0.3.tar.gz

Download URL simple_sip_client-0.0.3.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c56f8ff0a89f5995a0cd931089b2470c7d0e494693abfd332218a11dc2915cff
BLAKE2b-256 checksum
How to use checksums
7a5c1a3c984b92f279f9d728c6d7747162149c943a6eddc1e082a8d9b08032fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / simple_sip_client-0.0.3-py3-none-any.whl

Download URL simple_sip_client-0.0.3-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e47a616a861856373828b3ea23eb16d483d083bf6b1d042f0abeec870b00017
BLAKE2b-256 checksum
How to use checksums
fac90a8fefe83646cb3da184c23512df239dc75c86747b3ab94f49d811e6293c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for simple-sip-client 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page