On the SIMCom SIM7100E, setting AT+COLP=1 causes there to be no
response at all from "ATD...;" commands until the call is answered.
The results in oFono stalling rather than creating a new VoiceCall
object.

We fix this by adding SIMCOM to the list of vendors for whom we set
AT+COLP=0 rather than AT+COLP=1.
---
 drivers/atmodem/voicecall.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index e4c59c26..aa56f1ee 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -1120,6 +1120,7 @@ static int at_voicecall_probe(struct ofono_voicecall *vc, 
unsigned int vendor,
 
        switch (vd->vendor) {
        case OFONO_VENDOR_QUALCOMM_MSM:
+       case OFONO_VENDOR_SIMCOM:
                g_at_chat_send(vd->chat, "AT+COLP=0", NULL, NULL, NULL, NULL);
                break;
        default:
-- 
2.11.0

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to