Activate Speech Service for Option devices

This commit is contained in:
Marcel Holtmann 2009-12-10 02:56:16 +01:00
parent 7546557469
commit b939d5e8d7
1 changed files with 16 additions and 0 deletions

View File

@ -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;