Documentation

voximplant.infocall.startwithtext

This method performs the call to the specified number with automatic voiceover of specified text is available the user with granted access rights for Outbound call - Action - Any.

lbe

To obtain access to the method, application shall request the access right for the Call. This access right is assigned during installation of the application.

Function parameters

ParameterDescription
FROM_LINE ID of the line, from which the call will be made. The list of available lines can be retrieved by the voximplant.line.get method.
TO_NUMBER Number to be called.
TEXT_TO_PRONOUNCE Text for voiceover.
VOICE Voice to be used for voiceover of this text (optional). List of voices can be retrieved by the voximplant.tts.voices.get method.

Example

BX24.callMethod(
	'voximplant.infocall.startwithtext',
	{
		"FROM_LINE": "reg1332",
		"TO_NUMBER": "7911xxxxxxx",
		"PRONOUNCE": "Good afternoon. Your request is completed",
	},
	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