$dialer.getCallRecordingPath
This method returns the path to the current call recording.
caution
The Record calls toggle in the phone channel settings must be set to active so that call recordings become available for download.
Syntax
The method is called without arguments and returns a string containing the relative path to the file on the server where the project is hosted:
$dialer.getCallRecordingPath(); // => Example: "242829491/2019-06-18/16505130514/16:56:31.55-1P"
URL template
The absolute call recording file URL conforms to the following template:
https://{host}/restapi/download/{projectId}/recordings/call/{callRecordingPath}
Here,
host
is the domain where the project is hosted, e.g.app.jaicp.com
.projectId
is the project identifier, e.g.242829491
.callRecordingPath
is the value returned by$dialer.getCallRecordingPath
.
caution
Downloading call recordings by this URL is only possible during an active authorized session in an account with an appropriate role.
tip
Use the
$dialer.getCallRecordingFullUrl
method instead to download call recordings without being signed in to JAICP.