Skip to main content

$dialer.getCallRecordingFullUrl

This method returns a URL for downloading 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 with the call recording download URL:

$dialer.getCallRecordingFullUrl();

URL template

The file download URL conforms to the following template:

https://{host}/api/recordings/token/{token}/download/call?sessionId={sessionId}

Here,

  • host is the domain where the project is hosted, e.g. app.jaicp.com.
  • token is the token for downloading call recordings from the current project.
  • sessionId is the current call session identifier.
tip
Compared to $dialer.getCallRecordingPath, the URL returned by this method does not require signing in to JAICP to download call recordings.