]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_mf, app_sf: Return -1 if channel hangs up.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 5 Mar 2022 01:41:30 +0000 (01:41 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 8 Apr 2022 21:34:46 +0000 (16:34 -0500)
commit9024bb989b2776014213c4e7577f9ba06e208403
tree879e989a909cd6aacf26438f41b540221949518d
parentb7edc08e33f7ffb832d32a54825f0b699098d0ef
app_mf, app_sf: Return -1 if channel hangs up.

The ReceiveMF and ReceiveSF applications currently always
return 0, even if a channel has hung up. The call will still
end but generally applications are expected to return -1 if
the channel has hung up.

We now return -1 if a hangup occured to bring this behavior
in line with this norm. This has no functional impact, but
merely increases conformity with how these modules interact
with the PBX core.

ASTERISK-29951 #close

Change-Id: I234d755050ab8ed58f197c6925b968ba26b14033
apps/app_mf.c
apps/app_sf.c