summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-10 02:56:16 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-12-10 02:56:16 +0100
commitb939d5e8d7bad4e01c672504b43ad137fbcba9f0 (patch)
tree7e2d974066c8fc072f7e059f52810c41590542f2
parent75465574697e2479b66781756da2927217d9f538 (diff)
downloadofono-b939d5e8d7bad4e01c672504b43ad137fbcba9f0.tar.bz2
Activate Speech Service for Option devices
-rw-r--r--drivers/atmodem/network-registration.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index a62981ec..7eccd9b3 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -683,6 +683,22 @@ static void at_network_registration_initialized(gboolean ok, GAtResult *result,
NULL, NULL, NULL);
g_at_chat_send(nd->chat, "AT_OSQI?", none_prefix,
NULL, NULL, NULL);
+
+ /*
+ * Option has the concept of Speech Service versus
+ * Data Service. Problem is that in Data Service mode
+ * the card will reject all voice calls. This is a
+ * problem for Multi-SIM cards where one of the SIM
+ * cards is used in a mobile phone and thus incoming
+ * calls would be not signalled on the phone.
+ *
+ * 0 = Speech Service enabled
+ * 1 = Data Service only mode
+ */
+ g_at_chat_send(nd->chat, "AT_ODO?", none_prefix,
+ NULL, NULL, NULL);
+ g_at_chat_send(nd->chat, "AT_ODO=0", none_prefix,
+ NULL, NULL, NULL);
break;
default:
break;