Updated
This commit is contained in:
@@ -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] ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user