In this study the definition of default is based on the occupation time of the firm's asset value staying below a certain barrier. The information structure is characterized by discrete observation of the asset value and an unobservable default barrier. We investigate the joint density of occupation time, the first/last hitting time and the value at maturity, to provide a more realistic way to calculate the default intensity and the price of default-able corporate bonds.