asterisk/apps
Naveen Albert 8ce1b7db3c app_dial: Fix dial status regression.
ASTERISK_28638 caused a regression by incorrectly aborting
early and overwriting the status on certain calls.
This was exhibited by certain technologies such as DAHDI,
where DAHDI returns NULL for the request if a line is busy.
This caused the BUSY condition to be incorrectly treated
as CHANUNAVAIL because the DIALSTATUS was getting incorrectly
overwritten and call handling was aborted early.

This is fixed by instead checking if any valid peers have been
specified, as opposed to checking the list size of successful
requests. This is because the latter could be empty but this
does not indicate any kind of problem. This restores the
previous working behavior.

ASTERISK-29989 #close

Change-Id: I4d4b209b967816b1bc791534593ababa2b99bb88
2022-07-01 10:19:13 -05:00
..
confbridge apps/confbridge: Added hear_own_join_sound option to control who hears sound_join 2022-05-02 15:44:58 -05:00
Makefile app_voicemail.c: Build all three variants for app_voicemail at the same time 2019-06-28 07:32:03 -06:00
app_adsiprog.c Fixes for GCC 9 2019-05-10 10:22:55 -06:00
app_agent_pool.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_alarmreceiver.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_amd.c app_amd: Fixed timeout issue 2019-11-19 10:07:44 -05:00
app_attended_transfer.c documentation: Fix non-matching module support levels. 2021-03-16 11:04:45 -05:00
app_audiosocket.c feat: AudioSocket channel, application, and ARI support. 2020-01-14 09:36:44 -06:00
app_authenticate.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_blind_transfer.c documentation: Fix non-matching module support levels. 2021-03-16 11:04:45 -05:00
app_bridgeaddchan.c app_bridgeaddchan.c: Make BridgeAdd be more like Bridge 2020-01-05 21:32:01 -06:00
app_bridgewait.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_cdr.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
app_celgenuserevent.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
app_chanisavail.c app_chanisavail.c: Simplify dialplan using ChanIsAvail. 2020-01-06 19:11:58 -06:00
app_channelredirect.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
app_chanspy.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_confbridge.c xmldocs: Improve examples. 2022-06-07 19:36:32 -05:00
app_controlplayback.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_dahdiras.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_db.c module: Remove deprecated modules and update support levels. 2018-07-18 18:15:53 +00:00
app_dial.c app_dial: Fix dial status regression. 2022-07-01 10:19:13 -05:00
app_dictate.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
app_directed_pickup.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
app_directory.c Compiler fixes for GCC with -Og 2020-11-03 17:07:42 -06:00
app_disa.c pbx: Add helper function to execute applications. 2022-06-27 10:42:29 -05:00
app_dtmfstore.c documentation: Adds versioning information. 2022-04-27 02:06:59 -05:00
app_dumpchan.c asterisk: Audit locking of channel when manipulating flags. 2017-05-16 14:25:23 +00:00
app_echo.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_exec.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
app_externalivr.c app_externalivr.c: Fix mixed leading whitespace in source code. 2021-09-21 11:46:36 -05:00
app_fax.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_festival.c GCC12: Fixes for 16+ 2022-05-09 08:21:58 -05:00
app_flash.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_followme.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
app_forkcdr.c apps: Spelling fixes 2021-11-15 14:39:42 -06:00
app_getcpeid.c app_getcpeid: Add build-time dependency. 2020-04-20 11:03:46 -05:00
app_ices.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_image.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_ivrdemo.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_jack.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_macro.c apps: Spelling fixes 2021-11-15 14:39:42 -06:00
app_meetme.c app_meetme: Don't erroneously set global variables. 2022-04-27 18:40:09 -05:00
app_mf.c documentation: Adds versioning information. 2022-04-27 02:06:59 -05:00
app_milliwatt.c app_milliwatt: Timing fix 2021-08-19 11:18:00 -05:00
app_minivm.c app_voicemail: Refactor email generation functions 2021-11-30 09:40:14 -06:00
app_mixmonitor.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_morsecode.c app_morsecode: Fix deadlock 2021-11-16 18:42:02 -06:00
app_mp3.c app_mp3: Document and warn about HTTPS incompatibility. 2022-02-23 12:24:03 -06:00
app_nbscat.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_originate.c app_originate: Add ability to set codecs 2021-08-19 09:09:22 -05:00
app_osplookup.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_page.c apps: Fix for Doxygen. 2021-11-18 10:38:16 -06:00
app_playback.c apps: Spelling fixes 2021-11-15 14:39:42 -06:00
app_playtones.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
app_privacy.c app_privacy: remove unused header asterisk/image.h 2017-08-02 17:08:48 -04:00
app_queue.c app_queue: Add music on hold option to Queue. 2022-04-08 16:34:12 -05:00
app_read.c app_read: Fix custom terminator functionality regression 2021-11-16 07:15:54 -05:00
app_readexten.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
app_record.c app_record: Do not hang up if beep audio is missing 2020-01-09 05:33:06 -06:00
app_reload.c documentation: Add since tag to xmldocs DTD 2022-02-25 13:03:58 -06:00
app_saycounted.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_sayunixtime.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_senddtmf.c app_senddtmf: Add receive mode to AMI Action PlayDTMF 2019-11-18 18:09:13 -05:00
app_sendtext.c documentation: Adds versioning information. 2022-04-27 02:06:59 -05:00
app_sf.c documentation: Adds versioning information. 2022-04-27 02:06:59 -05:00
app_skel.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
app_sms.c Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
app_softhangup.c app_softhangup.c: Reduce unnecessary warning to verbose message. 2020-01-05 21:09:03 -06:00
app_speech_utils.c xml: Embed module information into core XML documentation. 2021-03-16 10:31:16 -05:00
app_stack.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:38:23 -06:00
app_stasis.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:38:23 -06:00
app_statsd.c apps: Spelling fixes 2021-11-15 14:39:42 -06:00
app_stream_echo.c app_stream_echo: Fix state of added streams. 2020-06-19 09:15:44 -05:00
app_system.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_talkdetect.c documentation: Fix non-matching module support levels. 2021-03-16 11:04:45 -05:00
app_test.c apps: Spelling fixes 2021-11-15 14:39:42 -06:00
app_transfer.c chan_pjsip, app_transfer: Add TRANSFERSTATUSPROTOCOL variable 2021-01-27 11:42:10 -06:00
app_url.c policy: Add deprecation and removal versions to modules. 2021-08-16 11:48:10 -05:00
app_userevent.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_verbose.c logger: Add custom logging capabilities 2021-09-21 12:09:59 -05:00
app_voicemail.c app_voicemail: Add option to prevent message deletion. 2022-06-15 11:36:55 -05:00
app_voicemail.exports.in Remove some symbol exports that got missed in the removal of global symbols. 2012-06-15 15:33:41 +00:00
app_voicemail_imap.c app_voicemail.c: Build all three variants for app_voicemail at the same time 2019-06-28 07:32:03 -06:00
app_voicemail_imap.exports.in app_voicemail.c: Build all three variants for app_voicemail at the same time 2019-06-28 07:32:03 -06:00
app_voicemail_odbc.c app_voicemail.c: Build all three variants for app_voicemail at the same time 2019-06-28 07:32:03 -06:00
app_voicemail_odbc.exports.in app_voicemail.c: Build all three variants for app_voicemail at the same time 2019-06-28 07:32:03 -06:00
app_waitforcond.c documentation: Adds versioning information. 2022-04-27 02:06:59 -05:00
app_waitforring.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_waitforsilence.c documentation: Standardize examples 2021-11-30 11:49:43 -05:00
app_waituntil.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
app_while.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
app_zapateller.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
enter.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
leave.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00