Hi @slava, sorry for bothering you again, but I just wonder if you managed to find something interesting/useful in those logs, and whether there is any chance that the patch that @dcaliste made (that fixes this issue for me in 100%) could make it into the OS?
As far as I can see in those logs, without the patch the call actually occurs four times - twice as Call ID no. 1 and then twice as Call ID 2. With the patch applied, in the second log, there is just one single occurence and the call gets hung up right away…
P.S. Additionally, as I wrote in this thread, there is also another ofono-related problem that affects functionality of applications to automatically reject unwanted calls, like Phonehook or the app that I made for my own use. Ofono is very slow with processing the call hangup and often it takes it long enough for the ringtone to already start ringing for a second or two (and sometimes even the UI appearing for a fraction of a second, too). From my observations, it happens very rarely on 3G, but almost always on 4G (probably the switch from 4G to 3G delays things sufficiently for the ringtone to start ringing before hangup). Can it be optimized/made faster in this regard somehow?
P.S. 2 I’ve also tried to silence the ringtone first, before calling hangup, using
QDBusMessage m = QDBusMessage::createMethodCall("org.nemomobile.voicecall",
"/calls/active",
"org.nemomobile.voicecall.VoiceCall",
"silenceRingtone");
QDBusConnection::sessionBus().call(m);
but it doesn’t seem to work at all.