Updated for latest Asterisk patch.