Increase volume (Decibels (dB) / Amplitude) of file Ringtone.wav on ringcx
The wave file "Ringtone.wav is too quiet. users can not hear when calls come in causing missed calls. The volume of the voice conversation is fine. Other request have asked for volume controls but this may be a faster fix as we would only update the file that is causing the issue.
The ringtone is located here ""https://ringcx.ringcentral.com/voice/agent/static/audio/ringtone.wav","
There are 2 methods to correct this type of issue.
First we could resave the "Ringtone.wav" file with a higher Decibels (dB) / Amplitude.
We could also update the website so the file is played with a hare Decibels (dB) / Amplitude. Suggested code could be:
<audio id="myAudio" src="ringtone.wav"></audio>
<button onclick="playLouder()">Play Louder</button>
<script>
function playLouder() {
const audio = document.getElementById('myAudio');
const ctx = new (window.AudioContext || window.webkitAudioContext)();
const source = ctx.createMediaElementSource(audio);
const gainNode = ctx.createGain();
// Set volume (gain value). Increase if needed
gainNode.gain.value = 2.0; // double the volume
source.connect(gainNode);
gainNode.connect(ctx.destination);
// Resume AudioContext if required (needed in some browsers)
if (ctx.state === 'suspended') {
ctx.resume().then(() => {
audio.play();
});
} else {
audio.play();
}
}
</script>
Unable to attach the HAR file,
But form the har file,
the ringtone.wav can be found.
{
"connectionId": "20832",
"initiator": {
"type": "other"
},
"priority": "Low",
"resourceType": "media",
"cache": {},
"connection": "443",
"request": {
"method": "GET",
"url": "https://ringcx.ringcentral.com/voice/agent/static/audio/ringtone.wav",
"httpVersion": "http/2.0",
"headers": [
{
"name": ":authority",
"value": "ringcx.ringcentral.com"
},
{
"name": ":method",
"value": "GET"
},
{
"name": ":path",
"value": "/voice/agent/static/audio/ringtone.wav"
},
{
"name": ":scheme",
"value": "https"
},
{
"name": "accept",
"value": "/"
},
{
"name": "accept-encoding",
"value": "identity;q=1, *;q=0"
},
{
"name": "accept-language",
"value": "en-US,en;q=0.9"
},
{
"name": "priority",
"value": "i"
},
{
"name": "range",
"value": "bytes=0-"
},
{
"name": "referer",
"value": "https://ringcx.ringcentral.com/voice/agent/?agentId=2696"
},
{
"name": "sec-ch-ua",
"value": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "sec-fetch-dest",
"value": "audio"
},
{
"name": "sec-fetch-mode",
"value": "no-cors"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
}