Skip to main content

Call Recording

  • How can I delete call recordings?

    This reference page shows how you can can delete a recording using the Voice API. The API endpoint uses a recording ID to delete a specific recording. To get the recording ID, navigate to Voice > Logs > Recordings in the console. You cannot delete a recording from that console page.

  • Does Plivo charge for call recordings?

    No, Plivo doesn’t charge you for call recording. The features listed below are free.

    • Call recording
    • Multilingual text-to-speech
    • Recording storage
    • Automatic machine detection
    • Usage of PHLO
  • Where can I find my recordings?

    You can find a list of your recordings in the console under Voice > Logs > Recordings.

    Alternatively, you can use the action attribute or callback attribute of the Record XML element to configure your web server to get recording details along with the recording URL.

  • Can I record a call in stereo or mono?

    Calls that are recorded using the API are always recorded in mono, whether you save the recordings as MP3 or WAV files, meaning that the audio will be recorded using a single channel.

    Calls that are recorded using XML are always recorded in stereo, whether you save the recordings as MP3 or WAV files, meaning that the audio will be recorded using two or more independent channels.

  • How can I record a conference call?

    You can record a call either by using the Voice API or the Conference XML element.

    Using the API

    You can record calls using the Voice API at any time during the call. The API returns a URL that specifies a file that contains the audio recording. Our documentation explains how to get the call_UUID of an ongoing conference call, which you need to record a call.

    Using record attribute in conference XML

    You can set the "record" attribute to "true" in the Conference XML element to record a conference call. For example: 

    <Response>
        <Conference record="true">My Room</Conference>
    </Response>

     

  • How can I record an inbound call?

    There are two ways to record an inbound call. 

    Using the Record API

    The Record API can record live calls at any time during the call. The API will return a URL with a file containing the audio recording. For more details, refer to our call recording reference documentation.

    To get the call_UUID of the live call needed to record the inbound call, you can retrieve details for a specific call or get all live calls.

    Using Record XML

    The Record XML can be used to record the inbound call by having the XML appended in the answer_URL of the application attached to the Plivo DID (your Plivo phone number).

    • During an inbound call to the Plivo DID, the answer_URL of the application attached to DID is executed. The answer_URL should contain the following XML.
    <Response>    

    <Record action="http://foo.com/get_recording/" startOnDialAnswer="true" redirect="false" />    

    <Dial>        

    <Number>15551234567</Number>    

    </Dial>

    </Response>

    For more details, please refer to our XML documentation on how to record a complete call session.

  • How can I record an outbound call?

    You can record a call either by using the Voice API or the XML element.

    Using API

    You can record calls using the Voice API at any time during the call. The API returns a URL that specifies a file that contains the audio recording. The API also lets you stop the recording at any point. The ability to initiate and stop recordings can be useful for support and sales calls where reviews can help improve business processes. Our documentation explains how to get the call_UUID of a live call, which you need to record an outbound call.

    Using Record XML

    You can use the Record XML element to record an outbound call by having the XML appended in the answer_URL of the API call. For example, if your call flow is to bridge two numbers or endpoints and then record the call when the second party answers, follow these steps:

    • API call: "to" attribute will contain number 1 
    {
    "from": "15551234535",
    "to":"15551234556",
    "answer_url":"http://foo.com/answer/"
    }
    • When this party answers the call, the answer_URL will be executed. The answer_URL should contain the following XML code:
    <Response>    
    <Record action="http://foo.com/get_recording/" startOnDialAnswer="true" redirect="false" />    

    <Dial>        

    <Number>15551234567</Number>    
    </Dial>

    </Response> 
    • The call can be recorded once number 2 answers the call.