]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Don't assume setting retrans props means to enable.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 8 Jun 2020 11:27:53 +0000 (08:27 -0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 11 Jun 2020 23:06:22 +0000 (18:06 -0500)
commit49b204ed8a2ed64509712442ab281a0ebb5fcf2a
tree635ae86b902a2c211b2f9cff04cb0805f6b63474
parentef608dec78c7da3ce1d8baed9c277cff29f7ece3
res_rtp_asterisk: Don't assume setting retrans props means to enable.

The "value" passed in when setting an RTP property determines
whether it should be enabled or disabled. The RTP send and
receive retrans props did not examine this to know if the
buffers should be enabled. They assumed they always should be.

This change makes it so that the "value" passed in is
respected.

ASTERISK-28939

Change-Id: I9244cdbdc5fd065c7f6b02cbfa572bc55c7123dc
res/res_rtp_asterisk.c