Skip to content

VueSipHeadless SIP/VoIP for Vue

A modern, type-safe Vue.js component library for building SIP/VoIP applications with WebRTC

Quick Start

Install VueSip in your Vue 3 project:

bash
npm install vuesip
# or
pnpm add vuesip
# or
yarn add vuesip

Start making calls in minutes:

vue
<script setup lang="ts">
import { useSipClient, useCallSession } from 'vuesip'

const { register, isRegistered } = useSipClient({
  uri: 'sip:user@example.com',
  password: 'your-password',
  server: 'wss://sip.example.com:7443'
})

const { call, answer, hangup, currentCall } = useCallSession()

// Register with SIP server
await register()

// Make a call
function makeCall(target: string) {
  call(target)
}
</script>

<template>
  <div v-if="isRegistered">
    <button @click="makeCall('sip:1234@example.com')">
      Call Extension 1234
    </button>
    <div v-if="currentCall">
      Call in progress...
      <button @click="hangup">Hang Up</button>
    </div>
  </div>
</template>

Why VueSip?

Headless Design means you control the UI completely. VueSip provides the business logic and state management for SIP/VoIP functionality, while you build the interface that matches your application's design system.

Production Ready with comprehensive error handling, automatic reconnection, call recovery, and performance optimization built-in.

Developer Friendly with TypeScript support, detailed documentation, working examples, and excellent debugging capabilities.

What Can You Build?

  • 📞 Softphones - Desktop or web-based SIP phones
  • 🏢 Business Phone Systems - Multi-line, transfer, conferencing
  • 📱 Click-to-Call - Add calling to web applications
  • 💼 Customer Support - Integrated calling in CRM/support tools
  • 🎮 WebRTC Applications - Gaming voice chat, remote collaboration
  • 📡 IoT Communication - Device-to-device calling

Key Features

Call Management

  • Outgoing and incoming calls
  • Call hold, resume, and transfer
  • DTMF tone generation
  • Multi-line support
  • Call history with persistence

Media Handling

  • Audio and video calls
  • Device enumeration and selection
  • Local media preview
  • Screen sharing
  • Audio/video quality controls

Advanced Capabilities

  • SIP presence and messaging
  • Real-time status updates
  • Typing indicators
  • Encrypted messaging
  • Custom SIP headers

Quality Assurance

  • Comprehensive error handling
  • Automatic reconnection
  • Network quality monitoring
  • Performance optimization
  • Security best practices

Learn More

Community & Support

License

VueSip is MIT licensed.

Released under the MIT License.