**** BEGIN LOGGING AT Wed Jul 06 02:59:57 2011 Jul 06 17:44:01 denkenz: ping Jul 06 17:44:30 Jeevaka: pong Jul 06 17:45:50 Regarding the number being dialed as part of the Set UP Call request, do we really need it? Jul 06 17:46:11 To user we are anyway going to show the alpha identifier Jul 06 17:46:58 we need it for the emergency call case Jul 06 17:47:02 Also, the alpha id might be empty Jul 06 17:48:01 But how do we know its going to make an emergency call? Jul 06 17:48:31 I think the spec mandates 112 as emergency number identifier Jul 06 17:48:47 we can match with the numbers we have but I dont know how we can be really sure of the call being establised is an emergency call Jul 06 17:49:26 only for mandatory numbers Jul 06 17:51:03 If the UICC supplies a number stored in EFECC, this shall not result in an emergency call. Jul 06 17:51:53 what if mandatory emergency numbers are also stored in EFecc? Jul 06 17:52:18 "It is possible for the UICC to request the terminal to set up an emergency call by supplying the number "112" as called Jul 06 17:52:18 party number. The terminal may translate this number in the appropriate technology specific number or procedure. Jul 06 17:52:18 " Jul 06 17:52:42 Basically the only way for an emergency number to be called via STK seems to be 112 Jul 06 17:53:12 contradicting spec statements Jul 06 17:53:15 31.111 section 6.4.13: "If the UICC supplies a number stored in EFECC, this shall not result in an emergency call." Jul 06 17:53:35 Sort of, but not really Jul 06 17:53:55 so the exception is 112 Jul 06 17:54:17 That's the way I read it Jul 06 17:56:43 incase of infineon modem, we receive +SATF(from which we trigger proactive_session_end function ) Jul 06 17:57:29 SATF is received for both call success and failure case which is as expected Jul 06 17:58:26 aren't we supposed to get ofono_stk_proactive_command_handled_notify for terminal responses as well? Jul 06 17:59:32 nope Jul 06 18:01:21 That seems to be the comment in stk.c Jul 06 18:01:36 Is it just the Set Up Call that is special on IFX? Jul 06 18:10:26 you mean in stk.c under ifxmodem Jul 06 18:10:49 ofono_stk_proactive_command_handled_notify Jul 06 18:10:59 /* Jul 06 18:10:59 * Modems send us the proactive command details and terminal responses Jul 06 18:10:59 * sent by the modem as a response to the command. Terminal responses Jul 06 18:11:00 * start with the Command Details CTLV tag (0x81). We filter terminal Jul 06 18:11:00 * responses here Jul 06 18:11:00 */ Jul 06 18:11:09 in src/stk.c Jul 06 18:11:34 thats the comment by balrog-k2n Jul 06 18:11:53 i think thats from freerunner Jul 06 18:13:04 The problem is, half the commands handled in that function depend on the terminal response being known Jul 06 18:13:09 Otherwise we never unset the alpha_id Jul 06 18:18:01 may be instead of unsetting the alpha id from there, we can provide a function which does that Jul 06 18:18:45 but that will result in modem specific things spilled in the core Jul 06 18:19:27 I was under the impression that IFX did that Jul 06 18:19:34 nope Jul 06 18:19:37 If not, then this needs to be fixed in their firmware Jul 06 18:19:45 Otherwise we don't know when to unset the alpha id Jul 06 18:20:31 so assumption is that relying on SATF is not a good idea Jul 06 18:20:51 SATF tells us of session end right? Jul 06 18:21:39 SATF is an unsolicited response for terminal response sent by AP using +SATR Command. Also SATF is used Jul 06 18:21:40 for keeping track of a proactive session Jul 06 18:22:54 Ah ok I see now Jul 06 18:23:32 Is SATF emitted for SATN commands? Jul 06 18:25:22 What I'm trying to get at is that session end != command end Jul 06 18:25:37 There are major differences and for these cases we actually want command end Jul 06 18:25:50 agree Jul 06 18:26:18 SATF is emitted for SATN commands as well but I need to confirm whether it means session end or command end Jul 06 18:26:48 It can mean both Jul 06 18:28:26 You might really need balrog-k2n here, since some of his assumptions might not be working out Jul 06 18:29:20 seems to be away, will contact him offline Jul 06 18:29:23 We might need an explicit ofono_stk_terminal_response_sent or something Jul 06 18:30:55 ok Jul 06 20:17:39 balrog-k2n: ping Jul 06 20:18:03 Jeevaka: so the problem is that +SATF doesn't contain the full terminal response, only a boolean success/failure? Jul 06 20:19:04 currently, my understanding is that it is just to inform the end of a proactive session Jul 06 20:19:15 Need to get it confirmed from Infineon Jul 06 20:19:57 it gives sw1 and sw2 Jul 06 20:20:01 is there some other way to know if a proactive command handled by +SATN succeeded? Jul 06 20:20:48 +SATF: , Jul 06 20:21:41 that's not much information because it will report success even for a negative terminal response (terminal busy, etc.) Jul 06 20:24:03 understanding is that it is only used to inform end of a session Jul 06 20:24:33 or even command but i'll let you know as soon as I get it confirmed Jul 06 20:25:56 i'm thinking that if it's emitted for command end, then it could be used to emulate the terminal response in ifxmodem/stk.c Jul 06 20:27:06 it would just call ofono_stk_proactive_command_handled_notify() with some fake TERMINAL RESPONSE pdu Jul 06 20:27:26 provided that +SATN was received last Jul 06 20:28:04 thats not the case Jul 06 20:28:20 SATN is only received 1time Jul 06 20:28:54 Jeevaka: what i mean is that when ifxmodem/stk.c receives +SATN, it sets a flag Jul 06 20:29:12 then if the next thing received is +SATF, it calls ofono_stk_proactive_command_handled_notify() Jul 06 20:30:23 seems an option Jul 06 20:34:40 will get back once i get confirmation of when the SATF is trigger Jul 06 20:36:16 ok **** ENDING LOGGING AT Thu Jul 07 02:59:56 2011