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

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1269 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 88a25833
...@@ -412,12 +412,10 @@ static switch_status exosip_on_hangup(switch_core_session *session) ...@@ -412,12 +412,10 @@ static switch_status exosip_on_hangup(switch_core_session *session)
assert(tech_pvt != NULL); assert(tech_pvt != NULL);
deactivate_rtp(tech_pvt); deactivate_rtp(tech_pvt);
eXosip_lock(); eXosip_lock();
switch_core_hash_delete(globals.call_hash, tech_pvt->call_id); switch_core_hash_delete(globals.call_hash, tech_pvt->call_id);
switch_set_flag(tech_pvt, TFLAG_BYE); switch_set_flag(tech_pvt, TFLAG_BYE);
switch_clear_flag(tech_pvt, TFLAG_IO); switch_clear_flag(tech_pvt, TFLAG_IO);
i = eXosip_call_terminate(tech_pvt->cid, tech_pvt->did); i = eXosip_call_terminate(tech_pvt->cid, tech_pvt->did);
eXosip_unlock(); eXosip_unlock();
...@@ -426,8 +424,7 @@ static switch_status exosip_on_hangup(switch_core_session *session) ...@@ -426,8 +424,7 @@ static switch_status exosip_on_hangup(switch_core_session *session)
switch_core_codec_destroy(&tech_pvt->write_codec); switch_core_codec_destroy(&tech_pvt->write_codec);
} }
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "EXOSIP HANGUP %s %d/%d=%d\n", switch_channel_get_name(channel), switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "EXOSIP HANGUP %s %d/%d=%d\n", switch_channel_get_name(channel), tech_pvt->cid, tech_pvt->did, i);
tech_pvt->cid, tech_pvt->did, i);
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
......
...@@ -844,7 +844,7 @@ static const switch_state_handler_table audio_bridge_peer_state_handlers = { ...@@ -844,7 +844,7 @@ static const switch_state_handler_table audio_bridge_peer_state_handlers = {
/*.on_execute */ NULL, /*.on_execute */ NULL,
/*.on_hangup */ NULL, /*.on_hangup */ NULL,
/*.on_loopback */ NULL, /*.on_loopback */ NULL,
/*.on_transmit */ audio_bridge_on_transmit, /*.on_transmit */ audio_bridge_on_transmit
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论