Skip to main content

Pause Recording

The PauseRecording verb is used to pause a recording that was previously started by a <StartRecording> verb.

Audio that occurs between a <PauseRecording> verb and a <ResumeRecording> verb will not be present in the recording.

The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill.

If there is not an ongoing recording at the time of this verb's execution, it has no effect.

Text Content#

There is no text content available to be set for the <PauseRecording> verb.

Attributes#

There are no attributes available for the <PauseRecording> verb.

Webhooks Received#

There are no webhooks received after the <PauseRecording> verb is executed.

Examples#

Pause an Active Recording#

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<PauseRecording/>
</Response>

PauseRecording on Transferred Calls#

In this example, only the transfers themselves will be recorded, and the text-to-speech instructing the user will not be present in the recording.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<SpeakSentence voice="bridget">This call is being recorded. Please wait while we transfer you.</SpeakSentence>
<StartRecording recordingAvailableUrl="https://myapp.com/noBXML"/>
<Transfer>
<PhoneNumber>+15554567892</PhoneNumber>
</Transfer>
<PauseRecording/>
<Gather gatherUrl="https://myapp.com/gatherCallbackBxml" maxDigits="1" firstDigitTimeout="10">
<SpeakSentence voice="kate">Press one if you want to be transferred to another number.</SpeakSentence>
</Gather>
</Response>

BXML Response to the Gather Webhook

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<ResumeRecording/>
<Transfer>
<PhoneNumber>+15554567893</PhoneNumber>
</Transfer>
<StopRecording/>
<SpeakSentence voice="bridget">Thanks for your call. Have a nice day!</SpeakSentence>
</Response>