__('crm::lang.outcome_answered'), 'no_answer' => __('crm::lang.outcome_no_answer'), 'busy' => __('crm::lang.outcome_busy'), 'wrong_number' => __('crm::lang.outcome_wrong_number'), 'callback' => __('crm::lang.outcome_callback'), ]; } public function queue() { return $this->belongsTo(CrmCallQueue::class, 'queue_id'); } public function phoneFollowUp() { return $this->belongsTo(CrmPhoneFollowUp::class, 'phone_follow_up_id'); } public function user() { return $this->belongsTo(User::class, 'user_id'); } public function assessment() { return $this->hasOne(CrmCallAssessment::class, 'call_session_id'); } public function callLog() { return $this->belongsTo(CrmCallLog::class, 'call_log_id'); } }