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
Test: Yes, locally
1 file changed