]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Add a DEVMODE RTP drop packets CLI command
authorKevin Harwell <kharwell@sangoma.com>
Fri, 5 Mar 2021 18:53:47 +0000 (12:53 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 31 Mar 2021 16:54:17 +0000 (11:54 -0500)
commitb86f1ef54ccd466c816319d995fcb8608e5164dd
treee3a2980c2be382eb13ed6b75b5fe8fe08f3fd321
parent623abc2b6a81d49f5796e81de50f339b8c5f1931
res_rtp_asterisk: Add a DEVMODE RTP drop packets CLI command

This patch makes it so when Asterisk is compiled in DEVMODE a CLI
command is available that allows someone to drop incoming RTP
packets. The command allows for dropping of packets once, or on a
timed interval (e.g. drop 10 packets every 5 seconds). A user can
also specify to drop packets by IP address.

Change-Id: I25fa7ae9bad6ed68e273bbcccf0ee51cae6e7024
res/res_rtp_asterisk.c