Documentation

telephony.externalCall.attachRecord

Scope: catalog Permissions to execute: for all

This method connects a record to a finished call and to the call Activity. (Should be called after telephony.external.finish, if at the moment of the call, finish status wasn't ready). Only one record is linked. If the method is called several times, then the next call will overwrite the previous record.

Function parameters

Parameter DescriptionType of value
CALL_ID Call ID from the telephony.externalcall.register method. Required.string
FILENAME File name, required. File name should be ending with wav or mp3.string
FILE_CONTENT base64-encoded file content. Optional. If the parameter was not specified, method will return uploadUrl parameter - URL, to which the content of the file can be uploaded.string
RECORD_URL Link to the record on the client's server. If specified, then an attempt to download the record will be made at the specified address, instead of awaiting for record to be downloaded to the client's account.

Bitrix24 account will attempt to download a record at the specified address during method's execution. Method returns an error if unsuccessful.

Because the option to download depends on multiple factors independent from the Bitrix24 account, it's not recommended to use this parameter.
string


© «Bitrix24», 2001-2024