When a customer has not set its own recording consent message in the PBX settings (the field is null), the PBX plays a system default message. This request returns the ids of those default messages, so they can be played - for example with a play button next to each empty message field. The default messages are public audio files: play them as https://audio.telecomx.dk/AUDIO_ID.mp3.
The defaults depend on the consent mode (recording.consentMode): in opt-out mode the four consent questions tell the caller to press 0 to refuse recording.
{
language: 'da',
OPT_IN: {
inboundConsentMessage: '6a5ce50feefed513c934fe5a',
inboundDirectConsentMessage: '6a5ce5d259b64613b5272a3e',
outboundConsentMessage: '6a5ce8127db79e13b68b4034',
onDemandConsentMessage: '6a5ce65e1ebc1c13cf2e245c',
consentGivenMessage: '6a5ce3bd0f743913c7d9a1e8',
consentRejectedMessage: '6aba9bb123dfdd1e06c847ed',
storedConsentMessage: '6aba301877df091df42dfbcd'
},
OPT_OUT: {
inboundConsentMessage: '6aba2fba9907b41df30b3ad7',
...
}
}