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);
return FTDM_FAIL;
}
+ switch_channel_set_flag(channel, CF_AUDIO);
+
channel_caller_data->collected[0] = '\0';
if (zstr(channel_caller_data->cid_name)) {
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);