mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
app_dial.c: Simplify dialplan using Dial.
Dialplan has to be careful about passing an empty destination list or empty positions in the list. As a result, dialplan has to check for these conditions before using Dial. Simplify dialplan by making Dial handle these conditions gracefully. * Made tolerate empty positions in the dialed device list. * Reduced some message log levels from notice to verbose. ASTERISK-28638 Change-Id: I6edc731aff451f8bdfaee5498078dd18c3a11ab9
This commit is contained in:
6
doc/CHANGES-staging/app_dial_empty_dial_list.txt
Normal file
6
doc/CHANGES-staging/app_dial_empty_dial_list.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Subject: app_dial
|
||||
|
||||
The Dial application now tolerates empty positions in the supplied
|
||||
destination list. Dialplan can now be simplified by not having to check
|
||||
for empty positions in the destination list. If there are no endpoints to
|
||||
dial then DIALSTATUS is set to CHANUNAVAIL.
|
||||
Reference in New Issue
Block a user