Closed Bug 796657 (MMI/Gaia) Opened 13 years ago Closed 11 years ago

USSD/MMI codes handling in Gaia

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ghtobz, Unassigned)

References

Details

(Keywords: feature, Whiteboard: [label:dialer][label:feature])

[GitHub issue by lissyx on 2012-09-15T21:58:18Z, https://github.com/mozilla-b2g/gaia/issues/4766] As far as I can tell, MMI codes seems not being correctly handled. See http://www.etsi.org/deliver/etsi_ts/122000_122099/122030/04.00.00_60/ts_122030v040000p.pdf#11 for the specifications and https://android.googlesource.com/platform/frameworks/opt/telephony/+/master/src/java/com/android/internal/telephony/gsm/GsmMmiCode.java for Android. Some examples: - *#06# is expected to return the IMEI - *#21# is expected to return the call forwarding status Currently, it seems all those codes are sent as USSDs which is invalid. For example, Android 4.1.1 on Nexus S, when sendind MMI code *#21#, |logcat -b radio| shows: D/GSM ( 479): dialing w/ mmi 'GsmMmiCode {State=PENDING action=*# sc=21 poundString=*#21#}'... This behavior is explained as of https://android.googlesource.com/platform/frameworks/opt/telephony/+/master/src/java/com/android/internal/telephony/gsm/GSMPhone.java in method dial(), which calls processCode() of the GsmMmiCode class. One can see that all MMI codes defined in this GsmMmiCode have specific handling. Following the call forwarding status example, we can see that it finally calls a phone.mCM.queryCallForwardStatus(), which is defined in https://android.googlesource.com/platform/frameworks/opt/telephony/+/master/src/java/com/android/internal/telephony/RIL.java which clearly does not looks like a USSD request.
[GitHub comment by lissyx on 2012-09-15T21:58:49Z] @fabi1cazenave since call forwarding configuration might be useful in settings, you could be interested in this issue.
[GitHub comment by lissyx on 2012-09-18T13:14:15Z] Should also add this document: http://www.quintillion.co.jp/3GPP/Specs/22030-800.pdf#23
[GitHub comment by ferjm on 2012-09-21T15:40:58Z] This requires some platform work https://bugzilla.mozilla.org/show_bug.cgi?id=793178
Once Bug 793178 we need to do the appropriate front-end bits to also support MMI codes. Since MMI support in the platform is blocking+ I am requesting blocking? for the front-end part too.
blocking-basecamp: --- → ?
Depends on: MMI
Summary: USSD/MMI codes handling → USSD/MMI codes handling in Gaia
blocking-basecamp: ? → +
Keywords: uiwanted
Is there any new UX work required around MMI code support?
Whiteboard: [label:dialer] → [label:dialer][label:feature]
Keywords: feature
(In reply to Dietrich Ayala (:dietrich) from comment #5) > Is there any new UX work required around MMI code support? No, it should be the same experience as for USSD
The idea that Germán told me yesterday is to show the possible result dictionary as a pair of label:value in the USSD screen. Or just the value if it's a simple object.
This has been fixed in Bug 798832, please fill follow-up bugs like Bug 799435 if needed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
This bug should have not be marked as dup, I'd like to keep it as tracker for all the rest of bugs related to MMI/USSD support in Gaia.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
I am clearing the blocking+ since we don't want to block on tracker bugs.
blocking-basecamp: + → ---
Alias: MMI/Gaia
Hi! We think it's related also to bug #857944. Thus, nominating for tef+ and adding cert meta bug for Spain.
Blocks: 857944
Can we close this?
Flags: needinfo?(ferjmoreno)
Yes!
Status: REOPENED → RESOLVED
Closed: 13 years ago11 years ago
Flags: needinfo?(ferjmoreno)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.