To deal with congestion control in Internet Protocol (IP) networks, different active queue management schemes have been successfully proposed. However, many of these schemes do not take into consideration the particular Voice over Internet Protocol (VoIP) requirements, thereby potentially penalizing this traffic. In this paper, the authors propose and evaluate a dropping packet selection algorithm for queue management schemes. This algorithm, called Drop-SwD, protects VoIP traffic without affecting other User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) traffic. Additionally, to preserve the quality of the VoIP service, the proposed algorithm selects the lowest quality packets (with less impact on the subjective quality) to be dropped.