SIP and Built-in 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.
This section describes the workflow for working with built-in telephony and the SIP connector in Bitrix24.
- Built-in telephony is the basic telephony mode in Bitrix24 for handling calls within the platform. Through the API in this mode, you can initiate calls, receive call events, manage outgoing lines, and configure users' SIP settings.
- The SIP connector is the integration mode of Bitrix24 with external SIP providers and PBXs. Through the API in this mode, you can create, update, and delete SIP connections for the application, check their registration status, and assign a default SIP line for outgoing calls.
Quick navigation: all methods and events
User documentation: How to choose and connect a SIP PBX in Bitrix24
How to Choose a Section
|
If you need |
Open the section |
|
React to the start and end of calls |
|
|
Manage SIP connections for the application |
|
|
Manage default outgoing lines |
|
|
Retrieve user SIP settings and enable SIP devices |
Interaction with Other Objects
User. To configure SIP settings for an employee, you need the user identifier USER_ID. You can obtain USER_ID using the user.get method.
SIP Connection. To work with external SIP configuration, you need the SIP connection configuration identifier CONFIG_ID. This identifier can be obtained in the response from voximplant.sip.add and in the list from voximplant.sip.get.
Outgoing Line. In outgoing call scenarios, the identifier for the outgoing line LINE_ID is used. You can obtain LINE_ID using the voximplant.line.get method.
Access Permissions
Access to telephony methods depends on the user's permissions and role in Bitrix24. If permissions are insufficient, the method will return an access error.
Specific permission requirements can be found in the description of each method.
User Documentation
How to Get Started
- Choose what you will be working with: outgoing call, SIP connection, outgoing lines, user SIP settings, or call events.
- For an outgoing call, use voximplant.callback.start, voximplant.infocall.startwithsound, or voximplant.infocall.startwithtext.
- For a SIP scenario, create a connection using voximplant.sip.add, then check it using voximplant.sip.get and voximplant.sip.status.
- Assign an outgoing line using voximplant.line.outgoing.set or voximplant.line.outgoing.sip.set. After voximplant.line.outgoing.set, verify the actual line using the voximplant.line.outgoing.get method.
- To work with employees' SIP settings, use voximplant.user.get and voximplant.user.activatePhone.
- Subscribe to events in the Events section if you need to handle the call lifecycle.
Overview of Methods and Events
Scope:
telephonyWho can execute methods: depending on the method
Main
|
Method |
Description |
|
Initiates a callback |
|
|
Initiates an auto call and plays an MP3 file from a URL |
|
|
Initiates an auto call and plays a specified text to the recipient using speech synthesis |
|
|
Returns a list of available voices for speech synthesis |
|
|
Returns a list of calls |
|
|
Returns links for navigating through telephony pages |
|
Event |
Triggered |
|
When a call is initialized manually or via methods voximplant.callback.start, voximplant.infocall.startwithsound, voximplant.infocall.startwithtext, telephony.externalCall.register |
|
|
When a conversation starts: when the operator answers an incoming call or the recipient answers an outgoing call |
|
|
When a conversation ends and is recorded in history or via the method telephony.externalCall.finish |
Managing SIP Connections
|
Method |
Description |
|
Creates a SIP connection linked to the application |
|
|
Updates an existing SIP connection |
|
|
Returns a list of SIP connections created by the application |
|
|
Returns the SIP registration status for the cloud PBX |
|
|
Deletes an existing SIP connection |
|
|
Returns the current status of the SIP connector |
Managing Lines
|
Method |
Description |
|
Returns a list of available outgoing lines |
|
|
Returns the identifier of the current default outgoing line |
|
|
Sets the default outgoing line |
|
|
Sets the default outgoing SIP line |
Managing Users
|
Method |
Description |
|
Returns user settings |
|
|
Sets the employee's SIP device presence flag |