mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-17 12:17:00 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7161 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c3cd1de5fc
commit
a3ab8814b0
@ -311,9 +311,8 @@ static switch_status_t uuid_bridge_on_reset(switch_core_session_t *session)
|
|||||||
switch_channel_clear_flag(channel, CF_TRANSFER);
|
switch_channel_clear_flag(channel, CF_TRANSFER);
|
||||||
|
|
||||||
if (switch_channel_test_flag(channel, CF_ORIGINATOR)) {
|
if (switch_channel_test_flag(channel, CF_ORIGINATOR)) {
|
||||||
printf("XXXXXXXXXXXXXXXXXXXOK\n");
|
|
||||||
switch_channel_set_state(channel, CS_TRANSMIT);
|
switch_channel_set_state(channel, CS_TRANSMIT);
|
||||||
} else printf("XXXXXXXXXXXXXXXXXXXWTF\n");
|
}
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
@ -386,7 +385,7 @@ static switch_status_t uuid_bridge_on_transmit(switch_core_session_t *session)
|
|||||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Application-Data", "%s", switch_core_session_get_uuid(session));
|
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Application-Data", "%s", switch_core_session_get_uuid(session));
|
||||||
switch_event_fire(&event);
|
switch_event_fire(&event);
|
||||||
}
|
}
|
||||||
printf("XXXXXXXXXXXXXXXXXXXBLAH\n");
|
|
||||||
switch_ivr_multi_threaded_bridge(session, other_session, NULL, NULL, NULL);
|
switch_ivr_multi_threaded_bridge(session, other_session, NULL, NULL, NULL);
|
||||||
switch_core_session_rwunlock(other_session);
|
switch_core_session_rwunlock(other_session);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user