]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix this .. thanks vpanayotov
authorBrian West <brian@freeswitch.org>
Thu, 31 Jul 2008 19:03:13 +0000 (19:03 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 31 Jul 2008 19:03:13 +0000 (19:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9213 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 8ee4ee48271cef491b4408966bcbd813fc4e3b8f..894921a0db24d5af145d48bcd797cafb9018883a 100644 (file)
@@ -707,7 +707,7 @@ static switch_status_t sofia_kill_channel(switch_core_session_t *session, int si
                        switch_rtp_break(tech_pvt->rtp_session);
                }
                if (switch_rtp_ready(tech_pvt->video_rtp_session)) {
-                       switch_rtp_break(tech_pvt->rtp_session);
+                       switch_rtp_break(tech_pvt->video_rtp_session);
                }
                break;
        case SWITCH_SIG_KILL: