I've been reading up on collision avoidance systems, as used in aircraft (TCAS), and as proposed for UAV's. Seems a few players have tried and not yet come up with the goods. But one company have an obstacle avoidance thing, specifically for Phantoms.
http://www.panoptesuav.com/
http://www.panoptesuav.com/