Our IoT devices are equipped with advanced audio sensors capable of distinguishing and detecting gunshots. The embedded gunshot recognition algorithm has been machine-learned using over 60,000 pistol and shotgun sound samples. By comparing the differences in gunshot intensity detected by each device, the solution determines the shooter's location. Following the initial gunshot, our solution predicts all possible movements of the active shooter and provides real-time evacuation directions.