]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Only raise flash control frame on end.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 29 Mar 2021 22:52:08 +0000 (19:52 -0300)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 31 Mar 2021 16:54:54 +0000 (11:54 -0500)
commitb0d828f14a9dac183eb58fe45b72c32dc027658f
tree8a3dfa74acb6c0df8f8bfb9c27545389f3f385a0
parentb912b3185330cd5f03be711570541f6d66addf7d
res_rtp_asterisk: Only raise flash control frame on end.

Flash in RTP is conveyed the same as DTMF, just with a
specific digit. In Asterisk however we do flash as a
single control frame.

This change makes it so that only on end do we provide
the flash control frame to the core. Previously we would
provide a flash control frame on both begin and end,
causing flash to work improperly.

ASTERISK-29373

Change-Id: I1accd9c6e859811336e670e698bd8bd124f33226
res/res_rtp_asterisk.c