]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Thu, 31 Aug 2023 13:20:03 +0000 (13:20 +0000)
commit4542ffe5d53aa3a7417d504ce391926be0f148ae
tree9cb81cd329bb1e6ccb6db5e4d9b6473266875ee9
parent36b749ddf8d346730685b082ad37ddcfa25eff1d
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