Method completes the call, registers it in the statistics and hides the call ID screen from the user.

Function parameters

Parameter DescriptionType of value
CALL_ID Call ID from the telephony.externalcall.register method. Required.string
DURATION Duration in seconds.
COST Call cost.double
COST_CURRENCY Currency, in which the call cost is indicated. List of currencies can be retrieved by crm.currency.list method.string
STATUS_CODE SIP-code of the call status.string
FAILED_REASON Reason for an unsuccessful call.string
RECORD_URL File URL (preferably mp3) with the call record. string
VOTE Evaluation of a call by the user (if PBX supports functionality of conversation evaluation).int
ADD_TO_CHAT Option to add a message on the performed call to the B24 employee into chat (Possible values are 0 or 1, by default is 1).int

Instead of USER_ID also can be USER_PHONE_INNER.

Returned value

Method returns an array, similar to the voximplant.statistic.get method.

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