Telephony: Overview of Methods

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

Bitrix24 telephony helps manage calls within the CRM: making and receiving calls, maintaining call history, linking calls to client records, and saving recordings.

The REST API supports two scenarios for working with telephony:

  • Integration of external telephony — the application registers the line, reports the call, manages the record, and ends the call.
  • Management of built-in telephony and SIP connector — the application works with SIP connections, outgoing lines, users, and call events.

Quick navigation: all methods and events

User documentation: How to start calling from Bitrix24: choosing a telephony connection method

How to Choose a Section

If you need

Open the section

Integrate external telephony via REST

External Telephony Methods

Manage SIP connections, lines, and SIP settings for employees

SIP and Built-in Telephony

Subscribe to external telephony events

Events

Connection with Other Objects

User. The identifier USER_ID links the call and SIP settings to the employee. You can obtain USER_ID using the user.get method. Pass USER_ID to telephony.externalCall.show and methods in the User Management section.

Call. The identifier CALL_ID is created in telephony.externalCall.register and is used in telephony.externalCall.show, telephony.externalCall.hide, telephony.externalCall.finish, telephony.externalCall.attachRecord, and telephony.call.attachTranscription.

CRM. The method telephony.externalCall.searchCrmEntities searches for CRM entities by phone number to link the call to the client record.

Line and SIP Connection. For built-in telephony scenarios, LINE_ID and CONFIG_ID are used. You can obtain LINE_ID using the voximplant.line.get method, and CONFIG_ID using the voximplant.sip.add and voximplant.sip.get methods. For complete context, refer to the sections Managing Lines and Managing SIP Connections.

How to Start Working with External Telephony

  1. Register a line using the telephony.externalLine.add method.
  2. When starting a call, invoke telephony.externalCall.register.
  3. If necessary, open the call record via telephony.externalCall.show.
  4. After the call ends, invoke telephony.externalCall.finish and pass the recording via telephony.externalCall.attachRecord.
  5. Subscribe to OnExternalCallStart and OnExternalCallBackStart if you need to handle call initiation from the CRM interface.

How to Start Working with Built-in Telephony and SIP Connector

  1. Create a SIP connection using the voximplant.sip.add method.
  2. Check the connection using the voximplant.sip.get and voximplant.sip.status methods.
  3. Obtain a list of available lines using the voximplant.line.get method.
  4. Set the default outgoing line using voximplant.line.outgoing.set or voximplant.line.outgoing.sip.set.
  5. For employees, obtain SIP settings using the voximplant.user.get method and, if necessary, activate the SIP device using voximplant.user.activatePhone.
  6. Subscribe to events OnVoximplantCallInit, OnVoximplantCallStart, OnVoximplantCallEnd if you need to handle the call lifecycle.

Widgets

You can embed an application into the call record and display the operator interface right during the conversation.

Limitations and Checks

Overview of Methods and Events

Scope: telephony

Who can execute the method: depending on the method

External Telephony

Method

Description

telephony.externalLine.add

Registers an external line

telephony.externalLine.update

Modifies an external line

telephony.externalLine.get

Returns a list of external lines

telephony.externalLine.delete

Deletes an external line

telephony.externalCall.searchCrmEntities

Searches CRM client entities by phone number

telephony.externalCall.register

Registers the start of a call

telephony.externalCall.show

Opens the call record for the user

telephony.externalCall.hide

Hides the call record for the user

telephony.externalCall.finish

Ends the call

telephony.externalCall.attachRecord

Attaches the call recording

telephony.call.attachTranscription

Adds a transcription of the recording to the call

Event

Triggered

OnExternalCallStart

When clicking on a phone number in CRM entities to make an outgoing call

OnExternalCallBackStart

When filling out the CRM callback form

SIP and Built-in Telephony

Method

Description

voximplant.callback.start

Initiates a callback

voximplant.infocall.startwithsound

Initiates an auto-call and plays an MP3 file from a URL

voximplant.infocall.startwithtext

Initiates an auto-call and reads the specified text to the recipient using speech synthesis

voximplant.tts.voices.get

Returns a list of available voices for speech synthesis

voximplant.url.get

Returns links for navigating telephony pages

voximplant.statistic.get

Returns a list of calls

Event

Triggered

OnVoximplantCallInit

When initializing a call manually or via methods voximplant.callback.start, voximplant.infocall.startwithsound, voximplant.infocall.startwithtext, telephony.externalCall.register

OnVoximplantCallStart

When the conversation starts: operator answers on incoming and recipient answers on outgoing calls

OnVoximplantCallEnd

When the conversation ends and is recorded in history or via the telephony.externalCall.finish method

Managing SIP Connections

Method

Description

voximplant.sip.add

Creates a SIP connection linked to the application

voximplant.sip.update

Updates an existing SIP connection

voximplant.sip.get

Returns a list of SIP connections created by the application

voximplant.sip.status

Returns the status of SIP registration for the cloud PBX

voximplant.sip.delete

Deletes an existing SIP connection

voximplant.sip.connector.status

Returns the current status of the SIP connector

Managing Lines

Method

Description

voximplant.line.get

Returns a list of available outgoing lines

voximplant.line.outgoing.get

Returns the identifier of the current default outgoing line

voximplant.line.outgoing.set

Sets the default outgoing line

voximplant.line.outgoing.sip.set

Sets the default outgoing SIP line

Managing Users

Method

Description

voximplant.user.get

Returns user settings

voximplant.user.activatePhone

Sets the employee's SIP device presence flag