Extensions don't end calls when they should

First, make sure that this doesn’t apply to your installation.

This problem causes Asterisk to go catatonic and a reboot is required.