The following content only applies to FreePBX and PBXact platforms

SBC configuration for Sangoma Talk mobile

 

Overview

To setup Sangoma Talk through Sangoma SBC you need to do follow the below steps

Requirements

  1. SBC version 3.0.8-22

  2. Connect Module version 15.0.13/14.0.13 and above

Setup

 

PBX configurations

For UDP / TCP

Set the registrar address to SBC IP/domain name so that Sangoma connect can register through the SBC.

  1. Navigate to the Sangoma connect module -->Setting and set the Registration Address to SBC IP/Domain name and Default transport as UDP / TCP within Sangoma Connect Settings as provided below or on Extension as created on PBX

 

For TLS and SRTP

Set the registrar address to SBC IP/domain name so that Sangoma connect can register through the SBC.

  1. Navigate to the Sangoma Connect module i.e. Modules - > Admin - > Sangoma Connect  as shown below:

 

  1. Now, Once you get on to Sangoma Connect Module and set the Registration Address to SBC IP/Domain name and Default Transport to tls+sip: as present within
     Modules - > Admin - > Sangoma Connect - > Settings - > Sangoma Talk Mobile App as present within the General Section as shown below:

  1. Once The above setting is done please Save and Apply the Confguration at PBX.

  2. Now, Go to Extensions Module i.e.  Modules - > Applications - > Extensions as show below:

  3. Now, Once you get on to Extensions Module Edit the Extension which is configured on Sangoma Connect Module and make sure to change the Transport to Auto and Media Encryption to SRTP via in-SDP (recommended) for SRTP to be enable as present within Edit  Extension Section within Modules -> Applications - > Extensions - > <Configured Ext -no > - > Advanced as shown below:


Set Transport:

Set Media Encryption:

Important NOTE

> User Must Configure Transport to Auto for respective Extensions within the Extensions Module to make sure SBC work fine over TLS with Sangoma Connect.

> Don't Set Transport to TLS within the Extension Module as Transport at Extension Module overrides the Default Transport as present within the Sangoma Connect Module.

> SBC with Sangoma Connected over TLS is support on Sangoma Connection Module version 15.0.56.10 and after

 

  1. Once Extension Configuration is done please Save and Apply the Configuration on PBX.

 

SBC configurations

  1. Go to Configuration → Signalling → SIP Profiles and add a SIP Profile called External. Select the external facing network and enter the external IP and Port number. 

  2. In the NAT Traversal section set the options exactly as shown below. These fix all the problems NAT can cause. Since the remote phone can be behind any router, its important these are all enabled as shown below. 

    natinfo.png

     

  3. Create a second SIP profile called Internal as shown below. Select the internal network interface and enter the internal IP and port number.

  4. Go to Configuration → Signalling → SIP Trunks and create a new trunk called PBX. Set the Domain to the IP of the PBX, and then ensure the SIP Profile is set to Internal. Once done save the SIP trunk. 

  5. Next go to Configuration → Signalling → Domains and create a new domain. The Domain will be the public IP/FQDN of the SBC. Put the Domain into the Display Name as shown below. Then enable multiple registrations and  forward registration. Set the forward SIP profile to Internal. Then move the PBX trunk over to the used box as shown below. 

  6. Now that the domain is made, go to Configuration → Signalling → SIP Profiles → External and click the Bind button. A popup will come up, simply select the domain made in the previous step. 

  1. Go to Configuration → Routing → Call Routing and create a new Basic rule called Internal and then add a new rule as shown below. This rule will route the call from PBX to the sangoma connect.

  1. Go to Configuration → Routing → Call Routing and create a new Basic rule called External and add a new rule as shown below. This rule will route all call from Sangoma connect to the PBX. 

  1. Go to Configuration → Signalling → SIP Profiles and Modify the Internal SIP profile. Then on the following page click Edit. At this point scroll to the bottom and set the Routing Plan to Internal. 

  1. Go to Configuration → Signalling → SIP Profiles and Modify the External SIP profile. Then on the following page click Edit. At this point scroll to the bottom and set the Routing Plan to External. 

Limitations

     Video Call over TLS is not supported

 

 

 

Return to Documentation Home I Return to Sangoma Support