Updated
This commit is contained in:
@@ -123,7 +123,8 @@ function dsc01_get_participant_id() {
|
||||
|
||||
$addr = $r[0]['xchan_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