mirror of git://git.sysmocom.de/ofono
Activate Speech Service for Option devices
This commit is contained in:
parent
7546557469
commit
b939d5e8d7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue