FreeSWITCH 1.10.10 Simple graphical interface 10 - Dingxing FXO gateway SIP registration public network IPPBX implementation


FreeSWITCH interface installation reference:https://blog.csdn.net/jia198810/article/details/132479324

0. Interface preview

http://myfs.f3322.net:8020/
Username: admin, Password: admin

FreeSWITCH interface installation reference:https://blog.csdn.net/jia198810/article/details/132479324


If the IPPBX is on the public network and needs to be implemented using the FXO gateway on the intranet, you can register the FXO gateway to the public network IPPBX.
Take Dingxing gateway registration as an example, call in to an attendant console, and set the extension to make outbound calls from the FXO gateway. Other gateways can be referenced.

When FXO gateway SIP is registered, the port registered by the gateway is the SIP protocol listening port (5060) in the protocol settings, because the extension trunk is an internal extension number.
The simple call flow is:
Inbound: FXO gateway’s port group—SIP server;
Outbound: SIP server—FXO Gateway port group.
The configuration sequence is: Create attendant console - Create SIP extension trunk - Set call rules - Set extension call permissions - Set FXO gateway - Set FXO gateway call routing rules

The following are detailed steps and screenshots:

1. Create an attendant console

Click PBX Settings - Call Management - Automatic Attendant Console - Add to add an attendant console. In this example, the attendant console number is 401. As shown below:
Insert image description here

2. Create a PBX SIP trunk and set incoming call permissions

Click PBX Settings - Trunk Management - Extension Trunk - Add to add an extension trunk. In this example, the extension trunk name is fxogw and the number is 6666.
As shown in the figure below:
Insert image description here

3. Set outgoing call rules

Click PBX Settings - Call Management - Call Rules - Add or modify a call rule, and select the call trunk of the number rule as the newly added extension trunk fxogw. In this example, the extension trunk for modifying the domestic long-distance number rule of the call rule is fxogw. The settings for other call rules are similar. Please set according to the actual situation. As shown below:
Insert image description here

4. Set extension call permissions

Click PBX Settings - Extension Management - Extension Settings - Modify Extension, and set the call permission of the extension to the call permission modified in the previous step, as shown in the figure below:
Insert image description here

5. Set FXO gateway related information

Set the SIP local port and related server address of Dingxing gateway. In this example, the SIP port of the PBX is 5060, which can be filled in according to the actual situation. As shown below:
Insert image description here

6. Set the incoming number of the FXO gateway port group

Set the port group of the FXO gateway to register the extension trunk number 6666 just created, and call in to the attendant console number 401 just created, as shown in the following figure:
Insert image description here

7. Set up FXO gateway call routing (incoming and outgoing calls)

Set the inbound (from FXO to IP) and outbound routing (from IP to FXO) of Dingxing gateway, as shown in the figure below:
IP to TEL:
Insert image description here

TEL to IP:
Insert image description here

8. Check SIP trunk status

Click System Status - PBX Status - Extension Trunk Status to view the SIP trunk status. The registration status shows green and network delay, which means it is normal. As shown below:
Insert image description here

After the setting is completed,
when a call comes to the Dingxing FXO gateway, it will automatically be transferred to the attendant console 401;
When a call is made to an 11-digit mobile phone number, the call will be made through the FXO interface of the Dingxing gateway.

Guess you like

Origin blog.csdn.net/jia198810/article/details/132957037