can not dial emergency number when enable airplane mode

RESOLVED FIXED in Firefox 25

Status

defect
P2
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: sync-1, Assigned: gerard-majax)

Tracking

unspecified
1.1 QE5
Dependency tree / graph

Firefox Tracking Flags

(blocking-b2g:leo+, firefox23 wontfix, firefox24 wontfix, firefox25 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed)

Details

Attachments

(2 attachments, 1 obsolete attachment)

Reporter

Description

6 years ago
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.152
 Firefox os  v1.1
 Mozilla build ID:20130702230206
 
 Created an attachment (id=460207)
 log
 
 DEFECT DESCRIPTION:
 There is no warning MO a call and can not dial emergency number when enable airplane mode
 
  REPRODUCING PROCEDURES:
 1.Enable airplane mode
 2.dial a emergency call(911,112),can not dial out directly--KO1
 3.dial ordinary number(10010),there is no warning--KO2
 
  EXPECTED BEHAVIOUR:
 KO1:Can dial emergency call directly
 KO2:Pop up some warning,such as "Turn off the airplan mode"
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 3/3
  For FT PR, Please list reference mobile's behavior:

Updated

6 years ago
blocking-b2g: --- → leo?
Reporter

Comment 1

6 years ago
Clone from brother
leo+ as written for KO1. Please file KO2 separately.

Anthony, can you take a look on behalf of your team? This will be very difficult for QA to find a regression window for (unless you don't believe this is a regression).
Assignee: nobody → anthony
blocking-b2g: leo? → leo+
Summary: [Buri][Call][Airplane mode]There is no warning MO a call and can not dial emergency number when enable airplane mode → can not dial emergency number when enable airplane mode
What I'm seeing here on an Unagi once I press Call:
- The SIM PIN screen shows up.
- Once I enter my PIN code, an alert shows up saying "Emergency calls are not allowed by the network" and the call is not made.

If I disable the PIN code lock, it will turn on the radio but I'm still seeing the same alert message.

We call mozTelephony.dialEmergency() for this call so it might be Gecko/RIL related.
Assignee

Comment 5

6 years ago
Posted file adb logcat -b radio (obsolete) —
After discussing with Anthony we investigated a bit further and it would suggest there is some race condition between the moment we place the call and the moment the network is effectively connected.

Attached is the logcat -b radio log, vicamo could you please give us your feedback on this one?

In this log, on line 699, we can see the call being placed to 112. Then around line 830, we can see two messages stating call being rejected:
   827 D/RILC    (  115): UI --- RIL_REQUEST_REGISTRATION_STATE (20) ---> RIL [RID 0, token id 3968, data len 0]
   828 D/RILC    (  115): RID 0 voice tech: gw modem id=0, ma=Multimode(0), net_pref=GSM WCDMA preferred(0)
   829 D/RILC    (  115): Current System : srv status 1, sys mode 5, roam status 1, srv domain 0, srv cap 3, IDM 0, hybrid 0, hdr srv status 0 managed roaming 0, mode pref 19
   830 D/RILC    (  115): NO SERVICE
   831 D/RILC    (  115): Reject cause value = 0, Registration status = Not registered/Actively searching
   832 D/RILC    (  115): Reject cause value sent to UI = 0
   833 D/RILC    (  115): Registration State: Not registered/Actively searching, RadioTech: Unknown, LAC: (null), CID: (null), BSID: (null), BSLat: (null), BSLong: (null)
   834 D/RILC    (  115):                     CCS: (null), SID: (null), NID: (null), RoamStatus: (null), PRL: (null), DefRoamStatus: (null), RejReason: 0
   835 D/RILC    (  115): UI <--- RIL_REQUEST_REGISTRATION_STATE (20) Complete --- RIL [RID 0, Token 3968, Success, Len 60 Not registered/Actively searching]
   836 D/RILC    (  115): UI --- RIL_REQUEST_DATA_REGISTRATION_STATE (21) ---> RIL [RID 0, token id 3969, data len 0]
   837 D/RILC    (  115): RID 0 data tech: gwl modem id=0, pdt modem id=1, pdt=LTE only(-1), ma=Multimode(0), net_pref=GSM WCDMA preferred(0)
   838 D/RILC    (  115): Current System : srv status 1, sys mode 5, roam status 1, srv domain 0, srv cap 3, IDM 0, hybrid 0, hdr srv status 0 managed roaming 0, mode pref 19
   839 D/RILC    (  115): NO SERVICE
   840 D/RILC    (  115): Reject cause value = 0, Registration status = Not registered/Actively searching
   841 D/RILC    (  115): Reject cause value sent to UI = 0
   842 D/RILC    (  115): Registration State: Not registered/Actively searching, RadioTech: Unknown, LAC: (null), CID: (null), BSID: (null), BSLat: (null), BSLong: (null)
   843 D/RILC    (  115):                     CCS: (null), SID: (null), NID: (null), RoamStatus: (null), PRL: (null), DefRoamStatus: (null), RejReason: 0
   844 D/RILC    (  115): UI <--- RIL_REQUEST_DATA_REGISTRATION_STATE (21) Complete --- RIL [RID 0, Token 3969, Success, Len 24 Not registered/Actively searching]
   845 D/RILC    (  115): UI --- RIL_REQUEST_OPERATOR (22) ---> RIL [RID 0, token id 3970, data len 0]
   846 D/RILC    (  115): RID 0 voice srv: modem id=0, ma=Multimode(0), net_pref=GSM WCDMA preferred(0)
   847 D/RILC    (  115): voip_supported = 0
   848 D/RILC    (  115): Reply to RIL --> Current operator full name : (null)
   849 D/RILC    (  115): Reply to RIL --> Current operator short name : (null)
   850 D/RILC    (  115): Reply to RIL --> Current operator MCCMNC : (null)
Attachment #780319 - Flags: feedback?(vyang)
Assignee

Comment 6

6 years ago
I've added some more debug on RIL in gecko, and here is what I found:

alex@portable-alex:/media/alex/FirefoxOS/Inari/B2G$ egrep -i "dial|call_fail|signal strength|voiceRegistrationState network info message" ril.emergency.txt 
I/Gecko   (  598): RIL Worker: Received DOM message {"rilMessageType":"dial","number":"112","isDialEmergency":true}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":255,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":21,"gsmBitErrorRate":255,"gsmDBM":-71,"gsmRelative":67,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: 1374665648495: sending dial request parcel
I/Gecko   (  598): RIL Worker: 1374665648496: sending dial request parcel
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":21,"gsmBitErrorRate":255,"gsmDBM":-71,"gsmRelative":67,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":21,"gsmBitErrorRate":255,"gsmDBM":-71,"gsmRelative":67,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Handling parcel as REQUEST_DIAL
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":21,"gsmBitErrorRate":255,"gsmDBM":-71,"gsmRelative":67,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Handling parcel as REQUEST_LAST_CALL_FAIL_CAUSE
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":0,"state":"notSearching","connected":false,"roaming":false,"emergencyCallsOnly":true,"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1},"radioTech":0,"type":null,"rilMessageType":"voiceregistrationstatechange"}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":2,"state":"registered","connected":false,"roaming":false,"emergencyCallsOnly":true,"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1},"radioTech":0,"type":null,"rilMessageType":"voiceregistrationstatechange"}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":1,"state":"registered","connected":true,"roaming":false,"emergencyCallsOnly":false,"cell":{"gsmLocationAreaCode":12102,"gsmCellId":9492932},"radioTech":3,"type":"umts","rilMessageType":"voiceregistrationstatechange"}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":1,"state":"registered","connected":true,"roaming":false,"emergencyCallsOnly":false,"cell":{"gsmLocationAreaCode":12102,"gsmCellId":9497884},"radioTech":3,"type":"umts","rilMessageType":"voiceregistrationstatechange"}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":17,"gsmBitErrorRate":255,"gsmDBM":-79,"gsmRelative":54,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":17,"gsmBitErrorRate":255,"gsmDBM":-79,"gsmRelative":54,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":23,"gsmBitErrorRate":255,"gsmDBM":-67,"gsmRelative":74,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":23,"gsmBitErrorRate":255,"gsmDBM":-67,"gsmRelative":74,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":23,"gsmBitErrorRate":255,"gsmDBM":-67,"gsmRelative":74,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":17,"gsmBitErrorRate":255,"gsmDBM":-79,"gsmRelative":54,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":17,"gsmBitErrorRate":255,"gsmDBM":-79,"gsmRelative":54,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":20,"gsmBitErrorRate":255,"gsmDBM":-73,"gsmRelative":64,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":23,"gsmBitErrorRate":255,"gsmDBM":-67,"gsmRelative":74,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":19,"gsmBitErrorRate":255,"gsmDBM":-75,"gsmRelative":61,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":22,"gsmBitErrorRate":255,"gsmDBM":-69,"gsmRelative":70,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":18,"gsmBitErrorRate":255,"gsmDBM":-77,"gsmRelative":58,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":22,"gsmBitErrorRate":255,"gsmDBM":-69,"gsmRelative":70,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":18,"gsmBitErrorRate":255,"gsmDBM":-77,"gsmRelative":58,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":0,"state":"notSearching","connected":false,"roaming":false,"emergencyCallsOnly":true,"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1},"radioTech":0,"type":null,"rilMessageType":"voiceregistrationstatechange"}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Signal strength {"gsmSignalStrength":99,"gsmBitErrorRate":99,"gsmDBM":null,"gsmRelative":0,"cdmaDBM":-1,"cdmaECIO":-1,"evdoDBM":-1,"evdoECIO":-1,"evdoSNR":-1,"lteSignalStrength":99,"lteRSRP":-32767,"lteRSRQ":-32767,"lteRSSNR":-32767,"lteCQI":-32767}
I/Gecko   (  598): RIL Worker: Queuing voiceRegistrationState network info message: {"regState":2,"state":"registered","connected":false,"roaming":false,"emergencyCallsOnly":true,"cell":{"gsmLocationAreaCode":-1,"gsmCellId":-1},"radioTech":0,"type":null,"rilMessageType":"voiceregistrationstatechange"}

I think this points to the call being made before voice registration is okay.
Assignee

Updated

6 years ago
Assignee: anthony → lissyx+mozillians
Assignee

Comment 7

6 years ago
Please find attached a patch that fixes the issue by moving the cachedDialRequest.callback() call a bit later, once we have some network that we know is usable.

From the testing I performed on this (SFR SIM card registered in France, from Paris office building), it seems that in previous attempt the only difference was that radioTech was 0 (hence UNKNOWN) while emergencyCallOnly was true.

Patch for gecko-18 will be attached after.
Attachment #780319 - Attachment is obsolete: true
Attachment #780319 - Flags: feedback?(vyang)
Attachment #780365 - Flags: review?(vyang)
Assignee

Comment 8

6 years ago
Please find attached the gecko-18 ready patch. There is a slight change but it concerns the context of the diff.
Attachment #780366 - Flags: review?(vyang)
Attachment #780365 - Flags: review?(vyang) → review+
Attachment #780366 - Flags: review?(vyang) → review+
Assignee

Updated

6 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0a06804576a3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Depends on: 897463
Anshul, 
Is there any patch related this case in commercial RIL?
Flags: needinfo?(anshulj)

Comment 14

6 years ago
This should already be working with commercial RIL. If that is not the case please file an SR and we will take a look.
Flags: needinfo?(anshulj)
You need to log in before you can comment on or make changes to this bug.