In all cases where any law enforcement officer, as described in Section 15-13-122, who has custody of a defendant for which a surety presents to the officer a bondsman's process in order to place a detainer on the defendant, refuses to accept and place a detainer on the defendant or in detainer cases where the defendant is released and the surety is not notified or given the opportunity to arrest the defendant as set out in Section 15-13-122, the surety shall be exonerated of all liability on the bail by the court having jurisdiction over the bail.
Ala. Code § 15-13-123 (1975)