A service to allow the listing, creation, update and destruction of conferencing bridges and their related meta data. This is an HTTP API.
The following RESTful JSON routes are available for Conferencing API:
Endpoint | GET | POST | PUT | DELETE |
---|
{"success":true,"message":"","data":{"_index":"cdrs","_type":"cdr","_id":"LDOFGBR7KZENPL7FW6BW4NUBX4","_score":1,"_source":{"requestUri":"sip:fikrippi@ippi.fr","calledNumber":"883510080983","relatedVoxboneCallId":"LDOFGBR7KZENPL7FW6BW4NUBX4@81.201.82.107","startTime":"2017-11-20T21:01:44.000Z","connectTime":"2017-11-20T21:01:44.000Z","endTime":"2017-11-20T21:10:22.000Z","duration":"518","callingNumber":"905309737759","recordings":[{"callId":"215364c9-75f7-4fa0-a731-2cd9a5902bd8","participantDescription":"caller","completion":"normal","fileName":"caller-LDOFGBR7KZENPL7FW6BW4NUBX4@81.201.82.107.flac","recorder":"drachtio-recording-service","format":"flac","duration":"518","codec":"PCMA","createdAt":"2017-11-20T21:01:44.000Z","channels":1,"downloadLink":"https://www.googleapis.com/download/storage/v1/b/voxbone-workshop-speech-analytics/o/caller-LDOFGBR7KZENPL7FW6BW4NUBX4@81.201.82.107.flac?generation=1511212244243476&alt=media","endedAt":"2017-11-20T21:10:22.000Z","id":1,"recordingProfileId":"741a3e3e-0677-4655- |
The Recording API service uses and provides two main models: Profile
and Recording
.
A Profile
entry specifies for a given remoteSipUri
, if and how the recording should take place.
email
- (String[255]; default: null) If set, will send an email with the recording to the address specified by the value of this field.remoteSipUri
- (String[255]; default: null) The remote endpoint to call when there's an incoming channel for this Profile id.<?php | |
/* | |
To use, $.get to obtain the json data. | |
Pass that response to voxbone.WebRTC.init(data); | |
This code is a 1-1 map of the NodeJS functions | |
*/ | |
$username = 'changethis'; // Voxbone account name | |
$secret = 'changethis'; // Voxbone webrtc password | |
// Function mapped from NodeJS version | |
function cleanHmacDigest($hmac) { |
window.onload = function(){ | |
document.getElementById("launch_call_div").getElementsByTagName("a")[0].innerHTML = "Prueba tu configuración"; | |
document.getElementById("launch_call_div").getElementsByTagName("a")[1].innerHTML ="creado por:"; | |
document.getElementById("vw-footer").getElementsByTagName("a")[0].innerHTML = "creado por:"; | |
document.getElementById("vw-end-call").innerHTML = '<i class="vw-icon vx-icon-phone"></i>Colgar'; | |
document.getElementById("vw-rating-question").innerHTML = "¿Cómo fue la calidad de su llamada?"; | |
document.getElementById("vw-rating-message").childNodes[0].nodeValue = "¿Alguna información adicional?"; | |
document.getElementById("send-rating").getElementsByTagName("span")[0].innerHTML = "Enviar"; | |
document.getElementById("rating-message").placeholder = "Opcional"; | |
document.getElementById('vw-unable-to-acces-mic').getElementsByTagName("p")[0].innerHTML = "¡Vaya! Parece que no podemos usar tu micrófono."; |