mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
clean up some of the mess from the RTP additions and add doxygen comments
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
46737750ab
commit
de88d7e8bd
4 files changed
+126
-14
No files matched your search
@@ -496,7 +496,7 @@ static switch_status channel_kill_channel(switch_core_session *session, int sig)
|
||||
ldl_session_terminate(tech_pvt->dlsession);
|
||||
}
|
||||
if (tech_pvt->rtp_session) {
|
||||
switch_rtp_killread(tech_pvt->rtp_session);
|
||||
switch_rtp_kill_socket(tech_pvt->rtp_session);
|
||||
}
|
||||
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "%s CHANNEL KILL\n", switch_channel_get_name(channel));
|
||||
}
|
||||
|
||||
@@ -820,7 +820,7 @@ static switch_status exosip_kill_channel(switch_core_session *session, int sig)
|
||||
switch_set_flag(tech_pvt, TFLAG_BYE);
|
||||
|
||||
if (tech_pvt->rtp_session) {
|
||||
switch_rtp_killread(tech_pvt->rtp_session);
|
||||
switch_rtp_kill_socket(tech_pvt->rtp_session);
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user