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
SBC version 3.0.8-22
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.
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.
Navigate to the Sangoma Connect module i.e. Modules - > Admin - > Sangoma Connect  as shown below:
Â
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:
Once The above setting is done please Save and Apply the Confguration at PBX.
Now, Go to Extensions Module i.e.  Modules - > Applications - > Extensions as show below:
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
Â
Once Extension Configuration is done please Save and Apply the Configuration on PBX.
Â
SBC configurations
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.Â
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.Â
Â
Create a second SIP profile called Internal as shown below. Select the internal network interface and enter the internal IP and port number.
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.Â
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.Â
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.Â
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.
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.Â
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.Â
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
Â
Â
Â