]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODENDP-213
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 22 Apr 2009 18:38:55 +0000 (18:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 22 Apr 2009 18:38:55 +0000 (18:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13119 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 3b780dba3b8e934169b8ea50f6ddf9891392b45d..99ed6a740bb1c1cdcfd2a0a184af7d1f8b4fe6e9 100644 (file)
@@ -1325,7 +1325,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
                                msg->string_arg = p;
                                switch_core_session_receive_message(session, msg);
                                goto end_lock;
-                       } else if (!switch_channel_test_flag(channel, CF_ANSWERED)) {                           
+                       } else {
                                if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) {
                                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Responding with %d [%s]\n", code, reason);
                                        if (!switch_strlen_zero(((char *) msg->pointer_arg))) {