You are on page 1of 134

Lab 1: Out of Box Experience

LAB 1: Define WebGUI Admin


• Set up a FreePBX username and password for logging into
the WebGUI.
• Define the email address used to send module update
notifications.

38
LAB 1: Revisit WebGUI and Login
• Now visit the WebGUI by
pointing your web browser
to the IP address or FQDN.
http://<IP.Address>

• Click on FreePBX
Administration.

• Log in with the same


credentials you just created.

39
LAB 1: Activate Your Deployment
• From here, you’ll be welcomed to your FreePBX and
asked if you would like to activate your system. Press
the “Activate” button.
• If the system is bought from a Distributor you will be prompted to
transfer ownership

40
LAB 1: portal.sangoma.com
• Enter the email address that you already use for
the Sangoma Portal (portal.sangoma.com)
– Or one that you would like to set up.

41
LAB 1: Portal Account
• If you are an existing Portal user,
you’ll be asked to enter your Portal
password and continue.

• If you are not an existing


user, you’ll be asked to
enter your information.
Press the “Create” button
when done.

• Both will take you to complete Your


Account Information page
– Enter all relevant information

42
LAB 1: Registering Your Deployment
• For this Lab Environment:
– Go to “Existing Deployment”, the FreePBX box has already been activated; it will show what the
current Deployment ID is and let you change the ownership of this box by pressing the Activate
button

NOTE: New Installations from ISO, you will select “New Activation” and obtain a new
Deployment ID. The FreePBX must be connected to the Internet.

43
LAB 1: Special Offer
• Skip the Special Offer
option by pressing
“Complete” button, as
we will log into the portal
to get a special bundles
for our class.

44
LAB 1: Default Locales
• Sound Prompts Language - Select English
• System Language – Select English
• Timezone – Select America/Chicago
• Press Submit

45
LAB 1: Abort Firewall
• Press the “Abort”
button on the Firewall
as we are going to skip
setting up the firewall.
– There is a lab later

46
LAB 1: Skip SIPStation
• You will lastly be
prompted to sign up for a
SIPStation Free Trial
• Press “Not Now”, as you
can skip this step

47
FreePBX is Now Ready
• At this point the freely
available OOS FreePBX
is ready to go and is
operational

• But, you may want to


take advantage of
many Commercial
Modules

48
Lab 2: Obtaining Licenses
LAB 2: Overview
• We will now log in to the portal.sangoma.com and purchase a few modules we need.
– Everything Bundle and 20 User Zulu
• Use Discount Code SANGOMATRAINING, which will allow you to get these modules for free:

• Appointment Reminder • Park Pro


• Broadcast • Pinset Pro
• Call Recoding Report • Q Xact Reports
• Caller ID Management • Restful Phone Apps
• Class of Service • System Admin Pro
• Conference Pro • UCP for EPM
• Extension Routing • VM Notify
• End Point Manager • Voicemail Reports
• Fax Pro • VQ Plus
• Outbound Call Limits • Web Call Me
• Page Pro • XMPP

50
LAB 2: portal.sangoma.com
• Log in to
https://portal.sangoma.com

51
LAB 2: Portal Store
• Click on the “Store”
at the side

52
LAB 2: Purchase Software Bundles
• Click on FreePBX Software
• On the left side click on Software Bundles

53
LAB 2: Add - FreePBX-CM-Everything Builder
• Find the following bundle
– FreePBX-CM-Everything Builder

• Press the “Add” icon to add the item


to your Shopping Cart.

54
LAB 2: Purchase Zulu
• Under the same FreePBX Software,
on the left side click on Zulu UC

55
LAB 2: Add - FreePBX Zulu 20 User 1 Year Lic
• Find the following bundle
– FreePBX Zulu 20 User 1 Year Licenses

• Press the “Add” icon to add the


item to your Shopping Cart.

56
LAB 2: Shopping Cart
• Wave your mouse over
the Shopping Cart
• Press the “Checkout”
button once you have
the completed

57
LAB 2: ID & Discount Code
• Enter the Deployment ID number
from the dropdown next to the
bundle item.
– This should be the deployment
number that was generated earlier
and can be found in the System
Admin module on your PBX under
Activation section.
• Use the Discount code of
SANGOMATRAINING to purchase
the products with no need for
payment.
• Press the “Redeem” button to
apply the discount code.

58
LAB 2: Payment and Process Order
• Select “Check” as your payment
type
• Check to Agree to the terms and
conditions
• Press the “Process Order”
button

59
LAB 2: Order Completed Successfully

60
LAB 2: Update Activation
• Go into the Admin - System Admin module in FreePBX.

• Under “Activation,” press the “Update Activation” button


to have it reach to our license server and update the
license with the new modules you just bought.

61
LAB 2: Licenses Installed
• You should now see a
“License Expiration”
and a
• “Update Expiration”
date for your new
modules.

62
UPDATE ALL FREEPBX
MODULES

63
Overview
• FreePBX being an OSS, releases new Modules on a
weekly basis for Bug Fixes and minor feature upgrades
within a main release such as FreePBX 13.

• In a OSS environment, it’s a good concept to have a


development platform that you keep updated at all
times to test new features and bug fixes before
pushing them to production environments.

64
Lab 3: Updating Modules
LAB 3: Module Admin – Std and Commercial
• Navigate to Module Admin section of your
FreePBX
(remember to use the Search Bar, if you can’t find it)

• Verify the Standard and Commercial repos


are enabled

66
LAB 3: Check and Prepare the Update
• Press “Check Online” button
– A list of all modules that have updates available are shown.
• To prepare the FreePBX to upgrade all modules press
the “Upgrade All” button. – it does not execute an
update

67
LAB 3: Process and Check for Dependencies
• Press Process button

• Errors in Dependencies
– A list of all modules
being updated will
be shown along with
any modules that
can not be updated
until dependency
modules are
installed or updated
first.

68
LAB 3: Confirm based on Dependencies
• Scroll down and press the
“Confirm” button

• A status screen will pop up and


when all updates are done press
the “Return” button

69
LAB 3: Update Again Remaining Dependencies
• Go through the steps again and make sure no
other modules need to be updated.
– Check Online
– Upgrade All
– Process
– Confirm
– Return
• Keep going until everything is updated

70
Alternate – CLI Update Modules
• Another way to keep FreePBX modules updated is
from the Linux CLI.
• From the CLI running fwconsole ma upgradeall
– Benefit is it will handle all upgrading for you.

71
SYSTEM ADMIN

72
Overview
• System Admin is to provide you with common
Linux Admin task into the GUI to minimize how
often you need to use a Linux Shell through a SSH
client.

• Some minor actions may still need to be done


from the Linux Shell - so you get a SSH client
setup.

73
System Admin Options
Set up the following options in the System Admin module in the FreePBX GUI:

• DNS – DNS Server list


• DDNS – Dynamic custom FQDN that is updated with your IP address and always resolves to your PBX. Think DYN DNS
type service.
• Intrusion Detection – Detect attempts to hack into your PBX and block the offender
• Hostname – Set a friendly hostname for this PBX
• Notifications – Central place to define email addresses to send notifications to for different notices and notifications
from your PBX.
• Port Management – You can define separate ports for things like the User Control Panel or HTTP Phone provisioning
so you can open access through a firewall only for UCP and HTTP Provisioning but not FreePBX Admin.
• PnP Configuration - This enables the Zero-Touch PnP Service, for use with Sangoma Phones. The PnP service allows
you to automatically configure any Sangoma phone that is on the same network as this server, without needing to
configure any other services (such as DHCP).
• HTTPS Setup – Setup your PBX to use HTTPS instead of standard HTTP.
• Time Zone – Setup your time zone of your PBX.
• Storage – Enter an e-mail address for hard drive fill-up / failure notifications
• VPN Server – Setup your PBX to act as a VPN server and create clients that can connect to the PBX using a VPN client.

74
Lab 4: System Admin
LAB 4: System Admin
• Go to the System Admin module in
the FreePBX GUI:

76
LAB 4: DNS Server List
• Click the DNS section

• The Server list should start with 127.0.0.1, then any


DNS server after. Press Submit

77
LAB 4: DDNS – Detecting External IP
• Click the DDNS section

• The module will display what External IP address it detected


your FreePBX is using and show your what FQDN you can use to
connect to your FreePBX. The FQDN is your Deployment ID plus
the deployments.pbxact.com

78
LAB 4: Enable DDNS
• Enable DDNS Services

– IF the IP address we are detecting is not correct you can override the IP address and hard
set it.

• Set Update Interval to be 15 minutes.

– IF your FreePBX is on a static IP you can set this to be once per hour versus every 15
minutes to slow down how often it updates our servers with your IP Address.

• Press Submit Should it appear - Press Apply Config

79
LAB 4: Start IDS
• Click the Intrusion Detection section

• Start the service to have it start detecting and blocking hack attempts

• Define the email address to send notifications to anytime a hack


attempt is detected and blocked

80
LAB 4: IDS Thresholds
• Define different thresholds
– Ban Time
• When detecting a hack attempt how long do we ban the
offending IP address for in seconds. Default is 1800 seconds (30
mins)
– Max Retry
• How many times a IP address can fail to login to the PBX, UCP,
Asterisk AMI, SSH or Register a phone before we consider it a
hack attempt and block the offending IP address.
– Find Time
• How long in seconds do we look back to see if a offending IP
address has exceeded the Max Retry to determine if we need to
ban them.

• Recap- If a user attempted to register a phone and failed


to authenticate 8 or more times in the past 10 minutes
the IP Address would be banned for 30 minutes

81
LAB 4: IDS Whitelist
• Whitelist – Here you can define networks or IP addresses that should
never be banned. Always leave the localhost of 127.0.0.1 in this list
and also include your local subnet is highly recommended.
– For our class lets whitelist 10.4.2.0/24

• Banned IP’s- Here we will list any currently banned IP addresses. To


clear a banned IP you need to stop and restart the Intrusion Detection
Service.

82
LAB 4: Notifications
• Click the Notifications Settings section

• Define a from email address that emails coming from your PBX
should appear to be coming from.

83
LAB 4: Notifications
• Define email address to send different notifications to.

• Most emails defined here can also be defined in individual module


sections such as Intrusion Detection Notifications you will see is filled
out from what you defined already. This is just a central place to see
and update any of the email addresses in one place.

• Safe Asterisk will send you a email if asterisk ever crashes.

84
LAB 4: Port Management
• Click the Port Management
section

• Define Ports for specific PBX


services such as Admin GUI,
UCP, HTTP Provisioning and
Phone Apps

85
LAB 4: PnP Configuration
• This enables the Zero-Touch PnP Service, for
use with Sangoma Phones

• Click the PnP Configuration section

• Disable the PnP Server

• Press the Submit button when done

86
LAB 4: Time Zone
• Click the Time Zone section

• Set what Time Zone the FreePBX should use

• Press the Submit button when done.


– IF you change the Time Zone – Reboot your FreePBX
– Select Power Options and Reboot

87
LAB 4: Storage
• Click the Storage section

• From here you can view how much of the Hard


Drives are in use and if software raid is configured
that your Raid is healthy and ok.

88
LAB 4: Storage Notification
• We can set a email address to be notified of a Raid Failure and also when our drives are
getting full. A email notice will be sent when the drives hit 75% full and 90% full.

• Press Submit when done.

• The email address defined above will also be shown in the Notifications Section of System
Admin.

89
LAB 4: VPN Server
• Click the VPN Server section

• Go to the Settings section, to setup the VPN Server,


and before any Clients are created.

90
LAB 4: VPN Server Settings
• Set YES for the Service to be Enabled. This will start the service
when we submit this page and set it so when the server reboots
it will also start on boot.

• Now we need to define the IP Address subnet range we want to


use for the VPN Server and Clients that will connect. By default
the 10.8.0.0 should work for most users unless this subnet
conflicts with a subnet you use on your network already.

91
LAB 4: VPN Server Settings
• Generally you will leave the Redirect Gateway to No.
Turning this on makes it so all clients will send all of
their internet traffic across the VPN to the PBX and the
BX will prosy al of this traffic out. Leaving this off will
only send the 10.8.0.0 traffic across the VPN.

• Press Submit when done. Save & Apply

92
VPN Clients
• From here we could create VPN clients but the faster way to
create clients is to have them auto created from User
Management as creating a client here would still require us to
link that client to a User from within User Management.

• We will setup clients in a later lab when we go through User


Management module

93
SYSTEM ADMIN
DISTRO UPDATES

94
Overview
• Available with System Admin Pro – Commercial Module

• System Admin – Updates provides upgrade scripts officially


released to update an existing FreePBX Distros (example
10.13.66 system) to a specific minor release version.
– stays within Distro, 10.13.66-16 and upgrades to 10.13.66.19

• The scripts will update the entire distribution, including all


FreePBX web components and all OS-level components; such as
the kernel and kernel modules, Apache, Asterisk, OS Security
Vulnerabilities and plenty more.

95
Overview
• All upgrades need to be installed in numeric ascending order. Do not
skip any upgrade step. Upgrade scripts are not cumulative. Each
upgrade script should be run in ascending order to get to the desired
final version.
– 66-16 upgrades to 66-17, then 66-18, then 66-19 and so on.

• The upgrade path is one-way. These scripts cannot be used to


downgrade the version of FreePBX Distro to an earlier version. The
only way to reverse the effects of the upgrade procedure is to restore
the system from a backup

• Service interruption is expected. Asterisk may be restarted, device


might reboot.

96
System Admin - Updates
• Within System Admin
is a section called
Updates

97
System Admin - Updates
• When ready to
update the Distro –
press Update Now

98
System Admin - Updates
• FreePBX begins to download and install

• Until it finally completes

99
SSH CLIENT

100
Lab 5: SSH Client
LAB 5: Install SSH Client
• Windows systems should download Putty if not
already installed.
– You can download it from http://www.putty.org/
– Put it on your desktop or somewhere convenient.

• For Mac:
– Applications -> Utilities -> Terminal

102
LAB 5: Setup Putty
• Start Putty (or
equivalent)
• Enter your FreePBX IP
address
• Click Open

103
LAB 5: Access CLI on FreePBX
• Login as:
root
sangoma

• This is different than


the WebGUI login

104
SETUP OF EXTENSIONS

105
Overview
• Create 3 SIP Extensions using the Quick Create

• Download and Set Up a Softphone

• Dial Echo Test

106
Lab 6: Quick Create
Extensions
LAB 6: Extension Module
• Navigate to the Extension Module in FreePBX

• Quick Create 3 Extensions


– 2 for your Desk Phone
– 1 for your Softphone

• Repeat Quick Create Extension 3 times to make


setting up extensions quick and easy.

108
LAB 6: Quick Create Extension
• Select - Chan_SIP

• Enter an Extension Number (4 Digits Long)

• Give a Display Name (Name will show up on


the phone)

• Optionally set the outbound Caller ID that will


be used for this extension when making a outbound
call.
– For our lab DO NOT set a OUTBOUND CALLER ID as we
will be doing it later.

• Provide real Email Address for this extension. Email


Address will be used for things such as Fax to Email,
Voicemail to Email, Resetting Passwords for login to
UCP and other items.

109
LAB 6: Quick Create Extension
• Select YES for Find Me/Follow Me.

• Select YES for Create User Manager User.


– This will create a user for this extension that will be
used for logging into things such as the User Control
Panel, Chat Client, Softphones, Operator Panels and
lots of other settings that we will cover later. The
password will be emailed to you with the email you
provided in step 1.

• User Manager Groups, ensure that “All Users” is


included for this user to inherit its permissions from.
– A single user can belong to 1 or more permissions
groups.

• Select YES for Enable Voicemail set to user


• Provide a voicemail Password/PIN. ex - 1234

110
LAB 6: Install X-Lite
• Download X-Lite if you do not have it already.
– http://www.counterpath.com/x-lite-download/
– You can also use any Softphone you may have already.

111
LAB 6: Setup X-Lite on Windows
• Set up X-Lite with one of the
extensions you created
– User ID = Extension Number
– Domain = FreePBX IP Address:5160
• CHAN_SIP uses Port 5160
– Password = FreePBX Extension Secret
• You can find with Edit Extension

– Display Name = Display Name


– Authorization Name = Extension Number

112
LAB 6: Setup X-Lite on MAC OSX
• Set up X-Lite with one of the
extensions you created
– User ID = Extension Number
– Domain = FreePBX IP Address:5160
• CHAN_SIP uses Port 5160
– Password = FreePBX Extension Secret
• You can find with Edit Extension

– Display Name = Display Name


– Authorization Name = Extension
Number

113
LAB 6: Echo Test & Voicemail
• Use Echo Test feature code.
– Go to Feature Codes module to get the “Echo Test” feature code.
– From Softphone dial the “Echo Test” feature code and verify calling
ability and ensure you have 2-way audio.

• Setup Voicemail
– Go to Feature Codes module to get the “My Voicemail” feature
code.
– From Softphone dial the “My Voicemail” and setup the voicemail
box.

114
END POINT MANAGER

115
Overview
• We are now going to go into the End Point Manager
(EPM) module in FreePBX to set up our Desk Phones.

• EPM is a commercial module used to set up and


manage phone configs for over 25 manufacturers. It
supports over 250 devices.

• We are going to just go over the basics here and get


your Sangoma Desk Phone set up.

• Navigate to your End Point Manager module under the


Settings section.

116
LAB 7: End Point Manager
LAB 7: EPM Global Settings
• Click on “Global Settings” at the top.
• Define the IP address of your FreePBX under the Internal Address section.

Enable the XML-API Login Option. This will allow us to use hot desking login
for new phones

• Press the Save Global button when done.

118
LAB 7: Phone Admin Password
• Take note of the Admin password. By default its
set to 222222 this will now become the admin
password for all phones using EPM.
– Best Practice – change this password
• You can change this to be any 6 or more digits
long.

119
LAB 7: Firmware Management
• Next we are going to make sure
we have the latest firmware on
the FreePBX for our Sangoma
Phones.

• From within EPM click on the


Firmware Management

120
LAB 7: Select Firmware
• Click on the Sangoma brand

• Under Available Fireware, (left) select


the Latest firmware (bottom), and Drag
and Drop into Firmware Slot 1

• Press the Submit Query button.

121
LAB 7: Templates
• Under Brands – Select the
Sangoma template
– This is created by EPM on install

122
LAB 7: Edit Sangoma Template
• Click on the template name of sangoma_default
to edit it

123
LAB 7: Verify Internal IP is in Use
• Verify the SIP Destination Address is using the
Internal IP address we just setup in Global Settings
of EPM

124
LAB 7: Select Firmware Slot
• Select Firmware Slot 1 for the phone to use

• Select Save and Press Apply

125
LAB 7: Options
• Under Options tab

• Enable Label Scrolling- Any button names that are longer then the 9 character
limit will scroll across your screen so you can read the full name of the button

• Enable Contact Photos- On inbound calls the phone will look up the Caller ID
number and if it finds that number in the contact module with a picture
uploaded it will show the picture for that call.

126
LAB 7: Phone Models
• Global Key assignment per Model
• We are now going to set up some buttons on your
S700 Desk Phones. Select the S700 model number
from inside the Template under the Models tab.

127
LAB 7: S700 Line Keys
• Set up Line Keys 1 thru 3 a Line Keys
– Type: Line
– Account: Account 1

128
LAB 7: BLF Key
• Set up a Free Line Key to be a BLF to your S300 Phone
– Type: BLF
– Label: S300 or whatever name you want
– Value: S300 Extension Number

– Click “Save Model.”

129
LAB 7: Save and Rebuild Config
• Pick the Save and Rebuild Configs option from the
drop down and press the Apply button.

130
MAPPING PHONES TO
FREEPBX

131
Overview
We have two ways we can map a phone to use a template.

• Manual Mapping
– Map each Phone Mac address to a specific extension and template from Extension Mapping
section of EPM
– More time consuming.
– Need to know the MAC Address of each phone and which user/extension will use that phone
– Supported for all phones that EPM supports

• Login/HotDesking
– Allow the phone to login and pull its template automatically.
– No pre-setup needed
– Set a phone at the desk and when it boots login as the user.
– Only supported with Sangoma Phones

132
Manual Mapping
• Select Extension Mapping section of EPM

• Press the Add Extension button

133
Extension Mapping
• Extension - What extension on the system we want to map
• Brand - What phone brand this extension will be using
• Template - What template we will use to build the phone config
• MAC Address - The MAC Address of this phone
• Model - The model of this phone

134
Build the Config with the MAC Address
• Pick the Save and Rebuild Config(s) option

• Press the “Use Selected” button at the bottom of


the page, and EPM will write out the configuration
files for this device.

135
Login/HotDesking
• Verify you have a default internal or external template setup. This is done in
the Template Section of EPM. A single Template can be Default Internal,
Default External or both.
– Internal Default- This is the template that will be used when a user presses the Login
Internal option on their phone.
• Usually setup for users on the local network of the PBX
– External Default- This is the template that will be used when a user presses the Login
External option on their phone.
• Usually setup for users who are remote from the PBX.

136
Internal & External Login
• In Global Settings of EPM you define the
External and Internal IP. If both are defined a
phone will be presented with both the Login Int
and Login Ext.
• If you only define only a External or Internal IP
in Global Settings then you phone will only
present you with the Internal or External Login
option.
• When logging in with External or Internal the
system will apply the template you have
defined as the default for Internal or External
depending on which button is pressed.

137
LAB 8: Mapping Phones to
FreePBX
LAB 8: Setup S400 with Manual Mapping
• Setup your S400 using the Manual Mapping by going to Extension
Mapping inside EPM and defining the following information
– Extension – Pick your S400 extension you setup earlier.
– Brand – Pick Sangoma
– Template – Pick the sangoma_default template
– MAC Address - The MAC Address of this phone
– Model – S400

139
LAB 8: Setup S700 with Hot Desking
• Go to your sangoma_default template in EPM and
verify you have it setup as your internal and/or
external default template.

• Save and Rebuild your Configs

140
DIRECTING PHONES TO
FREEPBX

141
Overview
• At this point we have the FreePBX all ready to configure
our phones both manually and with the automatic hot
desking.
• We now need to tell the Sangoma Phones how to reach
the FreePBX to receive its configuration or allow for login.
• There are 3 ways we can accomplish this
1. Manually configure each phone how to reach the PBX for
configurations
2. Setup a network with DHCP option 66.
3. Sangoma Zero Touch Redirect Server

142
Manually Configuring Each Phone
• Manually configure each phone how to reach the
PBX for configurations
– Pros
• Allows full control on each phone where it should connect to
the PBX.
• Does not require access to DHCP server or router
– Cons
• Requires manual setup and touching every phone
• On a Factory Reset settings will be lost.

143
DHCP Option 66
• Setup a network with DHCP option 66.
– Pros
• Great for local phones and for simple networks where all phones have to connect
to the same PBX.
• On a Factory Reset of phones it will still receive the Option 66 Redirect
• Does not require the manually touching or configurations on phones
– Cons
• Can only set a single option 66 on a network so if option 66 is being used for other
services like IP Cameras then you cant also use it for your PBX and Phones
• Requires the DHCP server to allow for option 66 and access to the DHCP server.
• Requires understanding of Network Setup and DHCP Servers
• Most remote phones wont have access to a option 66 network.

144
Sangoma Zero Touch Redirect Server
• Sangoma Zero Touch Redirect Server
– Pros
• Works on any Network regardless if phone is local or remote
• On a Factory Reset of phones it will contact the redirect server again
• Does not require the manually touching or configurations on phones
• Allows on a per device basis to tell the phone what IP address it should
reach out to for configuration.
– Cons
• Have to setup each phone inside the Sangoma Portal where it should find
its PBX at.
• Phone has to have access to internet to reach redirect server when it
boots up from the factory

145
LAB 9: Manual Phone Setup
LAB 9: Manual Setup of S300
• Press the Menu Button on your S300 phones

• Use the down arrow buttons to highlight the Setting option, then press
the Enter button

147
LAB 9: Manual Setup of S300
• Highlight the Advanced Setting option and press the Enter
button.

• You will then be prompted to enter the password for this device.
By default, the password is admin. Use the phone's keypad to
enter the password, then press the Enter button.

148
LAB 9: Manual Setup of S300
• From here highlight the Auto Provision option and
press the Enter button.

• Set upgrade mode to be TFTP

149
LAB 9: Manual Setup of S300
• Then arrow down to Config Server. Enter the configuration server IP
address of your FreePBX. When you are done editing this field, press
the Save button.
– Use the * key for periods

• Reboot phone and it should pull its configuration file.

150
LAB 9: Manual Setup of S400
• Press the Menu Button on your S400 phones

• Use the down arrow buttons to highlight


the Setting option, then press the Enter button

151
LAB 9: Manual Setup of S400
• Highlight the Advanced Setting option and press the Enter button.

• You will then be prompted to enter the password for this device. By
default, the password is admin. Use the phone's keypad to enter the
password, then press the Enter button.

152
LAB 9: Manual Setup of S400
• From here highlight the Auto Provision option and
press the Enter button.

• Set upgrade mode to be TFTP

153
LAB 9: Manual Setup of S400
• Then arrow down to Config Server. Enter the configuration server IP
address of your PBX. When you are done editing this field, press
the Save button.
– Use the * key for periods

• Reboot phone and it should pull its configuration file.

154
LAB 9: Manual Setup of S500
• Press the Menu button on your S500 Phone

• Use the arrow buttons to highlight


the Status option, then press the Enter button

155
LAB 9: Manual Setup of S500
• Highlight the Information option and press
the Enter button again.

• From here, the IP Address for this device will


display.

156
LAB 9: Manual Setup of S500
• Enter the IP Address of the device into a local
web browser. When prompted, enter admin as
the user name. The password, by default, is
also admin. Click the OK button to continue.

• From the homepage of the GUI, click


on Management from the options at the top.
Then click on Auto Provision from the dropdown
menu.

157
LAB 9: Manual Setup of S500
• From here, you can toggle the Upgrade Mode buttons and edit
the Config Server Path field.
– Set Upgrade Mode to TFTP
– Config Server Path tftp://<FreePBX IP Address>

• Press the SaveSet button at the bottom of the page

158
LAB 9: Manual Setup of S500
• When you are finished, press the Autoprovision
Now button toward the top of the page you are
on and the phone will reach out to the FreePBX
and grab its config file.

159
LAB 10: Zero Touch Phone
Setup
LAB 10: Setup S700 With Zero Touch
• From within the Sangoma Portal
at https://portal.sangoma.com click on the
Products > Sangoma Phones > Register

161
LAB 10: Setup S700 With Zero Touch
• Provide the Phones MAC address and press the
submit button

162
LAB 10: Setup S700 With Zero Touch
• Redirection Enabled- Enable the redirect server to
point phone configuration request to the below
destination.
• Redirection Type
– IP/FQDN Type – IP/FQDN is the only available type
– IP/FQDN Protocol – Options are HTTP, HTTPS, FTP and TFTP.
Select TFTP for this lab
• To find what port your FreePBX is setup for HTTP provisioning
go to EPM and under Global Settings you will see HTTP
provisioning Port. This port can be changed in the System
Admin module in FreePBX under the Port Management Section.
• Default for FreePBX is port 83
– IP/FQDN Address - Provide a IP Address or FQDN to redirect
all provisioning requests from this MAC address to along
with the port that you have setup for HTTP Provisioning.

163
LAB 10: Setup S700 With Zero Touch
• Press Submit when done

• Reboot your phone. It will now reach out to our Redirect Server
and told to contact your FreePBX at the IP address or FQDN you
provided.

• Since we did not setup EPM with this MAC Address in Extension
Mapping it will prompt your to login with your extension and
voicemail password.

164
LAB 10: S700 Login/HotDesking
• You will be presented with the Login option of
either Internal, External or both depending on
what you setup in Global Settings of EPM for IP
Addresses.

• Press your Login Int button

165
LAB 10: S700 Login/HotDesking
• Provide the Extension Number your
want this phone to be and the
Voicemail Password. Then press
Done.
• The phone will take a few seconds
and apply the default template and
register without a reboot.
• Hint you can also login with the EPM
Global Admin password which by
default is 222222

166
LAB 10: Making Calls
• You should now be able to call between your two Sangoma
Phones and the Soft Phone
• If you call from your S400 to your softphone you should see the
BLF button your S700 phone light up for the S400 extension.
– While the S400 is ringing you can press the BLF button on your S700 to
intercept the call
• Go back into EPM and under your template modify your S700
model and enable audio and visual alerts for the S400 BLF and
have it save and update your phone.
– Now call your S400 from your softphone again and see the notice on
your S700 including Caller ID of who is calling the S400.

167
ASTERISK SIP SETTINGS

168
Overview
• The SIP Settings module is where we define global
SIP options for Asterisk.

• Since our PBX’s are behind a firewall and we are


going to be using a SIP trunk we need to setup our
Nat for Asterisk or we would have 1 way audio
problems.

169
Detect Network Settings
• The Network settings that are used for SIP are
under the General Settings Section.

• We will use the Detect Network Settings option


which will detect what our external IP address is
and the internal subnet that we are using.

170

You might also like