Setup Guide
FusionPBX, Freeswitch
This is a basic example of a FusionPBX/Freeswitch sip trunk xml configuration for Redspot. You usually create a file called redspot.xml in /usr/local/freeswitch/conf/sip_profiles/external/ with this content:
<include> <gateway name="redspot-outbound"> <param name="username" value="**yourphoneno**"/> <param name="password" value="**yourpassword**"/> <param name="realm" value="voice.redspot.dk"/> <param name="proxy" value="voice.redspot.dk"/> <param name="register" value="false"/> </gateway> <gateway name="redspot-inbound"> <param name="username" value="**yourphoneno**"/> <param name="password" value="**yourpassword**"/> <param name="realm" value="voice.redspot.dk"/> <param name="extension" value="1000"/> <param name="proxy" value="voice.redspot.dk"/> <param name="register-proxy" value="voice.redspot.dk"/> <param name="expire-seconds" value="**If you have a fixed IP address enter 3600. If not or if in doubt then enter 600**"/> </gateway> </include>
Where **yourphoneno** is your phone number (without countrycode).
Where **yourpassword** is your password from your welcome email.
Extension is where you want inbound calls from Redspot to go.
You also have to set up a dial plan for outbound calls to go through Redspot. Please check your FusionPBX/Freeswitch documentation.
Important safety information
PBXs are often exposed to hacking attempts. It is therefore particularly important to secure these!
General checklist
- Check that it is not possible to make calls via the PBX from the Internet without a password.
- Check that it is not possible to register on the PBX without a password.
- Check that there are no security holes in the dial plan so that it is possible for inbound calls to make outbound calls.
- Check that there is no access to the PBX configuration without a password and that the password is strong. This is especially important as the password for IP phone subscriptions often are stored unencrypted in the configuration files.
- Ensure that the firewall is set up correctly and does not open more ports than absolutely necessary. Limit any external SIP and voice traffic to Redspot servers only if practical.
- Make sure to update the software regularly, especially on server-based systems.
- Provide antivirus protection on server-based PBXs.
- Make sure to store your Redspot password in a safe way. Delete the welcome email as soon as you finish setting up the PBX.
Note that the checklist is indicative only and that it is ultimately your responsibility to secure your PBX!
Firewall settings
If you are using a firewall that requires you to open for VoIP traffic, you should allow (UDP) traffic to and from Redspot servers with these IP-adresses:
- 34.255.42.177
- 13.49.205.52