Skip to content

Configuration Examples

Minh edited this page Nov 12, 2022 · 7 revisions

This tutorial focus on LibreSBC configuration only. The example demonstrate for scenario of receiving inbound call from Twilio to your PBX via LibreSBC, the configuration for revert direction (outbound call from your PBX to Twilio) would be similar.

example

Environment

Twilio

  • SIP IP addresses
  • RTP IP addresses
  • Codec:
  • Numbering Plan: E164+ ;eg: +6566123456 (send out)

PBX

  • SIP IP address: 10.10.10.20
  • RTP IP address: 10.10.10.20
  • Codec: G711A, G711U
  • Numbering Plan: E164 ;eg: 6566123456 (expect to receive)

LibreSBC

  • Eth1: 172.17.17.2 (1-to-1 NAT with WAN IP 1.2.3.4)
  • Eth2: 10.10.10.10

Configuration Step:

The configuration should follow the procedure on this page

  • Node
  • Net Alias
  • SIP Profile
  • Media Class
  • Capacity Class
  • Translation Class
  • Gateway
  • Outbound Interconnection
  • Routing
  • Inbound Interconnection