Connecting a voice bot to Bitrix24 CRM

You can connect the exten.bot voice bot to Bitrix24 CRM in two ways:

  1. As a SIP trunk in Bitrix24, using the credentials provided by the exten.bot server.
  2. Or as an “employee,” using the SIP credentials of Bitrix internal telephony on the exten.bot server.

In this example, we will consider the second option, as it provides more opportunities for voice bot integration with Bitrix24 CRM (for example, call transfer).

Voice Bot Connection Process

Bitrix24 Side Setup

  1. Create a new employee account in Bitrix24 (or use an existing one) that will be used by the voice bot. Instructions.
  2. In the Bitrix24 telephony settings, obtain the server address, login, and password. Instructions. Example data: ip.b24-7776-15556665544.bitrixphone.com (server), phone100 (login), XXXXXXXXXXXXXX (password).
  3. Add the bot account to the inbound route for receiving calls. Instructions.

Screenshot from 2025-09-10 12-03-38

exten.bot Server Setup

In the exten.bot admin panel, create a new bot with the following settings:

  1. Bot type: registrant (i.e., client). To connect the voice bot to Bitrix, use the SIP credentials received in the previous CRM step.
  2. Username: **login**. From the example – phone100
  3. Password: password. From the example – XXXXXXXXXXXXXX
  4. Domain: domain. From the example – ip.b24-7776-15556665544.bitrixphone.com
  5. Token: OpenAI token. You can get it here.
  6. Model: gpt-realtime
  7. Voice: select a voice for the bot from the list
  8. Instruction: detailed instructions for the voice bot about which company it represents, what services are offered, how to answer questions, examples of responses, etc.
  9. Welcome msg: greeting message. The message the bot will voice when connecting with the subscriber.
  10. Transfer uri: SIP URI for transferring the call at the subscriber's request. For Bitrix, the URI will look like: sip:phone10@ip.b24-7776-15556665544.bitrixphone.com, where phone10 is the telephone login of the user the bot should connect with. You can also use the internal extension number, for example, sip:100@ip.b24-7776-15556665544.bitrixphone.com.

Save the settings. It may take up to 5 minutes for the bot to connect to Bitrix24 telephony; after that, you can call the number linked to exten.bot.

Screenshot 2025-09-10 at 12-20-08 Add bot exten.bot admin