add new features like realtime 2026-05-29-01

This commit is contained in:
Hamza-Ayed
2026-05-29 01:17:14 +03:00
parent 5821ab1ab2
commit b601f3f2ea
2 changed files with 18 additions and 8 deletions

View File

@@ -110,10 +110,15 @@ try {
);
}
printSuccess('Call session created successfully', [
echo json_encode([
'status' => 'success',
'message' => 'Call session created successfully',
'data' => [
'session_id' => $sessionId,
'expires_in' => $sessionData['expires_in'] ?? 60
]);
]
], JSON_UNESCAPED_UNICODE);
exit;
} catch (Throwable $e) {
error_log("[driver_create_call_session.php] Critical exception: " . $e->getMessage());

View File

@@ -115,10 +115,15 @@ try {
);
}
printSuccess('Call session created successfully', [
echo json_encode([
'status' => 'success',
'message' => 'Call session created successfully',
'data' => [
'session_id' => $sessionId,
'expires_in' => $sessionData['expires_in'] ?? 60
]);
]
], JSON_UNESCAPED_UNICODE);
exit;
} catch (Throwable $e) {
error_log("[passenger_create_call_session.php] Critical exception: " . $e->getMessage());