mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
Merge pull request #1269 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10293-patchish-freetdm-audio-in-1-direction to master
* commit 'dabab9f25aa8b78676cb74b6efd93b0005c2de1d': FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls
This commit is contained in:
commit
b12bbbc98f
@ -1718,6 +1718,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
|
||||
our_chan = switch_core_session_get_channel(*new_session);
|
||||
|
||||
switch_channel_set_flag(our_chan, CF_AUDIO);
|
||||
|
||||
/* Figure out if there is a native bridge requested through SIP x headers */
|
||||
if (network_peer_uuid) {
|
||||
switch_core_session_t *network_peer = switch_core_session_locate(network_peer_uuid);
|
||||
@ -1847,6 +1849,8 @@ ftdm_status_t ftdm_channel_from_event(ftdm_sigmsg_t *sigmsg, switch_core_session
|
||||
return FTDM_FAIL;
|
||||
}
|
||||
|
||||
switch_channel_set_flag(channel, CF_AUDIO);
|
||||
|
||||
channel_caller_data->collected[0] = '\0';
|
||||
|
||||
if (zstr(channel_caller_data->cid_name)) {
|
||||
|
@ -366,6 +366,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't open span or channel.\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
switch_channel_set_flag(channel, CF_AUDIO);
|
||||
|
||||
span = ftdm_channel_get_span(chan);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user