aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-modem-helpers-simtech.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-15 10:30:00 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-15 10:30:00 +0200
commit395b22178c4f6dd24d552e82d2d46dfb24c65297 (patch)
treeb2bfd84ac1fc1f23bf3c2455000d29a7b28ed236 /plugins/simtech/mm-modem-helpers-simtech.h
parent1a17996ccb3560c29e2a27c596ad0e9c7bbaaa61 (diff)
simtech: handle 'VOICE CALL' URCs
Just processing and parsing them for now, so that they don't interfere with other commands: $ sudo mmcli --call 1 --accept error: couldn't accept the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't accept the call: Unhandled response ' VOICE CALL: BEGIN''
Diffstat (limited to 'plugins/simtech/mm-modem-helpers-simtech.h')
-rw-r--r--plugins/simtech/mm-modem-helpers-simtech.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/simtech/mm-modem-helpers-simtech.h b/plugins/simtech/mm-modem-helpers-simtech.h
index 66e5c467..1a046f58 100644
--- a/plugins/simtech/mm-modem-helpers-simtech.h
+++ b/plugins/simtech/mm-modem-helpers-simtech.h
@@ -36,4 +36,13 @@ gboolean mm_simtech_parse_clcc_list (const gchar *str,
GError **error);
void mm_simtech_call_info_list_free (GList *call_info_list);
+/*****************************************************************************/
+/* VOICE CALL URC helpers */
+
+GRegex *mm_simtech_get_voice_call_urc_regex (void);
+gboolean mm_simtech_parse_voice_call_urc (GMatchInfo *match_info,
+ gboolean *start_or_stop,
+ guint *duration,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_SIMTECH_H */