mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
Merge branch 'master' of fs-git:freeswitch
This commit is contained in:
@@ -6740,6 +6740,8 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
||||
switch_core_event_hook_add_state_change(a_session, xfer_hanguphook);
|
||||
switch_channel_set_variable(a_channel, "att_xfer_kill_uuid", switch_core_session_get_uuid(b_session));
|
||||
switch_channel_set_variable(a_channel, "att_xfer_destination_number", prof->destination_number);
|
||||
switch_channel_set_variable(a_channel, "att_xfer_callee_id_name", prof->callee_id_name);
|
||||
switch_channel_set_variable(a_channel, "att_xfer_callee_id_number", prof->callee_id_number);
|
||||
|
||||
if (profile->media_options & MEDIA_OPT_BYPASS_AFTER_ATT_XFER) {
|
||||
switch_channel_set_flag(a_channel, CF_BYPASS_MEDIA_AFTER_BRIDGE);
|
||||
|
||||
@@ -3251,14 +3251,13 @@ void switch_core_sqldb_stop(void)
|
||||
|
||||
switch_event_unbind_callback(core_event_handler);
|
||||
|
||||
switch_core_sqldb_stop_thread();
|
||||
|
||||
|
||||
if (sql_manager.db_thread && sql_manager.db_thread_running) {
|
||||
sql_manager.db_thread_running = -1;
|
||||
switch_thread_join(&st, sql_manager.db_thread);
|
||||
}
|
||||
|
||||
switch_core_sqldb_stop_thread();
|
||||
|
||||
switch_cache_db_flush_handles();
|
||||
sql_close(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user