diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-04-25 07:24:38 -0500 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-05-30 08:02:48 -0500 |
commit | ae3d37030a451eda2680af02cc63ba7bfbeeacbf (patch) | |
tree | 1e01e91941dd881d1ab4783d4f3dc0bedf259b22 /src/mm-base-call.h | |
parent | 56fe8e7d314c637d6df45f693e2377b18685a405 (diff) |
base-call: handle multiple DTMF characters
Send each character through the state machine one at a time. Some
modems (various Quectel ones for example) can process multiple at
the same time, and while that should be easily implemented using
the new changes to send_dtmf() it's not done in any plugin yet.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-base-call.h')
-rw-r--r-- | src/mm-base-call.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-base-call.h b/src/mm-base-call.h index 2e45ca5f..a9a6efc3 100644 --- a/src/mm-base-call.h +++ b/src/mm-base-call.h @@ -95,7 +95,8 @@ struct _MMBaseCallClass { const gchar *dtmf, GAsyncReadyCallback callback, gpointer user_data); - gboolean (* send_dtmf_finish) (MMBaseCall *self, + /* Returns the number of DTMF characters sent, or < 1 on error */ + gssize (* send_dtmf_finish) (MMBaseCall *self, GAsyncResult *res, GError **error); |