Check on active call is added for playing of DTMF feedback tones to notify user. Network DTMF tones are handled by modem, and therefore there is no need in special check for those. --- audio/telephony-maemo6.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index 85bb478..49d35fe 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -881,7 +881,10 @@ void telephony_transmit_dtmf_req(void *telephony_device, char tone) start_dtmf(telephony_device, tone); - start_feedback_tone(tone); + if (!find_call_with_status(CSD_CALL_STATUS_ACTIVE)) + error("No active call"); + else + start_feedback_tone(tone); } void telephony_subscriber_number_req(void *telephony_device) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html