Hi,

On 13 April 2011 16:37, Denis Kenzior <[email protected]> wrote:
...
>> Indeed, in practice, this modification is coming from BIP handler
>> implementation, but this is uncorrelated from BIP.
>> Here, the idea of this modification is to update the flag only once the
>> Terminal response has been sent.
>> My understanding of this flag is to allow to send a Terminal response
>> "Proactive UICC session terminated by the user" once the stk agent exits
>> (user quits).
>
> Yep, that is correct.
>
>>
>> But this case still subsists even after the user confirms to setup a
>> voice call or to setup a BIP channel. For such cases, we need to
>> establish the link before returning the terminal response, which can
>> take a while.
>>
>> Actually, in the callback 'confirm_call_cb', the flag
>> stk->respond_on_exit is set back to FALSE whereas the Terminal response
>> is not already sent. Fact is that the user may exit the stk agent before
>> the call is connected. In this case, no terminal response is sent,
>> leading to a potential mismatch regarding the expected answer from SIM.

I can't see the mismatch happening, ofono always sends the response
sooner or later.

>
> This is a good point.  Andrew's idea was that once the Dial has been
> sent, the EndSesion can be triggered by hanging up the call and tracking
> the session agent is no longer needed (as Setup Call is usually the end
> of a session anyway)
>
> I don't mind triggering EndSession via the Agent exiting as well in this
> case.

Ah, I see that how that might work.  Although the spec only mentions
the "session terminated by the user" response in the "confirmation
phase" and not in the "setup phase".

Best regards
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to