The SIP Connector module will permit connecting a cloud PBX to Bitrix24. You have free minutes available for make outbound calls in order to test the functionality. If you plan to use your PBX for outbound calls, you have to pay for the license by clicking the button Buy the module to make outgoing calls. The amount of free minutes and the active license term are displayed on the page Balance and Statistics in the Telephony section.
In order to make sure the calls are processed properly, in addition to the Bitrix24 settings, setting up the firewall of your local network will be necessary.
If you plan to use PBX to make outbound calls you have to pay for the license by clicking the button Buy the module to make outgoing calls before setting up your PBX.
The setup procedure for cloud and office PBX are different. A specific button is used to set up each one:
Settings in Bitrix24
Click the button Connect cloud hosted PBX and fill in the form fields to connect:
- Connection name - An arbitrary name of the connection. This field is optional.
- Server Address – is the IP address of your PBX.
- Login and Password – PBX access data.
Click Connect. The data will be saved, and the system will go to the router settings.
PBX connection is not completed in an instant but rather undergoes several steps:
- In process: Connection is processing. You will be able to accept inbound calls in several minutes.
- Receiving data: Data about the current status are being received. Please wait.
- Error: An error has occurred during the connection. Please make sure that the connection parameters you indicated are correct.
Firewall Settings in the Local Network
By default, port 5060 is used for SIP and ports 10,000-20,000 are used for media (RTP). However, there is no universal recommendation, because port 5060 can be both TCP and UDP. It depends on the current settings of the local network.
Normally it is important for SIP to have outbound traffic permitted (e.g., from PBX) and inbound connections will work automatically. RTP is normally used as UDP (so that packets can be lost without impeding data transmission).
The ports themselves can be set up in the PBX properties: the ports that are indicated there must also be open in Firewall.