Wrong roaming status for a few milliseconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ofono (Ubuntu) |
Incomplete
|
Medium
|
Alfonso Sanchez-Beato |
Bug Description
For some operators, Status is wrongly reported as "roaming" for a few milliseconds before changing to "registered". Although this should be handled fine by the system, it can lead to status shown as "roaming" for a small amount of time in the GUI, due to the signals emitted by ofono. In the logs reported in LP bug #1371032 it can be seen that this happens:
2014-09-26 20:11:18,643 {NetworkRegistr
2014-09-26 20:11:19,323 {NetworkRegistr
...
2014-09-26 20:16:31,743 {NetworkRegistr
2014-09-26 20:16:31,803 {NetworkRegistr
...
2014-09-26 22:03:43,743 {NetworkRegistr
2014-09-26 22:03:43,779 {NetworkRegistr
...
2014-09-26 22:10:58,077 {NetworkRegistr
2014-09-26 22:10:58,104 {NetworkRegistr
...
The reason for this is that the modem reports the status as roaming, but it is being corrected by ofono after checking the content of SIM files. Unfortunately, a signal reporting the roaming status is broadcasted before that happens.
Changed in ofono (Ubuntu): | |
status: | New → Incomplete |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
Changed in ofono (Ubuntu): | |
importance: | Undecided → Medium |
@Alfonso
Let's confine this to a single operator until we can prove it's generic.
In this case Yoigo ( MCC=214 MNC=04 ) as a roaming agreement with movistar ( MCC=214 MNC=07 ) where the latter provides UMTS coverage.
You're trace leaves out the other NetworkRegistration property changes such as 'Name', 'Technology', and 'MNC' changes which provide a bit more context to understanding what's going on.
In the first instance, the modem goes from movistar/ umts/mnc= 07 to Yoigo/hspa/mnc=04 in about 7/10 of a second. In the other instances it's happening quicker, sometimes so quick that the Name and/or MNC changes aren't necessarily signaled to DBus.
One question for you is that if you're proven that ofono is correcting the roaming status based on the SIM files, why are we *ever* seeing "Status = roaming" in this case?
Have you managed to probe the contents of the SIM files involved and found them to be correct?