From 5448a85a2bae32b6c9dfb82ac148904bf20fc209 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 11 Apr 2025 20:43:17 -0500 Subject: call: allow setting DTMF tone duration at call creation time Instead of hard-coding a 500ms DTMF tone duration, let applications use a specific duration at call setup time. Signed-off-by: Dan Williams --- libmm-glib/mm-call-properties.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmm-glib/mm-call-properties.h') diff --git a/libmm-glib/mm-call-properties.h b/libmm-glib/mm-call-properties.h index 12b4e330..1329ee3b 100644 --- a/libmm-glib/mm-call-properties.h +++ b/libmm-glib/mm-call-properties.h @@ -68,6 +68,10 @@ void mm_call_properties_set_number (MMCallProperties *self, const gchar *text); const gchar *mm_call_properties_get_number (MMCallProperties *self); +void mm_call_properties_set_dtmf_tone_duration (MMCallProperties *self, + const guint duration_ms); +guint mm_call_properties_get_dtmf_tone_duration (MMCallProperties *self); + /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ -- cgit v1.2.3-70-g09d2