]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Fix infinite loop when sending digits.
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 28 Aug 2023 17:51:23 +0000 (13:51 -0400)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 6 Sep 2023 16:56:00 +0000 (16:56 +0000)
commit7959c6479237d7a21b13007f80e33e34be766e8a
tree3bc8b3682b40efcb9359e523b8ff6a146470d2a4
parent7353462be3b316464db229884a46e4554e1edac0
app_dial: Fix infinite loop when sending digits.

If the called party hangs up while digits are being
sent, -1 is returned to indicate so, but app_dial
was not checking the return value, resulting in
the hangup being lost and looping forever until
the caller manually hangs up the channel. We now
abort if digit sending fails.

ASTERISK-29428 #close

Resolves: #281
(cherry picked from commit 4542ffe5d53aa3a7417d504ce391926be0f148ae)
apps/app_dial.c