]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Thu, 31 Aug 2023 13:20:10 +0000 (13:20 +0000)
commitd60cec624979bb170101cee0945ad23f6cc76900
tree6a44d43a160db885cca0fd918acef81ffe9fe3fc
parentfce68211068ccf7a20639f621fd8ee77af626cf4
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
apps/app_dial.c