Skip to main content

RFC3261 SIP Stack and Back-to-Back User Agent (B2BUA)

Project description

Build Status@GitHub

Sippy B2BUA

Sippy B2BUA is a RFC3261-compliant Session Initiation Protocol (SIP) stack and Back-to-back user agent (B2BUA).

The Sippy B2BUA is a SIP call controlling component. Unlike a SIP proxy server, which only maintains transaction state, the Sippy B2BUA maintains complete call state and participates in all call requests. For this reason it can perform number of functions that are not possible to implement using SIP proxy, such as for example accurate call accounting, pre-paid rating and billing, fail over call routing etc. Unlike PBX-type solutions such as Asterisk for example, the Sippy B2BUA doesn't perform any media relaying or processing, therefore it doesn't introduce any additional packet loss, delay or jitter into the media path.

News

  • Support for WebRTC clients has been added via RFC7118-compatible secure websocket (wss) interface. Combined with the functionality provided by the RTPProxy's dtls_gw and ice_lite modules allows building high-capacity WebRTC<->SIP gateways.

Features

  • 5,000-10,000 simultaneous sessions per server
  • 150-400 call setups/tear-downs per second
  • Real-time calls control and call data records (CDRs) generation
  • Optional ability to use Sippy RTPproxy for media relaying
  • Optional ability to perform Cisco-compatible RADIUS AAA (Authentication, Authorization and Accounting)
  • RFC3261 compliance
  • Seamless compatibility with majority of popular SIP software and hardware on the market today
  • Robustness and Resilience
  • Simple and clean, yet flexible, internal design making implementing new features and services easy
  • Sippy B2BUA could be easily combined with other Open Source software, such as SIP Express Router / OpenSIPS to build complete softswitch solution

Installation

Install latest stable version

pip install sippy

Install latest development version

pip install git+https://github.com/sippy/b2bua

Running

To get started, you can use the b2bua_simple implementation. The following example will cause the b2bua run in the foreground so you can see the SIP messaging. If you make a call to the IP address of your host machine, the b2bua will recieve the call on its UAS side, and it will send a new call leg out its UAC side to the IP address 192.168.1.1. It is expected that 192.168.1.1 is some sort of SIP switch or termination gateway.

b2bua_simple -f -n 192.168.1.1

Documentation

See documentation/documentation.md

Support us on Patreon!

Sippy B2BUA is available for use at the most liberal Open Source license there is and we promise to keep it this way. If you like our software, find it useful and want to support us moving it forward consider becoming a patron here Sippy Labs Patreon Page. In turn, we would give a priority to bugs and feature requests from our Patrons.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sippy-2.3.0.tar.gz (121.7 kB view details)

Uploaded Source

File details

Details for the file sippy-2.3.0.tar.gz.

File metadata

  • Download URL: sippy-2.3.0.tar.gz
  • Upload date:
  • Size: 121.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sippy-2.3.0.tar.gz
Algorithm Hash digest
SHA256 4bfa0439f6402090b5daf7277bbf6d2c545c8caf4cedee7b110d35bb97cda750
MD5 f2582c6e6ea173da202ab1b5a8444b60
BLAKE2b-256 80d0e917fca5a68a39d9e2da1a2aa2f0adff56b1c48c30a70e785e9008b16160

See more details on using hashes here.

Provenance

The following attestation bundles were made for sippy-2.3.0.tar.gz:

Publisher: python-wheels.yml on sippy/b2bua

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page