从log看到呼叫等待设置没有问题,但是查询时网络返回的域(service_class)不对,正常应该是1(voice),而不是17,如果返回该service_class,上层也不会显示为开启状态。
//激活呼叫等待
voice_set_sups_service {
voice_set_sups_service_reqTlvs[0] {
Type = 0x01
Length = 2
supplementary_service_info {
voice_service = VOICE_SERVICE_ACTIVATE
reason = VOICE_REASON_CALLWAITING
}
}
//OTA request
2017 May 31 09:23:54.525 [75] 0x713A UMTS UE OTA -- SS REGISTER
operation_code_length = 1 (0x1) //Activate SS
parameter[4] = 65 (0x41) // call waiting
//OTA response
2017 May 31 09:23:54.843 [95] 0x713A UMTS UE OTA -- RELEASE COMPLETE
parameter[4] = 65 (0x41) //call waiting
parameter[7] = 5 (0x5) //Provisioned,Active
//设置成功
voice_set_sups_service {
voice_set_sups_service_respTlvs[0] {
Type = 0x02
Length = 4
resp {
result = QMI_RESULT_SUCCESS
error = QMI_ERR_NONE
}
//OTA:query call waiting state
2017 May 31 09:23:56.808 [66] 0x713A UMTS UE OTA -- SS REGISTER
operation_code[0] = 14 (0xe) //Interrogate SS
parameter[4] = 65 (0x41) //call waiting
//OTA response
2017 May 31 09:23:56.937 [73] 0x713A UMTS UE OTA -- RELEASE COMPLETE
// get state successfully, but the service_class should not 17
voice_get_call_waiting {
voice_get_call_waiting_respTlvs[0] {
Type = 0x02
Length = 4
resp {
result = QMI_RESULT_SUCCESS
error = QMI_ERR_NONE
}
}
voice_get_call_waiting_respTlvs[1] {
Type = 0x10
Length = 1
service_class {
service_class = 17
}
}
// query call waiting come back
05-31 10:09:12.930 2586 2931 I QImsService: ImsSenderRxr : [0078]< REQUEST_QUERY_CALL_WAITING {1, 17}[SUB0]
|