err("_callmgr_audio_create_call_sound_session() failed");
}
+#if 0
+ /*
+ * In case of TM1 device, audio routing logic should be handled
+ * by multimedia framework not telephony to support local ringback tone play
+ * during call establishment. In this case, "START" signal will be invoked from multimedia.
+ * so, audio routing logic will be triggered not here.
+ */
_callmgr_audio_get_audio_route(core_data->audio_handle, &route);
if (route == CALLMGR_AUDIO_ROUTE_NONE_E) {
_callmgr_audio_is_sound_device_available(core_data->audio_handle, CALLMGR_AUDIO_DEVICE_BT_E, &is_bt_connected);
else
__callmgr_core_set_default_audio_route(core_data);
}
+#endif
if (core_data->call_status != CALL_MANAGER_CALL_STATUS_OFFHOOK_E) {
__callmgr_core_set_call_status(core_data, CALL_MANAGER_CALL_STATUS_OFFHOOK_E, cm_call_type, NULL);
if (ringbacktone_info == 1) {
_callmgr_ringer_play_local_ringback_tone(core_data->ringer_handle);
+ } else if (ringbacktone_info == 0) {
+ _callmgr_ringer_stop_local_ringback_tone(core_data->ringer_handle);
}
}
break;