You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation of Asterisk and FreePBX GUI on Raspberry Pi
9
8
10
9
- "[Asterisk](https://www.asterisk.org/)" is a PBX communication server
@@ -17,7 +16,9 @@ So... this repository intends to document the process of creating an up-to-date
17
16
- FreePBX 17 (2024-08-02)
18
17
- Rasp Pi OS, Debian 12 Bookworm (2024-11-19)
19
18
20
-
This is based on snippets from various sources, primarily https://www.dslreports.com/forum/r30661088-PBX-FreePBX-for-the-Raspberry-Pi .
19
+
This guide is based on my own experience combined with snippets from various sources, primarily https://www.dslreports.com/forum/r30661088-PBX-FreePBX-for-the-Raspberry-Pi .
20
+
21
+
# Installation
21
22
22
23
## 1.) Install Raspberry Pi OS (20mins)
23
24
- a.) Download the latest OS image from https://www.raspberrypi.com/software/operating-systems/ . I'm using [2024-11-19-raspios-bookworm-arm64-lite.img.xz](https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-11-19/2024-11-19-raspios-bookworm-arm64-lite.img.xz)
e with the message `FreePBX Installation Complete`
137
+
- c.) Go to Asterisk - SIP Settings and click **Detect Network Settings**. Ensure that this fills in the Local Networks address (failure to do this will mean that any call will be cut-off after 30 seconds)
- d.) **IMPORTANT** to save changes, click both the Submit button AND the Apply Config button!
134
140
135
141
## 9.) Create Extensions
142
+
An “extension” is the name for any destination on the Asterisk phone network – it defines the number that is dialled to call a physical telephone, a “virtual” software telephone, or access a “feature” service (like the speaking clock or an automated message line). Every number that you want players to be able to dial a number and have something happen needs to have an associated extension.
143
+
To create a new extension associated with a telephone, perform the following steps:
136
144
- a.) Go Connectivity->Extensions
137
145
- b.) Add Extension + Add New SIP [chan_pjsip] Extension
138
146
- c.) There are several options, but only three are required:
@@ -145,3 +153,32 @@ Display Name: Handset
145
153
Secret: 82f5d5f5e4410fc003bd4c120bb06b6c
146
154
```
147
155
- d.) **IMPORTANT** to save changes, click both the Submit button AND the Apply Config button!
156
+
157
+
# Connecting a Phone Handset to an Extension
158
+
To connect a regular analog phone to the network requires a VoIP phone adaptor. This section explains how to configure the Linksys PAP2T device to map the handset plugged into Line 1 to the extension created in the previous section. Note that if you use a different ATA your settings may differ slightly, but the general approach should remain the same.
159
+
- a.) Open a web browser and navigate to the web interface for your ATA device.
160
+
- b.) Log on to the management screen (click the Admin Login link at the top right of the page), and click on the Line 1 tab to configure the device plugged into Line 1.
161
+
- c.) Change the following settings:
162
+
-**Proxy**: This should be set to the static IP address assigned to your Raspberry Pi running Asterisk. E.g. 192.168.1.33.
163
+
-**Display Name**: This should match the “_Display Name_” set in the FreePBX extension configuration in the previous section.
164
+
-**User ID**: This should match the “_User Extension_” set in the FreePBX extension
165
+
-**Password**: This should match the “_Secret_” set in the FreePBX extension
You can also make and receive calls using a software client mapped to an extension. I’m using the free program MicroSIP to simulate a VOIP phone on my PC.
171
+
- a.) Download MicroSIP from https://www.microsip.org/
172
+
- b.) Set up account information as follows:
173
+
-**Account Name**: This should match the “_Display Name_” set in the FreePBX extension
174
+
-**SIP Server** and **SIP Proxy**: These should both be set to the static IP address assigned to your Raspberry Pi running Asterisk. E.g. 192.168.1.33.
175
+
-**Username**: This should match the “_User Extension_” set in the FreePBX extension
176
+
-**Domain**: This should be set to `localhost`
177
+
-**Password**: This should match the “_Secret_” set in the FreePBX extension
178
+
-
179
+
- Setup the connection information as shown in Figure 8.
180
+
As when setting up the ATA in the previous section, the Username and Password must match the Extension and Secret set up in Asterisk
181
+
The SIP Server and SIP Proxy should be the IP address assigned to the Raspberry Pi that is running Asterisk.
0 commit comments