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/marttipiirainen/ofono-1/tree/ringback_tone .
I tested this new oFono API using the 'test-voicecallagent' 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
Agent got playTone notification: 1
Agent got playTone notification: 0
{VoiceCall} [/ril_0/voicecall01] State = active
The attached file contains test script output and oFono logs from both
cases (using the abovementioned private branch).
** Attachment added: "ringbacktone_ofono.log"
https://bugs.launchpad.net/telephony-service/+bug/1341453/+attachment/4164212/+files/ringbacktone_ofono.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1341453
Title:
No alert tone heard if network does not play it in-band
To manage notifications about this bug go to:
https://bugs.launchpad.net/telephony-service/+bug/1341453/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs