FreeSBC Configuration Files:SIP Trunking

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Modifying configuration file)
Line 6: Line 6:
  
 
==Prerequisites==
 
==Prerequisites==
[[FreeSBC|FreeSbc]] devices must be installed as described in their respective [[Product_Installation|installation guides]].
+
[[FreeSBC|FreeSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].
  
 
== Typical SIP Trunking Sample without NAT ==
 
== Typical SIP Trunking Sample without NAT ==

Revision as of 08:40, 15 March 2019


Introduction

FreeSBC Configuration Files for SIP Trunking Scenario Tutorial provides you with a scenario-based approach to configuring of FreeSbc systems, using sample configuration files. Complete general installation configuration steps, before you begin configuring your specific application.

Prerequisites

FreeSBC devices must be installed as described in their respective installation guides.

Typical SIP Trunking Sample without NAT

SIP-Trunk-sample-config.png

Typical SIP Trunking Sample with NAT

SIP-Trunk-sample-config-NAT.png

Modifying configuration file

You can download sample configuration for SIP Trunking scenario from below;

SIP Trunking Sample Configuration without NAT
SIP Trunking Sample Configuration with NAT

  • Open the json file with a text editor
  • Replace following parameters in the file
    • tbsbc with the hostname that you gave on installation stage
    • WAN_00_IP and LAN_00_IP with IP addresses
    • WAN_00_Subnet and LAN_00_Subnet with IP subnets
    • WAN_00_Gateway and LAN_00_Gateway with Gateway IP addresses
    • ITSP_Proxy_IP with SIP Trunk Service Provider IP address (2 addresses in the file)
    • Local_Proxy_IP with Local Proxy IP address (2 addresses in the file)
  • If you downloaded Remote Office/Workers Sample Configuration with NAT file please replace the following parameter too
    • NAT_IP_Address with your External IP
  • Save the file

Uploading and activating the sample configuration

  • You need to use an SFTP client to upload the configuration file to FreeSBC
  • After upload the file use following commands from CLI
  • For SIP Trunking Sample Configuration without NAT
 tbconfig -u root -p root -C /configurations SIP_Trunk_main_config.json name="main_config" -u root -p root
 tbconfig -U /systems/system_1/target_configuration="main_config"
  • For SIP Trunking Sample Configuration with NAT
 tbconfig -u root -p root -C /configurations SIP_Trunk_main_config_nat.json name="main_config" -u root -p root
 tbconfig -U /systems/system_1/target_configuration="main_config"
Personal tools