-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dial_progress: Fix originate and improve test robustness.
* Fix originate to extension '0' instead of 's' as in dialplan. * Eliminate the Fail UserEvent if we continue past the pass dials. Previously, the test suite would initiate shutdown as soon as 2 passes were received, which caused the answer dial channel allocation to fail, leading dialplan execution to continue onwards to stuff it wasn't supposed to execute in a successful test, triggering a failure. To test the same scenario, explicitly continue onwards and check DIALSTATUS for an additional pass, which should prevent us from getting shut down before the test has concluded. * Fix test so that it doesn't exit prematurely.
- Loading branch information
1 parent
e930bd9
commit bd853d6
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters