Managing Lines: 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 how to work with outgoing lines in telephony:

  • how to obtain a list of available lines
  • how to find out the current default outgoing line
  • how to set a regular or SIP line for outgoing calls

To call the methods, you need the Manage numbers - modify access permission.

Quick navigation: all methods

Interaction with Other Objects

Outgoing Line. The methods use the line identifier LINE_ID. You can obtain it through voximplant.line.get and then pass it to voximplant.line.outgoing.set to change the default line.

SIP Line. To set the default SIP line, use CONFIG_ID in voximplant.line.outgoing.sip.set. The CONFIG_ID identifier can be obtained using the voximplant.sip.get method.

Getting Started

  1. Obtain a list of available outgoing lines via voximplant.line.get
  2. Check the current outgoing line using the voximplant.line.outgoing.get method
  3. Set the desired line through voximplant.line.outgoing.set or the SIP line through voximplant.line.outgoing.sip.set
  4. Re-invoke voximplant.line.outgoing.get to verify the currently set outgoing line

Overview of Methods

Scope: telephony

Who can perform the method: a user with the Manage numbers - modify access permission

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