redo some stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10206 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-10-30 22:40:39 +00:00
parent e708b762dc
commit 81c1dc0de9
11 changed files with 60 additions and 52 deletions
+2 -4
View File
@@ -1702,9 +1702,7 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_f
const char *var;
switch_assert(tech_pvt != NULL);
switch_core_session_signal_lock(tech_pvt->session);
switch_mutex_lock(tech_pvt->sofia_mutex);
if ((var = switch_channel_get_variable(tech_pvt->channel, SOFIA_SECURE_MEDIA_VARIABLE)) && switch_true(var)) {
switch_set_flag_locked(tech_pvt, TFLAG_SECURE);
@@ -2027,7 +2025,7 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_f
end:
switch_core_session_signal_unlock(tech_pvt->session);
switch_mutex_unlock(tech_pvt->sofia_mutex);
return status;