Collision with different friction materials in top-down game

Hi, I already know that general solution to simulate friction in top-down game using box2d is to set gravity to zero and use damping.
What if I need to have areas with different frictions in my world, and the game object's friction(damping) should depend on which areas it is going through now?
I understand general solution could be to use sensors to define such areas and determines collisions with them.
Then to determine contact with such area and apply another damping value (which somehow correspond to the area friction),
if there is no contact - apply previous damping. Does it will work?

Or it would be better to make self logic outside of world->step, like:
- if the body inside specific area - then apply specific damping;
- if outside - return previous.

Pls give me your opinion.

Original thread: https://box2d.org/forum/viewtopic.php?t=4385