prepare('SELECT id FROM services WHERE name = ?'); $p->execute(['Voice Calls']); $service = $p->fetch(); if (!$service) { die('Voice service not found.'); } $service_id = $service['id']; // Check if the user is subscribed to this service $p = db()->prepare('SELECT * FROM user_services WHERE user_id = ? AND service_id = ?'); $p->execute([$user_id, $service_id]); $subscription = $p->fetch(); if (!$subscription) { die('You are not subscribed to this service. Subscribe now'); } ?>

Voice Calls

This is where the voice call functionality would be.

You could have a feature to initiate calls, or view your call history.