Comment 1 for bug 1341453

Revision history for this message
Martti Piirainen (piiramar) wrote :

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).