Documentation

voximplant.infocall.startwithsound

Makes a call to the specified number with playback of .mp3 format file by URL. This method is accessible to the user with granted access permission rights for the Outbound call - Action - Any.

To obtain access to the method, application should request the access permission for the Call. The right is specified during registration of the application.

Function parameters

ParameterDescription
FROM_LINE ID of the line, from which the call will be made. List of available lines can be received by the voximplant.line.get method.
TO_NUMBER Number to be called.
URLAddress of .mp3-recording for playback.

Example

BX24.callMethod(
	'voximplant.infocall.startwithsound',
	{
		"FROM_LINE": "reg1332",
		"TO_NUMBER": "7911xxxxxxx",
		"URL": "http://your.domain/path/file.mp3",
	},
	function(result)
	{
		if(result.error())
			console.error(result.error());
		else
			console.info(result.data());
	}
);


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021