...
To solve this problem, it is best to use an IP PBX based on the SMG-3016 hybrid platform.
Proposed network diagrams
...
Tables for configuration are available via the link.
Before configuring IP telephony, ensure that the data network is functioning properly. Check the network connectivity.
...
SMG has a dynamic firewall enabled by default, which automatically blocks device access in case of multiple unsuccessful authorization attempts. This may be inconvenient during the configuration process. It is recommended to disable the dynamic firewall according to the instructions before starting the configuration. It is recommended to enable the dynamic firewall after completing the configuration for security reasons.
...
Configuring the management interface
Follow the instructions to change the IP settings on the management interface.
...
Configuring an interface for telephony
Follow the instructions to change the IP settings on the main interface. Specify:
...
For automatic time synchronization via the NTP protocol, the NTP server on the ESR router or L3 MES switch with the 192.0.2.1 address is used.
To configure NTP synchronization, use the instructions to specify the NTP server address:
...
Creating an SIP profile
Follow the instructions to create an SIP profile.
...
Creating SIP subscribers
Follow the instructions to create SIP subscribers. When creating, specify:
...
| Подсказка |
|---|
In this example, the DHCP server only assigns 221 IP addresses, which is not enough for a thousand phones. Practically, one of two options needs to be chosen:
|
IP phones require IP addresses to operate. These can be configured manually on each device or assigned using a DHCP server. Configure the DHCP server according to the instructions.
Specify the following parameters:
...
After completing the initial configuration, it is recommended to save the device configuration.
Configuring the connection to PSTN
...
Creating a SIP interface for accessing PSTN
Follow the instructions to create a SIP interface. When creating it, specify the following:
...
Configuring the modification of incoming call numbers from PSTN
Following the instructions, create a table of modifiers named “B-number substitution from PSTN”.
Following the instructions, create a B-number modification for calls from PSTN in the “B-number substitution from PSTN” modifier table. When creating, specify:
- Number mask: (73839741[0-1][0-9][0-9])
- Modification rule for CdPN/Original CdPN: -------1$
Following the instructions, assign the modification to the trunk group. When creating, specify:
...
Configuring routing to PSTN numbers
Follow the instructions to create a prefix in the dial plan. When creating, specify:
...
Configuring modifications for calls to PSTN
Follow the instructions to create a table of modifiers named “B-number in E.164”.
Follow the instructions, create three B-number modifications for calls to PSTN.
- Modification of “local” numbers:
- Number mask: (xxxxxxx)
- Modification rule for CdPN/Original CdPN: +7383$
- Modification of long-distance numbers:
- Number mask: (8[3489]xxxxxxxxx)
- Modification rule for CdPN/Original CdPN: 7$
- Modification of international numbers:
- Number mask: (810x.)
- Modification rule for CdPN/Original CdPN: ---$
Following the instructions, create a table of modifiers named “A-number in E.164 PSTN”.
Following the instructions, create two modifications of the A-number for calls to PSTN.
- Modification of numbers 1000-1199 to numbers 7941000-7941199
- Number mask: (1[0-1][0-9][0-9])
- Modification rule for CgPN/RedirPN/Generic/Location: +73839741-$
- Modification of other numbers to number 9741888
- Number mask: (xxxx)
- Modification rule for CgPN/RedirPN/Generic/Location: +73839741888!
Follow the instructions to assign the modification to the trunk group. When creating, specify:
...
Saving the SMG-3016 configuration
Save the configuration of the device.
Connecting IP phones
...
Configuring the phone
Follow the instructions to configure the phones.
...
Configuring the connection to local network
Follow the instructions to configure the TAU:
- IP address: 192.0.2.72
- Network mask: 255.255.255.0
- Gateway: 192.0.2.1
...
Since TAU does not have a built-in clock, time synchronization from an external server is required to use real time for monitoring and statistics. For automatic time synchronization via NTP with TAU, an NTP server located on the local network or on the Internet must be available.
Follow the instructions to configure synchronusation with the following parameters:
...
Configuring SIP profile
Follow the instructions to configure the SIP profile. When configuring, specify:
...
Creating subscribers
Follow the instructions to create subscribers with numbers 1701–1772. When creating, specify the following:
...
Specifying subscriber login details
Follow the instructions to specify subscriber login details. In the ("1-18", "19-36", "37-54", "55-72") port group tabs, go through all subscribers. In the port cards, specify:
...
Configuring a dialing plan
Follow the instructions to set up a dialing plan. Select "Linear dialing planRegular expression dialplan." In the "Rule:" field, enter "[*#0-9]"
...
If the dynamic firewall was disabled before starting the configuration, it is recommended to enable it according to the instructions.