From f9cde76095d29f6f8675507a33cbb1762ce72988 Mon Sep 17 00:00:00 2001 From: Giacinto Cifelli Date: Thu, 9 Aug 2018 09:00:51 +0200 Subject: [PATCH] ublox: Add voicecall support --- plugins/ublox.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/ublox.c b/plugins/ublox.c index cfcdd3f2..2b3fc5eb 100644 --- a/plugins/ublox.c +++ b/plugins/ublox.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include @@ -286,6 +287,14 @@ static void ublox_pre_sim(struct ofono_modem *modem) DBG("%p", modem); ofono_devinfo_create(modem, 0, "atmodem", data->aux); + /* + * Call support is technically possible only after sim insertion + * with the module online. However the EMERGENCY_SETUP procedure of + * the 3GPP TS_24.008 is triggered by the same AT command, + * and namely 'ATD112;' and 'ATD911;'. Therefore it makes sense to + * add the voice support as soon as possible. + */ + ofono_voicecall_create(modem, 0, "atmodem", data->aux); sim = ofono_sim_create(modem, data->vendor_family, "atmodem", data->aux);