Skip to content
pubscout

sip_ua

1.1.0, released 11 months ago by flutter-webrtc.org

SIP UA stack for Flutter and Dart, supporting audio/video calls and instant messaging.

$ flutter pub add sip_ua
Source repository

What it does

A pure Dart implementation of a SIP UA stack ported from JsSIP. It enables SIP over WebSocket and TCP, allowing Flutter mobile, desktop, and web apps to handle audio/video calls and instant messaging using standard SIP servers like Asterisk, FreeSWITCH, and OpenSIPS.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to build a VoIP client or softphone in Flutter with audio and video call support.
  • You are connecting to standard SIP servers like Asterisk, FreeSWITCH, or OpenSIPS.
  • You need cross-platform SIP support including iOS, Android, Web, macOS, Windows, and Linux.

Skip it when

  • Your SIP infrastructure strictly requires UDP for the signaling process.
  • You only need basic push notifications for incoming VoIP calls without a full SIP stack.

Strengths

  • Supports multiple platforms: iOS, Android, Web, macOS, Windows, and Linux.
  • Integrates with standard SIP servers (OpenSIPS, Kamailio, Asterisk, 3CX, FreeSWITCH).
  • Supports SIP over WebSocket and TCP as well as WebRTC-based audio/video streams.

Weaknesses

  • Does not support UDP connection options for signaling out of the box.
  • Requires proper PBX configuration for DTLS/SRTP and matching codecs to avoid WebRTC setup errors.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
12

Requires Proguard rules on Android and proper PBX server configuration for WebRTC (DTLS/SRTP and matching codecs like Opus or G.722).

// Register with SIP server example
SIPUAHelper _sipUaHelper = SIPUAHelper();
UaSettings settings = UaSettings();
settings.webSocketUrl = 'wss://sip.server.com';
settings.uri = 'sip:alice@sip.server.com';
settings.password = 'password';
_sipUaHelper.start(settings);

Alternatives

Packages that do the same job and could replace sip_ua.

Works with

Packages commonly used together with sip_ua: ones it builds on, ones built on it, and its own family.