Sam Stosur will call time on her distinguished tennis career after a 21st Australian Open campaign.