curl --request POST \
--url https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event": "rtcp_xr",
"call_id": "call_5f9c3b1a2d4e4f6a",
"tenant_id": "6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"metrics": {
"mos_score": 4.21,
"jitter_avg_ms": 8.3,
"jitter_max_ms": 42.1,
"packet_loss_pct": 0.25,
"rtt_avg_ms": 87.4,
"codec": "opus"
},
"recorded_at": "2026-08-09T13:42:01.123Z"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest"
payload = {
"event": "rtcp_xr",
"call_id": "call_5f9c3b1a2d4e4f6a",
"tenant_id": "6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"metrics": {
"mos_score": 4.21,
"jitter_avg_ms": 8.3,
"jitter_max_ms": 42.1,
"packet_loss_pct": 0.25,
"rtt_avg_ms": 87.4,
"codec": "opus"
},
"recorded_at": "2026-08-09T13:42:01.123Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'rtcp_xr',
call_id: 'call_5f9c3b1a2d4e4f6a',
tenant_id: '6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f',
metrics: {
mos_score: 4.21,
jitter_avg_ms: 8.3,
jitter_max_ms: 42.1,
packet_loss_pct: 0.25,
rtt_avg_ms: 87.4,
codec: 'opus'
},
recorded_at: '2026-08-09T13:42:01.123Z'
})
};
fetch('https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'rtcp_xr',
'call_id' => 'call_5f9c3b1a2d4e4f6a',
'tenant_id' => '6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f',
'metrics' => [
'mos_score' => 4.21,
'jitter_avg_ms' => 8.3,
'jitter_max_ms' => 42.1,
'packet_loss_pct' => 0.25,
'rtt_avg_ms' => 87.4,
'codec' => 'opus'
],
'recorded_at' => '2026-08-09T13:42:01.123Z'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest"
payload := strings.NewReader("{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"ingested": true
}Ingest RTCP-XR call-quality metrics from the media server
Internal webhook the media server calls at the end of a call to report RTCP-XR voice-quality metrics (MOS, jitter, packet loss, round-trip time, codec). The metrics are attached to the matching call’s quality row so the voice-quality dashboards (worst calls, carrier MOS) can report them. Authenticated with a Stripe-style HMAC-SHA256 X-Orbit-Signature header with a five-minute replay window; an unconfigured signing key returns 503 and a bad signature returns 401. Ingest is idempotent per call.
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event": "rtcp_xr",
"call_id": "call_5f9c3b1a2d4e4f6a",
"tenant_id": "6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"metrics": {
"mos_score": 4.21,
"jitter_avg_ms": 8.3,
"jitter_max_ms": 42.1,
"packet_loss_pct": 0.25,
"rtt_avg_ms": 87.4,
"codec": "opus"
},
"recorded_at": "2026-08-09T13:42:01.123Z"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest"
payload = {
"event": "rtcp_xr",
"call_id": "call_5f9c3b1a2d4e4f6a",
"tenant_id": "6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"metrics": {
"mos_score": 4.21,
"jitter_avg_ms": 8.3,
"jitter_max_ms": 42.1,
"packet_loss_pct": 0.25,
"rtt_avg_ms": 87.4,
"codec": "opus"
},
"recorded_at": "2026-08-09T13:42:01.123Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'rtcp_xr',
call_id: 'call_5f9c3b1a2d4e4f6a',
tenant_id: '6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f',
metrics: {
mos_score: 4.21,
jitter_avg_ms: 8.3,
jitter_max_ms: 42.1,
packet_loss_pct: 0.25,
rtt_avg_ms: 87.4,
codec: 'opus'
},
recorded_at: '2026-08-09T13:42:01.123Z'
})
};
fetch('https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'rtcp_xr',
'call_id' => 'call_5f9c3b1a2d4e4f6a',
'tenant_id' => '6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f',
'metrics' => [
'mos_score' => 4.21,
'jitter_avg_ms' => 8.3,
'jitter_max_ms' => 42.1,
'packet_loss_pct' => 0.25,
'rtt_avg_ms' => 87.4,
'codec' => 'opus'
],
'recorded_at' => '2026-08-09T13:42:01.123Z'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest"
payload := strings.NewReader("{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/jambonz/quality-ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"rtcp_xr\",\n \"call_id\": \"call_5f9c3b1a2d4e4f6a\",\n \"tenant_id\": \"6c42a662-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"metrics\": {\n \"mos_score\": 4.21,\n \"jitter_avg_ms\": 8.3,\n \"jitter_max_ms\": 42.1,\n \"packet_loss_pct\": 0.25,\n \"rtt_avg_ms\": 87.4,\n \"codec\": \"opus\"\n },\n \"recorded_at\": \"2026-08-09T13:42:01.123Z\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"ingested": true
}Authorizations
Dashboard JWT token from Clerk
Body
Call identifier matching the call log id.
Tenant (organization) id that owns the call.
Measured RTCP-XR quality metrics.
Show child attributes
Show child attributes
Event type, always rtcp_xr.
RFC3339 timestamp of the sample (defaults to server time).