This commit is contained in:
2026-06-21 02:25:18 -04:00
parent 53d9de4ba1
commit 98ca57019d

View File

@@ -163,7 +163,8 @@ function vs01_get_participant_id($association_slug) {
// The channel name IS the Placekey for SASE participants. // The channel name IS the Placekey for SASE participants.
$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] ?? '');
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------