Replaced ending call procedure with wait_for_call_end
1. The part for ending call in call_setup_teardown_for_subscription
is replaced with wait_for_call_end to reduce duplicate.
2. A logical bug in wait_for_call_end is fixed, which will cause the
function returns immediately without runnning remaining part when
the call was dropped.
3. Try-except block in call_setup_teardown_for_subscription is
removed.
Bug: None
Test: Yes, locally
Change-Id: I6ce9ad0b3dd5114d9eaffd34733f73fd37ecdf0c
1 file changed