mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9792 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1ba7315f71
commit
f45cac0c10
@ -242,6 +242,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
|
|||||||
switch_set_flag_locked(b_tech_pvt, TFLAG_OUTBOUND);
|
switch_set_flag_locked(b_tech_pvt, TFLAG_OUTBOUND);
|
||||||
|
|
||||||
switch_channel_set_flag(channel, CF_ACCEPT_CNG);
|
switch_channel_set_flag(channel, CF_ACCEPT_CNG);
|
||||||
|
switch_ivr_transfer_variable(session, tech_pvt->other_session, "process_cdr");
|
||||||
|
|
||||||
if (switch_core_session_thread_launch(b_session) != SWITCH_STATUS_SUCCESS) {
|
if (switch_core_session_thread_launch(b_session) != SWITCH_STATUS_SUCCESS) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Error spawning thread\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Error spawning thread\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user