Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sergeant61/sipjs-udp-transport

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sergeant61/sipjs-udp-transport

Adds UDP transport to SIP.js

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by88.89%
Maintainers
1
Weekly downloads
 
Created
Source

Description

This custom transport class for sip.js provides UDP transport.

Usage Example

    const UDPTransport = require("@unwise-door/sipjs-udp-transport");

    const username = ''
    const password = ''
    const domain = 'example.com'
    const port = '1010'

    const uri = sipjs.UserAgent.makeURI(`sip:${username}@${domain}:${port}`)

    const userAgent = new sipjs.UserAgent({
      uri,
      authorizationUsername: username,
      authorizationPassword: password,
      transportConstructor: UDPTransport,
      transportOptions: {
        server: ..., // default 0.0.0.0
        port: ..., // default 5060
        asteriskPort: port, //
        asteriskDomain: domain,
      },
      ...
    });

Keywords

FAQs

Package last updated on 17 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc