git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@329 d0543943-73ff-0310-b7d9-9358b9ac24b2

This commit is contained in:
Anthony Minessale 2006-01-12 20:15:38 +00:00
parent 5340686782
commit c2b1cbfb02
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ static switch_status channel_answer_channel(switch_core_session *session)
tech_pvt = switch_core_session_get_private(session);
assert(tech_pvt != NULL);
if (switch_test_flag(tech_pvt, TFLAG_OUTBOUND)) {
if (!switch_test_flag(tech_pvt, TFLAG_OUTBOUND)) {
iax_answer(tech_pvt->iax_session);
}
return SWITCH_STATUS_SUCCESS;