It can be done in real-time and really needs 3 towers that have accurate time (GSM towers to my knowledge do use GPS derived accurate time). For this rather than direction/signal strength it uses the minute difference in arrival time for a signal between towers and works like an inverse GPS to calculate position.