WHISTLE-1827: add type for fsm state, and explicitly call clear_call/2
WHISTLE-1827: refactor handling of route_req in the agent_fsm