Have to go Kallis here. Kallis vs Wasim is what kyear wishes Imran vs Sobers was.
I'd personally put the primary skillset in favor of Kallis, but even if you didn't and went with a wash for primary skillet, they greatly diverge on secondary.
292 wickets at an average of over 32 at the very least qualifies for an all-rounder. Wasim's batting I think falls short of that, despite being useful and healthily better than some other lower order would be pretenders.
And then we should add fielding, where Kallis was an excellent catcher, to put him ahead.
If we want to add captaincy, I think Kallis's non captaincy should be roughly equal to Wasim's somewhat mediocre, but highly divisive stint.
All told, pretty comfortable in Kallis's favor, for mine, disregarding the vagaries of comparing bowler to batsman.