getWebrtcKey($login)->key; $pbxInternal = $api->getPbxInternal(); $pbxNumber = $pbxInternal->numbers[0]; // Adjust if necessary } catch (Exception $e) { // Handle API errors echo 'Error: ' . $e->getMessage(); exit; } ?> Zadarma Widget Integration