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.

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 libelperiodic (if not installed)

pip install ElPeriodic

Install B2BUA

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 UAC side, and it will send a new call leg out its UAS 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.0.1.tar.gz (95.2 kB view hashes)

Uploaded Source

Supported by

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