Hi Frédéric, On 07/19/2011 11:10 AM, Frédéric Danis wrote: > Fix PTS test TP/TWC/BV-03-I [Call Waiting- Hold Active/Retrieve > Waiting Call or Held]. > > PTS test fails after receiving intermediate update of callheld indicator > with value 0 (no held call) before it receives update to value 1 > (active and held calls). This is due to the non-atomic update of calls > status after call swap (moving first call to active state before moving > second one to hold state). > > HFP 1.5 spec specifies that an update of callheld indicator to 1 should > be sent after AT+CHLD=2 command. > As oFono emulator sends +CIEV only if the indicator value changes, we > need to use an intermediate state for callheld indicator (2, all calls on > hold). > > So, in case of multiple active calls, or an active call with an active > mutiparty call, force update of callheld indicator to 2. > --- > src/voicecall.c | 20 ++++++++++++++++++++ > 1 files changed, 20 insertions(+), 0 deletions(-) > Patch has been applied, thanks. Regards, -Denis