From c2b1cbfb0241bed79f61eabc2b14167e6a5c9040 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 12 Jan 2006 20:15:38 +0000 Subject: [PATCH] git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@329 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_iaxchan/mod_iaxchan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_iaxchan/mod_iaxchan.c b/src/mod/endpoints/mod_iaxchan/mod_iaxchan.c index c7d2197d47..2a19ae4499 100644 --- a/src/mod/endpoints/mod_iaxchan/mod_iaxchan.c +++ b/src/mod/endpoints/mod_iaxchan/mod_iaxchan.c @@ -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;