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.

FAQ

I can’t download the file from this link

Question: I can’t download a call recording from a link obtained using $dialer.getCallRecordingFullUrl() (or another way). Why?

Answer: You may be trying to download a file immediately after the call ends.

The system takes some time to make the audio recording available after a call. This may take up to several minutes. The file will be available via the link for at least six months.