]> 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:06 +0000 (13:20 +0000)
commitc032d38d3f09af4eff8fd601b8ad02ef6dbe058b
tree9c91753c9fa0e87d98b1e175da3c526c84631af6
parente9b269692fcd829f10c3d1e6aa2d10d3d4a8d7a7
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