From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 2/2] voicecall: try harder to avoid Dial mismatches
Date: Wed, 02 Feb 2011 10:41:03 -0600 [thread overview]
Message-ID: <4D49891F.9050608@gmail.com> (raw)
In-Reply-To: <AANLkTi===2oFMMLP-DAeyTRTdnX6anHHQ7c40KNVHO_h@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]
Hi Pekka,
On 02/02/2011 08:57 AM, Pekka Pessi wrote:
> Hi Denis,
>
> 2011/2/2 Denis Kenzior <denkenz@gmail.com>:
>> On 02/01/2011 04:22 PM, Pekka.Pessi(a)nokia.com wrote:
>>> From: Pekka Pessi <Pekka.Pessi@nokia.com>
>>>
>>> There were some cases where Dial returned an incorrect call object,
>>> e.g., after oFono crash and recover.
>>> ---
>>> src/voicecall.c | 15 +++++++++++++++
>>> 1 files changed, 15 insertions(+), 0 deletions(-)
>>
>> So I'm guessing that you're restarting oFono and get
>> ofono_voicecall_notify events without setting dial_result_handled properly.
>>
>> Do you think it is a better idea to resurrect the old list_calls driver
>> method and fire this off explicitly when the atom is registered? The
>> callback can then take care of setting dial_result_handled appropriately.
>
> That is one possibility.The belt-and-suspenders approach of
> prepare_to_dial() makes oFono more robust in case there is someone
> talking directly to modem behind oFono's back, however.
>
This is not a case we support or will ever be willing to support in the
core anyway. oFono performs too many optimizations internally and the
assumption is that oFono has exclusive control.
Which brings up a question, do we even want to bother performing crash
recovery or simply stipulate to the modem driver that the state should
be reset completely in case oFono crashes? Remember that crash recovery
involves sim toolkit, voicecalls, gprs, ussd, etc. It is pretty much
impossible to handle this properly...
Regards,
-Denis
next prev parent reply other threads:[~2011-02-02 16:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 22:22 [PATCH 1/2] isimodem: fix problems in call state reporting Pekka.Pessi
2011-02-01 22:22 ` [PATCH 2/2] voicecall: try harder to avoid Dial mismatches Pekka.Pessi
2011-02-02 1:24 ` Denis Kenzior
2011-02-02 14:57 ` Pekka Pessi
2011-02-02 16:41 ` Denis Kenzior [this message]
2011-02-03 13:01 ` [PATCH 1/2] isimodem: fix problems in call state reporting Aki Niemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D49891F.9050608@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.