Add better support for relaying success or failure of the ast_transfer() API call.