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

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7806 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 4af04f82
...@@ -1428,6 +1428,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status ...@@ -1428,6 +1428,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
msg.pointer_arg_size = strlen(r_sdp); msg.pointer_arg_size = strlen(r_sdp);
} }
if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) { if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END()); nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
} }
switch_core_session_rwunlock(other_session); switch_core_session_rwunlock(other_session);
...@@ -1771,6 +1772,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, ...@@ -1771,6 +1772,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
msg.string_arg = (char *) r_sdp; msg.string_arg = (char *) r_sdp;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Passing SDP to other leg.\n%s\n", r_sdp); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Passing SDP to other leg.\n%s\n", r_sdp);
if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) { if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END()); nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
} }
switch_core_session_rwunlock(other_session); switch_core_session_rwunlock(other_session);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论