So after a bit of investigation, I discovered:

1. AOSP rejects a ringing call by sending a RIL_REQUEST_UDUB ( User
Defined Busy ).

2. Currently telepathy-ofono  calls the ofono Voicecall interface Hangup
method, which results in ofono calling the rilmodem driver's
hangup_all() method, which in turn sends a RIL_REQUEST_HANGUP for any
existing calls.

ofono's documentation says that UDUB should only be sent for calls in
WAITING state.   This differs from AOSP which sends UDUB for calls that
are ringing or waiting.

I still need to verify this behavior on a live device running CM.

If this is indeed the case, we'll need to modify the logic in
ril_hangup_all() to check the status of each call, and if the status is
incoming or waiting, send the UDUB request instead of a HANGUP request.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1260988

Title:
  declining a calls hangs up rather than going to voicemail. aka, no
  Ignore option for incoming calls

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1260988/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to