Los Angeles
Select automatically
New York
Moscow
Is your city Los Angeles?
Search
Order a call

Configuring Telephony in FreePBX: Creating Extensions and Routes

19.12.2024
#Debian
#FreePBX
#Linux
#Server
#VoIP

The second part will cover configuring telephony.

First, we create an extension. To do this, go to Connectivity - Extensions.

pic1.png

Click on Quick Create Extension.

pic2.png

Fill in the Quick Create Extension, for example, number 101 and Display Name — e.g., Test, and click Next. On the second screen, leave the settings as they are, then click Finish.

After making all changes, remember to apply them by clicking Apply, and it's recommended to reboot the server.

Next, we need to create a Trunk.

To do this, go to Connectivity - Trunks and add a new trunk by selecting Add SIP [chan_pjsip] Trunk.

pic3.png

Fill in the fields:
Trunk Name — the provider's name who supplies telephony services.
Outbound CallerID — the number provided by the provider, e.g., +17477744441.

Then go to the Settings tab.

pic4.png

Fill in the connection details provided by the provider:
Username — the user's login.
Secret — the password.
SIP Server — the connection server.
SIP Server Port — the port, default is 5060.
Contextfrom-pstn-e164-us.

On the Advanced tab, change the DTMF Mode parameter to RFC 4733.

To receive calls, configure Inbound Routes. To do this, go to Connectivity - Inbound Routes.

pic6.png

Fill in the following fields:
Description — an internal name.
DID number — the number that redirects to the internal number 101.
Set Destination — specify the action for incoming calls.

pic7.png

Now, when someone calls your number, the call will be redirected to the internal number 101.

To make outbound calls, configure Outbound Routes. Go to Connectivity - Outbound Routes.

pic5.png

Fill in the field Route Name — the internal name of the route. On the Dial Patterns tab, create number templates for calls.

pic8.png

All basic settings are now complete. You can check the system's functionality.

#Debian
#FreePBX
#Linux
#Server
#VoIP