]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't auto-disable, just warn
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 27 Mar 2009 22:45:17 +0000 (22:45 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 27 Mar 2009 22:45:17 +0000 (22:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12815 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index b88db591936385a5fc75b846e594165e0cb15801..42bd6a5a9262c319c19efd6216b7725fced3d28e 100644 (file)
@@ -993,8 +993,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
        switch (msg->message_id) {
        case SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY:
                if (tech_pvt->rtp_session && switch_rtp_test_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_PASS_RFC2833)) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Cannot pass 2833 on a transcoded call.\n");
-                       switch_rtp_clear_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_PASS_RFC2833);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Pass 2833 mode may not work on a transcoded call.\n");
                }
                goto end;