No alert tone heard if network does not play it in-band
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ofono (Ubuntu) |
Confirmed
|
High
|
Jussi Kangas | ||
telephony-service (Ubuntu) |
Confirmed
|
High
|
Gustavo Pichorim Boiko |
Bug Description
Test case:
- Dial a voice call
- Call starts ringing at the other end
- Expecting to hear an alerting tone in my earpiece
- But there is only silence
This is a rare but valid "feature" in some commercial networks, for example Bouygues Telecom, France. The in-band audio connection is sometimes not yet set up in the alerting phase.
The relevant technical specification piece, from 3GPP TS 24.008 sect. 5.2.1.5 "Alerting": "an alerting indication should be given to the user. If the mobile station has not attached the user connection then the mobile station shall internally generate an alerting indication".
The Android RIL API supports this feature via notification "RIL_UNSOL_
Changed in telephony-service: | |
assignee: | nobody → Martti Piirainen (piiramar) |
Changed in ofono (Ubuntu): | |
status: | New → Confirmed |
Changed in telephony-service: | |
status: | New → Confirmed |
Changed in ofono (Ubuntu): | |
importance: | Undecided → High |
Changed in telephony-service: | |
importance: | Undecided → High |
Changed in telephony-service: | |
assignee: | Martti Piirainen (piiramar) → nobody |
Changed in ofono (Ubuntu): | |
assignee: | nobody → Jussi Kangas (jkangas) |
status: | Confirmed → In Progress |
Changed in telephony-service: | |
assignee: | nobody → Gustavo Pichorim Boiko (boiko) |
affects: | telephony-service → telephony-service (Ubuntu) |
The oFono part has already been implemented in the Nemo Mobile project's fork: https:/ /github. com/nemomobile- packages/ ofono/pull/ 214 . I merged and adapted it, see private branch https:/ /github. com/marttipiira inen/ofono- 1/tree/ ringback_ tone .
I tested this new oFono API using the 'test-voicecall agent' Python script. In the Sonera/Finland network, I get an in-band ringing tone, and nothing is notified to the agent. Using an Anritsu network simulator, I do not get an in-band tone from the network, so (the modem and the RIL API and) the oFono API notifies when a locally generated ringing tone should be started and stopped.
{VoiceCall} [/ril_0/ voicecall01] State = alerting voicecall01] State = active
Agent got playTone notification: 1
Agent got playTone notification: 0
{VoiceCall} [/ril_0/
The attached file contains test script output and oFono logs from both cases (using the abovementioned private branch).