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