This commit is contained in:
2026-06-21 02:24:52 -04:00
parent 93bc281c6d
commit 53d9de4ba1

View File

@@ -140,7 +140,8 @@ function scn01_get_participant_id() {
$addr = $r[0]['xchan_addr'] ?? ''; $addr = $r[0]['xchan_addr'] ?? '';
$parts = explode('@', $addr); $parts = explode('@', $addr);
return $parts[0] ?? ''; // Strip guest: prefix — Placekey is the channel name without the guest: qualifier.
return preg_replace('/^guest:/', '', $parts[0] ?? '');
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------