In all cases of misdemeanors and felonies, unless otherwise specified, the defendant is, before conviction, entitled to bail as a matter of right. All sheriffs and police chiefs of this state shall ensure that one of their officers or themselves are available to approve and accept bail 24 hours each day, seven days a week, except during the hours the clerks of the courts provide personnel for bail acceptance and approval.
Ala. Code § 15-13-108 (1975)