argument('linkedid'); $this->info("Processing missed call: {$linkedid}"); $result = $service->processSingleMissedCall($linkedid); if ($result) { $this->info("✅ Successfully processed missed call: {$linkedid}"); $this->info(" Call ID: {$result->callid}"); $this->info(" Time: {$result->call_time}"); $this->info(" Queue: {$result->queue_description}"); $this->info(" Hangup Type: {$result->hangup_type}"); $this->info(" Status: {$result->status}"); $this->info(" Ring Time: {$result->ringtime} seconds"); $this->info(" Caller: {$result->caller_number}"); } else { $this->error("❌ Failed to process missed call: {$linkedid}"); $this->error(" Either call doesn't exist or it's not a missed call"); $this->error(" Check the logs for more details"); return Command::FAILURE; } return Command::SUCCESS; } }