ofono/drivers/hfpmodem
Kuba Pawlak fc4088fb02 hfpmodem: Handle repeated held call indicator
An issue with iPhone 5C iOS 9.2 triggers desynchronization in call
states. When an active call is put on hold and another call arrives,
it is in WAITING state. It should be possible to answer it by issuing
AT+CHLD=2 but the phone changes its state to INCOMING so ATA should be
used. This change is advertised by sending callheld:2 event, but it is
not handled. This event can be used to trigger CLCC poll to synchronize
call states.

+CIEV: 3,1   <- first call arrives
AT+CLCC
+CLCC: 1,1,4,0,0,"01234567890",129
OK
RING
+CLIP: "01234567890",129
ATA
OK
+CIEV: 2,1
+CIEV: 3,0.
AT+CHLD=2.$  <- first call is put on hold
OK
+CIEV: 7,2   <- notification confirming that call #1 is on hold
+CCWA: "09876543210",129,1     <- second call arrives
+CIEV: 7,2
+CIEV: 3,1
AT+CLCC
+CLCC: 1,1,1,0,0,"01234567890",129
+CLCC: 2,1,5,0,0,"09876543210",129 <- new call is still in WAITING state
OK
+CIEV: 7,2 <- phone iternally promotes WAITING call to INCOMING
AT+CHLD=2  <- there is no WAITING call anymore, ATA should be used
+CME ERROR:3
2016-01-12 10:31:15 -06:00
..
call-volume.c hfpmodem: Avoid segfault in call-volume 2011-10-21 13:17:17 -05:00
devinfo.c hfpmodem: devinfo atom added to export BT address 2011-10-21 13:19:17 -05:00
handsfree.c hfpmodem: hfpmodem.c make sure to use none_prefix 2015-03-24 11:04:48 -05:00
hfpmodem.c git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
hfpmodem.h git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
network-registration.c hfpmodem: Make sure to set the prefix properly 2015-02-20 10:28:24 -06:00
siri.c git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
slc.c hfpmodem: slc.c: make sure to use none_prefix 2015-03-24 11:05:03 -05:00
slc.h hfp: Track supported / active indicators 2014-10-20 13:40:28 -05:00
voicecall.c hfpmodem: Handle repeated held call indicator 2016-01-12 10:31:15 -06:00