Documentation

voximplant.line.outgoing.set

Scope: catalog Permissions to execute: for all

Sets the selected 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
LINE_ID Line identifier obtained from the method voximplant.line.get or voximplant.line.outgoing.get.

Result description

Returns 1 in case of success.

Example

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


© «Bitrix24», 2001-2024