← Back to team overview

touch-packages team mailing list archive

[Bug 1444883] Re: Emergency numbers for China (110, 119) are not available in emergency mode

 

@Tony, I have dialled a non-emergency number, without SIM, using the
"dial-number" ofono script. The radio logs shows:

05-25 05:42:06.748 1879 1885 D use-Rlog/RLOG-AT: ATDXXXXXXXXX;
...
05-25 05:42:06.754 1879 1899 D use-Rlog/RLOG-AT: +CME ERROR: 100

so rild tries to dial, although the modem responds immediately with an
"unknown" error. This fits your observation about the call being quickly
rejected, and also that the radio layer does try to dial. IMHO I think
this confirms that it is better to let the modem and the network handle
emergency codes: the modem/network does not inform us which numbers are
emergency, so we should better be safe and not make assumptions in the
dialer-app that could prevent the user to make an emergency call.

Re: the CMCC SIM, in the list of properties that Evan has attached we
have:

[ril.ecclist]: [112,911]

Same emergency codes as in ofono. These numbers must come from the SIM,
and apparently rild does not add any numbers to these. IMO the SIM
profile is simply wrong. Being this a Chinese SIM, 110 and 119 should be
on the SIM file that provides the emergency numbers. This is worrying,
as it implies that we cannot blindly trust the list of emergency codes
on the SIM. And we cannot just simply trust the numbers in
libphonenumber.

I do not imply with this that we cannot improve the list of emergency
number, either using libphonenumber or trying to find a way to ask the
modem the list (maybe using directly some AT command?): but I do think
that we *must* be safe here, and *first* let dialer-app dial any number
even when there is no SIM/the SIM is locked. There is no harm here, as
the modem/network will reject the call if the number is not emergency.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dialer-app in Ubuntu.
https://bugs.launchpad.net/bugs/1444883

Title:
  Emergency numbers for China (110,119) are not available in emergency
  mode

Status in the base for Ubuntu mobile products:
  New
Status in dialer-app package in Ubuntu:
  New
Status in ofono package in Ubuntu:
  Confirmed
Status in telephony-service package in Ubuntu:
  New

Bug description:
  arale device, r177, ubuntu-touch/vivid-proposed

  Steps
  1. Emergency mode (e.g. Lock phone with a passcode, slide left, tap on "Emergency Call")
  2. try input 911, 112 ==> OK
  2. try input 110, 119 ==> "Dial" button is inactive after number is input

  Expect
  Allow these numbers in emergency mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1444883/+subscriptions


References