public function detect_carrier($my_number = '', $id = FALSE)
    {
        $my_number = trim($my_number);
        if (empty($my_number)) {
            return NULL;
        }
        try {
            $phoneNumber = new PhoneNumber();
            $phoneNumber->setDebugStatus($this->DEBUG);
            $phoneNumber->setLoggerPath($this->loggerPath);
            $phoneNumber->__construct();
            if ($id === TRUE) {
                $result = $phoneNumber->detect_carrier($my_number, 'id');
                $this->_debug->info(__FUNCTION__, 'Result: ' . $result);

                return $result;
            }
            $phoneNumber->setNormalName(TRUE);
            $result = $phoneNumber->detect_carrier($my_number);
            $this->_debug->info(__FUNCTION__, 'Result: ' . $result);

            return $result;
        }
        catch (\Exception $e) {
            $message = 'Error File: ' . $e->getFile() . ' - Line: ' . $e->getLine() . ' - Code: ' . $e->getCode() . ' - Message: ' . $e->getMessage();
            if (function_exists('log_message')) {
                log_message('error', $message);
            }
            $this->_debug->error(__FUNCTION__, $message);

            return NULL;
        }
    }