Documentation

voximplant.line.outgoing.sip.set

Scope: catalog Permissions to execute: for all

Sets the selected SIP line as an outgoing line by default.

This method is available to the user with granted access permissions for Manage numbers - Edit - Any.

Parameters

Parameter Description
CONFIG_ID SIP line setup identifier.

Result Description

Returns 1 in case of success.

Example

BX24.callMethod(
	"voximplant.line.outgoing.sip.set",
	{
		"CONFIG_ID": 57,
	},
	function(result)
	{
		if(result.error())
			console.error(result.error());
		else
			console.info(result.data());
	}
);


© «Bitrix24», 2001-2024