提交 e85bce54 authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10477 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9de75889
...@@ -1134,8 +1134,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi ...@@ -1134,8 +1134,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
switch_mutex_lock(tech_pvt->sofia_mutex); switch_mutex_lock(tech_pvt->sofia_mutex);
if ((var = switch_channel_get_variable(tech_pvt->channel, "sip_refer_reply"))) { if ((var = switch_channel_get_variable(tech_pvt->channel, "sip_refer_reply"))) {
msg->string_reply = strdup(var); msg->string_reply = switch_core_session_strdup(session, var);
switch_set_flag(msg, SCSMF_FREE_STRING_REPLY);
} else { } else {
msg->string_reply = "no reply"; msg->string_reply = "no reply";
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论