]> 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)
committerneutrino88 <emmanuel.buu@ives.fr>
Thu, 4 Oct 2018 07:34:16 +0000 (03:34 -0400)
commit1359f673bbd8feaa362ad0c07cea357d234d6176
tree7416bca03cfa61ac4901179243e03d80a2910ed5
parent6f44c996ae95029d30e2cb399fb1c90f28954693
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