Giter VIP home page Giter VIP logo

go-sip-ua's Introduction

go-sip-ua

SIP UA library for client/b2bua using golang

Features

  • Transports UDP/TCP/TLS/WS/WSS.
  • Simple pure Go SIP Client.
  • Simple pure Go B2BUA, support RFC8599, Google FCM/Apple PushKit.
  • RTP relay (UDP<-->UDP, WebRTC/ICE<->UDP)
  • WebRTC2SIP Gateway.

Running the examples

git clone https://github.com/cloudwebrtc/go-sip-ua
cd go-sip-ua

Client

# run client
go run examples/client/main.go

B2BUA

B2BUA is a minimal SIP call switch, it registers and calls, and supports UDP/TCP/TLS/WebSockets.

When you need a quick test for TLS/WSS, you can use mkcert to create a local self-signed certificate.

mkdir -p certs
mkcert -key-file certs/key.pem -cert-file certs/cert.pem  localhost 127.0.0.1 ::1 example.com

Run the mini b2bua.

# run b2bua
go run examples/b2bua/main.go -c

You can use dart-sip-ua or linphone or jssip to test call or registration, built-in test account 100~400

WebSocket: wss://127.0.0.1:5081
SIP URI: [email protected]
Authorization User: 100
Password: 100
Display Name: Flutter SIP Client

Dependencies

go-sip-ua's People

Contributors

cloudwebrtc avatar renovate-bot avatar renovate[bot] avatar dwagin avatar brnt avatar pieerepi avatar xcid avatar gaaf avatar danieldonoghue avatar suapapa avatar userad avatar chumvan avatar bean-du avatar lq277012525 avatar ikingye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.