How to Configure VoIP on my Rocket.Chat instance?
Please make sure your environment meets the prerequisites to be able to configure VoIP/Call Center feature on your Rocket.Chat instance.
To configure VoIP on your Rocket.Chat instance:
  1. 1.
    Go to Avatar Menu > Administration > Settings > Call Center
  2. 2.
    Search Call Center
as shown below:
Call Center

1. Enabling VoIP

VoIP does not come enabled by default. You can enable it on your Rocket.Chat instance by:
  1. 1.
    Go to Avatar Menu > Administration > Settings
  2. 2.
    Search Call Center
as shown below:
VoIP Enabled

2. Configuration of the management server (Asterisk)

Rocket.Chat is using Asterisk as its call management server. To get your Asterisk server, please contact Asterisk.
Rocket.Chat needs the following credentials to connect to Asterisk and receive the call management matrix, such as queues, extensions, and other management data.
Asterisk is a software PBX (A switching system for organizations to share trunks).
Rocket.Chat is using it for call bookkeeping data like how many queues are there, extension data, agents allocated to a queue, routing system, and others.
To configure this integration between Rocket.Chat and Asterisk:
  • Go to Avatar Menu > Administration > Settings
  • Search Call Center
  • Under the Settings tab, navigate to Management Server and click it open.
  • All the settings needed here should be provided to you by your Asterisk manager.
Management server configuration

3. Configuration of call server

Rocket.Chat needs a WebSocket connection to forward calls from Asterisk to Rocket.Chat.
To configure this WebSocket connection between Rocket.Chat and Asterisk:
  • Go to Avatar Menu > Administration > Settings
  • Search Call Center
  • Under the Settings tab, navigate to Server Configuration and click it open.
  • All the settings needed here should be provided to you by your Asterisk manager.
  • Retry Count is a number that signifies the number of retries for reconnection when there is a network loss. The default value is -1, which signifies that it will continuously try with increasing backoff time (Max backoff is 8 seconds)
Call server configuration
Congratulations! Your Rocket.Chat instance is connected to Asterisk server and can receive calls from Asterisk server successfully. 😊
The connection and communication between Rocket.Chat client (SIP Client) and Asterisk are established using WebSockets.
The phone numbers that your customers are dialing are associated with the queues in Asterisk.