CPC H04L 47/24 (2013.01) [H04L 47/32 (2013.01); H04L 65/65 (2022.05)] | 19 Claims |
1. A media packet forwarding method, performed by a forwarding server, the method comprising:
receiving a RTP (real-time transport protocol) media packet;
determining a type of the received RTP media packet;
determining a priority of the received RTP media packet according to the type of the received RTP media packet;
determining an RTP media packet having a higher priority among the received RTP media packet and an RTP media packet being currently forwarded, and forwarding the determined RTP media packet having the higher priority, wherein RTP media packets are classified into three types: a call voice packet, an interactive voice response (IVR) voice packet, and a dual-tone multi-frequency (DTMF) packet, a priority of the IVR packet is higher than a priority of the DTMF packet, and the priority of the DTMF packet is higher than a priority of the call voice packet; and
operating in a first state indicating an initial state, a second state indicating that the RTP media packet being currently forwarded is the call voice packet, a third state indicating that the RTP media packet being currently forwarded is the DTMP voice packet, and a fourth state indicating that the RTP media packet being currently forwarded is the IVR voice packet.
|