dont leak the xml structure if answer fails
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12624 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e211789531
commit
09e73f807d
|
@ -216,7 +216,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_channel_pre_answer(channel) != SWITCH_STATUS_SUCCESS) {
|
if (switch_channel_pre_answer(channel) != SWITCH_STATUS_SUCCESS) {
|
||||||
return SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (input && !done) {
|
while (input && !done) {
|
||||||
|
|
Loading…
Reference in New Issue