EmergencyNumbers not correctly filled for brazilian operators
Bug #1334860 reported by
Gustavo Pichorim Boiko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
telephony-service (Ubuntu) |
Fix Released
|
High
|
Tiago Salem Herrmann |
Bug Description
Using a SIM card from VIVO, I get the following list of emergency numbers:
[ org.ofono.
And on a SIM card from OI, the same list is returned:
[ org.ofono.
But those are not the emergency numbers for Brazil, they should be similar to the numbers listed in ServiceNumbers:
[ org.ofono.
Related branches
lp://staging/~tiagosh/dialer-app/emergency-calls-libphonenumber
- Gustavo Pichorim Boiko (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 455 lines (+203/-35)8 files modifieddebian/control (+0/-1)
src/dialerapplication.cpp (+1/-1)
src/qml/DialerPage/DialerPage.qml (+42/-12)
src/qml/Dialogs/NoDefaultSIMCardDialog.qml (+2/-2)
src/qml/LiveCallPage/LiveCall.qml (+6/-0)
src/qml/dialer-app.qml (+26/-7)
tests/qml/CMakeLists.txt (+1/-10)
tests/qml/tst_DialerPage.qml (+125/-2)
lp://staging/~tiagosh/telepathy-ofono/use-libphonenumber
- Gustavo Pichorim Boiko (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1336 lines (+574/-422)17 files modifiedCMakeLists.txt (+4/-2)
cmake/modules/FindLibPhoneNumber.cmake (+23/-0)
cmake/modules/LibFindMacros.cmake (+112/-0)
connection.cpp (+17/-12)
connection.h (+1/-1)
countrycodes.qrc (+5/-0)
countrycodes.txt (+224/-0)
debian/control (+1/-0)
debian/copyright (+0/-17)
emergencymodeiface.cpp (+30/-0)
emergencymodeiface.h (+12/-0)
phonenumberutils_p.h (+0/-301)
phoneutils.cpp (+112/-43)
phoneutils_p.h (+0/-38)
tests/CMakeLists.txt (+2/-0)
tests/PhoneUtilsTest.cpp (+8/-8)
tools/generate_country_codes.py (+23/-0)
lp://staging/~tiagosh/telephony-service/use-libphonenumber
- Gustavo Pichorim Boiko (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1022 lines (+254/-371)19 files modifiedUbuntu/Telephony/contactwatcher.cpp (+1/-1)
debian/copyright (+0/-17)
indicator/textchannelobserver.cpp (+1/-1)
libtelephonyservice/CMakeLists.txt (+2/-0)
libtelephonyservice/multimediaaccountentry.cpp (+1/-1)
libtelephonyservice/ofonoaccountentry.cpp (+27/-1)
libtelephonyservice/ofonoaccountentry.h (+5/-0)
libtelephonyservice/phonenumberutils.h (+0/-303)
libtelephonyservice/phoneutils.cpp (+100/-24)
libtelephonyservice/phoneutils.h (+20/-2)
tests/common/mock/MockConnection.xml (+6/-0)
tests/common/mock/connection.cpp (+7/-0)
tests/common/mock/connection.h (+2/-0)
tests/common/mock/emergencymodeiface.cpp (+28/-1)
tests/common/mock/emergencymodeiface.h (+12/-0)
tests/common/mock/mockconnectiondbus.cpp (+6/-0)
tests/common/mock/mockconnectiondbus.h (+1/-0)
tests/libtelephonyservice/OfonoAccountEntryTest.cpp (+18/-0)
tests/libtelephonyservice/PhoneUtilsTest.cpp (+17/-20)
Changed in ofono (Ubuntu): | |
status: | New → Confirmed |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Martti Piirainen (piiramar) |
importance: | Undecided → High |
Changed in ofono (Ubuntu): | |
status: | Confirmed → Incomplete |
assignee: | Martti Piirainen (piiramar) → Gustavo Pichorim Boiko (boiko) |
tags: | added: emergency |
affects: | ofono (Ubuntu) → telephony-service (Ubuntu) |
Changed in telephony-service (Ubuntu): | |
assignee: | Gustavo Pichorim Boiko (boiko) → Tiago Salem Herrmann (tiagosh) |
status: | Incomplete → In Progress |
To post a comment you must log in.
I'm not convinced yet that this is a valid bug.
I think that these Brazilian "public service" numbers (as listed e.g. in [1]) are not emergency numbers in the 3GPP cellular networking sense (as defined in [2]). They would not, for example, work without prior network registration or without a SIM card (see [3] for some special properties of these "real" emergency calls).
That's why the operators (Vivo and OI) have programmed their SIM cards according to [4]: The "real" emergency numbers are a combination of the phone's default list and of the ECC file on SIM, and presented as org.ofono. VoiceCallManage r.EmergencyNumb ers. The "public service numbers" are from the SDN file, presented as org.ofono. SimManager. ServiceNumbers.
When I dial the fire department (193), I would /expect/ a normal call set-up instead of an emergency call set-up (and, vice versa, would expect a failure e.g. without a SIM, with a locked SIM, with an expired SIM, etc.). Gustavo, can you double-check this (either by testing with existing devices, or by checking some local regulation documents)?
We certainly have one problem: The service numbers are not visible anywhere, I just reported bug 1337189 for that.
[1] http:// www.telefonica. net.br/ sp/utilidadepub lica/emergencia .htm
[2] 3GPP TS 22.101 "Service principles", section 10 "Emergency Calls"
[3] 3GPP TS 24.008 "Mobile radio interface Layer 3 specification; Core network protocols", section 4.5.1.5 "MM connection establishment for emergency calls"
[4] 3GPP TS 31.102 "Characteristics of the Universal Subscriber Identity Module (USIM) application", sections 4.2.21 "EF_ECC (Emergency Call Codes)" and 4.2.29 "EF_SDN (Service Dialling Numbers)"