refactor resampling in mod_local_stream

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13222 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-05-03 03:15:42 +00:00
parent b25d511cd3
commit 5267d785ed
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -1248,11 +1248,11 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
} else {
switch_set_string(ref_to, msg->string_arg);
}
switch_yield(10);
nua_refer(tech_pvt->nh, SIPTAG_REFER_TO_STR(ref_to), SIPTAG_REFERRED_BY_STR(tech_pvt->contact_url), TAG_END());
switch_mutex_unlock(tech_pvt->sofia_mutex);
sofia_wait_for_reply(tech_pvt, 9999, 300);
switch_mutex_lock(tech_pvt->sofia_mutex);
if ((var = switch_channel_get_variable(tech_pvt->channel, "sip_refer_reply"))) {
msg->string_reply = switch_core_session_strdup(session, var);
} else {