Skip to content

Instantly share code, notes, and snippets.

@rik
Last active December 22, 2015 22:19
Show Gist options
  • Select an option

  • Save rik/6539602 to your computer and use it in GitHub Desktop.

Select an option

Save rik/6539602 to your computer and use it in GitHub Desktop.
I have a conference call with 2 participants, I receive a 3rd call. This is the RIL log when I call telephony.active.hold() and incomingCall.answer()
D/RILC ( 113): UI --- RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15) ---> RIL [RID 0, token id 701, data len 0]
D/RILC ( 113): RID 0 corresponds to as_id 0
D/RILC ( 113): [RID 0] ReqList entries :
D/RILC ( 113): RIL_REQUEST_QUERY_AVAILABLE_NETWORKS (48), token id 630
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 698
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 701
D/RILC ( 113): RIL=>AMSS [ label = "cm_mm_call_sups_per_subs()" ];
D/RILC ( 113): RID 0 MID 0 Received CM_CALLSVC_COMMAND_CALLBACK : Req ID 852
D/RILC ( 113): RID 0 MID 0 Queued event CM_COMMAND_CALLBACK (12 bytes)
D/RILC ( 113): qcril_event_main(): 1 items on queue
D/RILC ( 113): RID 0 MID 0 De-queued event CM_COMMAND_CALLBACK (65537)
D/RILC ( 113): RIL <--- CM_COMMAND_CALLBACK(65537), RID 0, MID 0 --- AMSS
D/RILC ( 113): Change the state of ReqList entry to AWAITING_MORE_AMSS_EVENTS state : RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), Token ID 701, pending CM_CALL_EVENT_MNG_CALLS_CONF (77867)
D/RILC ( 113): qcril_event_main(): Waiting...
D/RILC ( 113): RID 0 MID 0 Received callsvc event : CM_CALL_EVENT_SUPS (77828)
D/RILC ( 113): as_id 0 corresponds to RID 0
D/RILC ( 113): Route RID 0 for CM_CALL_EVENT_SUPS(77828), as_id 0
D/RILC ( 113): RID 0 MID 0 Queued event CM_CALL_EVENT_SUPS (2092 bytes)
D/RILC ( 113): qcril_event_main(): 1 items on queue
D/RILC ( 113): RID 0 MID 0 De-queued event CM_CALL_EVENT_SUPS (77828)
D/RILC ( 113): RIL <--- CM_CALL_EVENT_SUPS(77828), RID 0, MID 0 --- AMSS
D/RILC ( 113): qcril_event_main(): Waiting...
D/RILC ( 113): UI --- RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15) ---> RIL [RID 0, token id 702, data len 0]
D/RILC ( 113): RID 0 corresponds to as_id 0
D/RILC ( 113): [RID 0] ReqList entries :
D/RILC ( 113): RIL_REQUEST_QUERY_AVAILABLE_NETWORKS (48), token id 630
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 698
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 701
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 702
D/RILC ( 113): RIL=>AMSS [ label = "cm_mm_call_sups_per_subs()" ];
D/RILC ( 113): RID 0 MID 0 Received CM_CALLSVC_COMMAND_CALLBACK : Req ID 853
D/RILC ( 113): RID 0 MID 0 Queued event CM_COMMAND_CALLBACK (12 bytes)
D/RILC ( 113): qcril_event_main(): 1 items on queue
D/RILC ( 113): RID 0 MID 0 De-queued event CM_COMMAND_CALLBACK (65537)
D/RILC ( 113): RIL <--- CM_COMMAND_CALLBACK(65537), RID 0, MID 0 --- AMSS
D/RILC ( 113): Change the state of ReqList entry to AWAITING_MORE_AMSS_EVENTS state : RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), Token ID 702, pending CM_CALL_EVENT_MNG_CALLS_CONF (77867)
D/RILC ( 113): qcril_event_main(): Waiting...
D/RILC ( 113): RID 0 MID 0 Received callsvc event : CM_CALL_EVENT_SUPS (77828)
D/RILC ( 113): as_id 0 corresponds to RID 0
D/RILC ( 113): Route RID 0 for CM_CALL_EVENT_SUPS(77828), as_id 0
D/RILC ( 113): RID 0 MID 0 Queued event CM_CALL_EVENT_SUPS (2092 bytes)
D/RILC ( 113): qcril_event_main(): 1 items on queue
D/RILC ( 113): RID 0 MID 0 De-queued event CM_CALL_EVENT_SUPS (77828)
D/RILC ( 113): RIL <--- CM_CALL_EVENT_SUPS(77828), RID 0, MID 0 --- AMSS
D/RILC ( 113): qcril_event_main(): Waiting...
When I receive the third call
I/Gecko ( 3701): RIL Worker[0]: Received 4 bytes.
I/Gecko ( 3701): RIL Worker[0]: Already read 0
I/Gecko ( 3701): RIL Worker[0]: New incoming parcel of size 24
I/Gecko ( 3701): RIL Worker[0]: Read 0, but parcel size is 24. Going to sleep.
I/Gecko ( 3701): RIL Worker[0]: Received 24 bytes.
I/Gecko ( 3701): RIL Worker[0]: Already read 0
I/Gecko ( 3701): RIL Worker[0]: Parcel (size 24): 1,0,0,0,250,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
I/Gecko ( 3701): RIL Worker[0]: We have at least one complete parcel.
I/Gecko ( 3701): RIL Worker[0]: Unsolicited response for request type 1018
I/Gecko ( 3701): RIL Worker[0]: Handling parcel as UNSOLICITED_CALL_RING
I/Gecko ( 3701): -*- RadioInterface[0]: Received message from worker: {"rilMessageType":"callRing"}
I/Gecko ( 3701): RIL Worker[0]: Parcel handler didn't consume whole parcel, 16 bytes left over
I/Gecko ( 3701): RIL Worker[0]: Next parcel size unknown, going to sleep.
I/Gecko ( 3701): RIL Worker[0]: Received 4 bytes.
I/Gecko ( 3701): RIL Worker[0]: Already read 0
I/Gecko ( 3701): RIL Worker[0]: New incoming parcel of size 8
I/Gecko ( 3701): RIL Worker[0]: Read 0, but parcel size is 8. Going to sleep.
I/Gecko ( 3701): RIL Worker[0]: Received 8 bytes.
I/Gecko ( 3701): RIL Worker[0]: Already read 0
I/Gecko ( 3701): RIL Worker[0]: Parcel (size 8): 1,0,0,0,233,3,0,0
I/Gecko ( 3701): RIL Worker[0]: We have at least one complete parcel.
I/Gecko ( 3701): RIL Worker[0]: Unsolicited response for request type 1001
I/Gecko ( 3701): RIL Worker[0]: Handling parcel as UNSOLICITED_RESPONSE_CALL_STATE_CHANGED
I/Gecko ( 3701): RIL Worker[0]: New outgoing parcel of type 9
I/Gecko ( 3701): RIL Worker[0]: Outgoing parcel: 0,0,0,8,9,0,0,0,37,1,0,0
I/Gecko ( 3701): RIL Worker[0]: Next parcel size unknown, going to sleep.
I/Gecko ( 3701): RIL Worker[0]: Received 256 bytes.
I/Gecko ( 3701): RIL Worker[0]: Already read 0
I/Gecko ( 3701): RIL Worker[0]: New incoming parcel of size 252
I/Gecko ( 3701): RIL Worker[0]: Parcel (size 252): 0,0,0,0,37,1,0,0,0,0,0,0,3,0,0,0,0,0,0,0,1,0,0,0,145,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,12,0,0,0,43,0,51,0,51,0,49,0,56,0,52,0,56,0,56,0,51,0,55,0,51,0,55,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,129,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,8,0,0,0,52,0,56,0,49,0,53,0,54,0,49,0,56,0,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,3,0,0,0,129,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,8,0,0,0,52,0,56,0,49,0,52,0,49,0,56,0,55,0,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
I/Gecko ( 3701): RIL Worker[0]: We have at least one complete parcel.
I/Gecko ( 3701): RIL Worker[0]: Solicited response for request type 9, token 293, error 0
I/Gecko ( 3701): RIL Worker[0]: Handling parcel as REQUEST_GET_CURRENT_CALLS
I/Gecko ( 3701): -*- RadioInterface[0]: Received message from worker: {"rilMessageType":"callStateChange","call":{"state":5,"callIndex":3,"toa":129,"isMpty":false,"isMT":true,"als":0,"isVoice":true,"isVoicePrivacy":false,"number":"48141876","numberPresentation":0,"name":"","namePresentation":0,"uusInfo":null,"isEmergency":false,"isConference":false}}
I/Gecko ( 3701): TelephonyProvider: handleCallStateChange: {"state":5,"callIndex":3,"toa":129,"isMpty":false,"isMT":true,"als":0,"isVoice":true,"isVoicePrivacy":false,"number":"48141876","numberPresentation":0,"name":"","namePresentation":0,"uusInfo":null,"isEmergency":false,"isConference":false}
I/Gecko ( 3701): RIL Worker[0]: Next parcel size unknown, going to sleep.
I/Gecko ( 3701): TelephonyProvider: Incoming call, put audio system into PHONE_STATE_RINGTONE: 1
When I call telephony.active.hold() and incomingCall.answer()
I/Gecko ( 3701): RIL Worker[0]: Received chrome message {"rilMessageToken":35,"rilMessageType":"holdConference"}
I/Gecko ( 3701): RIL Worker[0]: New outgoing parcel of type 15
I/Gecko ( 3701): RIL Worker[0]: Outgoing parcel: 0,0,0,8,15,0,0,0,38,1,0,0
I/Gecko ( 3701): RIL Worker[0]: Received chrome message {"callIndex":3,"rilMessageToken":36,"rilMessageType":"answerCall"}
I/Gecko ( 3701): RIL Worker[0]: New outgoing parcel of type 15
I/Gecko ( 3701): RIL Worker[0]: Outgoing parcel: 0,0,0,8,15,0,0,0,39,1,0,0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment