]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core/frame: generate correct T.140 payload in ast_sendtext_data()
authorneutrino88 <emmanuel.buu@ives.fr>
Wed, 3 Oct 2018 21:51:49 +0000 (17:51 -0400)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 5 Oct 2018 13:57:41 +0000 (08:57 -0500)
commite0496fe062a6563780b68a206e69a333b2ae5643
tree1ffa091899b8e07d3d9f2acb4631416d6eb4ed06
parent6fd21a6af6ae68bcff04abf31b6f7fc548f77519
core/frame: generate correct T.140 payload in ast_sendtext_data()

ast_sendtext_data() would create an incorrect T.140 text frame which
length include the null terminator byte. It causes ultimately RTP
packets to be send with this trailing 0. The proposed fix just set the
correct length to the text frame

ASTERISK-28089
Reported by: Emmanuel BUU
Tested by: Emmanuel BUU

Change-Id: I7ab1b9ed1e21683b2b667ea0a59d9aba3c77dd96
main/channel.c