Documentation

Chat

  • Getting Started
  • Installation
  • Core Concepts
  • Escalation System
  • Widget Keys
  • Secret Keys (sk_)
  • REST API
  • Channels & Integrations
  • Messaging Platform API

Voice

  • Voice Agent
  • Setup Guide
  • Phone Numbers
  • Outbound Campaigns

Platform

  • Billing & Pricing
  • Glossary
  • FAQ

SIP Trunk

Telephony

A virtual phone line that connects your voice agent to the public telephone network (PSTN) via the Session Initiation Protocol.

A SIP trunk is a virtual connection between your organization and the Public Switched Telephone Network (PSTN). It uses the Session Initiation Protocol to establish, manage, and terminate voice calls over the internet — replacing traditional phone lines.


How SIP trunking works in Sampan

The following diagram shows the call flow for an inbound call:

Caller (PSTN)

→

SIP Provider

→

SIP Bridge

→

Call Room

→

AI Agent

Your SIP provider receives the call from the phone network, converts it to SIP, and forwards it to Sampan's voice infrastructure. A call session is created and your AI agent joins to handle the call.


Key components
Inbound Trunk

Receives calls from the PSTN and routes them to your agent

Outbound Trunk

Sends calls from your agent to the PSTN (campaigns, transfers)

Dispatch Rule

Routes incoming calls to the correct session based on the number called


Connection types
  • Provisioned — Sampan manages the trunk. Easiest setup.

  • BYOC — Bring Your Own Carrier. Configure your existing trunk.

  • Forwarding — Forward calls from your carrier to a Sampan number.

Ready to transform your customer experience?

Join businesses already using Sampan to serve customers 24/7 and boost revenue with AI.

sampan.club

AI-powered customer service for businesses.

SAMPAN TECH
202603046389 (003825593-A)

Product

© 2026 SAMPAN TECH, trading as Sampan Club (sampan.club). All rights reserved.