Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH 0/3] Emergency Calls (2nd round)
@ 2010-11-09  8:56 Andras Domokos
  2010-11-09  8:59 ` [RFC PATCH 1/3] modem: add modem online-offline watch Andras Domokos
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andras Domokos @ 2010-11-09  8:56 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

From: Andras Domokos <Andras.Domokos@nokia.com>

Here is a new proposal for emergency calls handling.

Steps in handling emergency calls:
- subscribe to modem online notifications (add modem online watcher)
- an emergency call detected (phone number is emergency number)
- increment emergency mode
  - switch modem online if not in online mode
  - advertise "EmergencyMode" property change on D-Bus (for first call)
- if modem is not online postpone making the call, otherwise make
  de emergency call
- when modem online notification comes and there is postponed call request
  make the emergency call
- when an emergency call ends decrement emergency mode
  - advertise "EmergencyMode" property change on D-Bus (for last call)

Note: modem remains online even if it was offline before starting the 
emergency call

Andras Domokos (3):
  modem: add modem online-offline watch
  modem: add EmergencyMode property
  voicecall: add emergency call handling

 src/modem.c     |   99 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/ofono.h     |   12 ++++++
 src/voicecall.c |  101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 211 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/4] Emergency Calls
@ 2010-12-20 13:21 Andras Domokos
  2010-12-20 13:22 ` [RFC PATCH 3/3] voicecall: add emergency call handling Andras Domokos
  0 siblings, 1 reply; 12+ messages in thread
From: Andras Domokos @ 2010-12-20 13:21 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]

Steps in handling emergency calls:
- subscribe to modem online notifications
- emergency call detected (phone number is an emergency number)
- increment emergency mode 
  - advertise "Emergency" property change on D-Bus (first call)
  - set modem online (minimal setup) if mode was offline
    - adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
  the emergency call
- when modem online notification comes and there is postponed emergency call
  request, make the emergency call
- when an emergency call ends decrement emergency mode
  - set modem to pre emergency call state (last call)
    - advertise "Online" property change on D-Bus (if any)
  - advertise "Emergency" property change on D-Bus (last call)

Andras Domokos (3):
  modem: add Emergency property
  modem: move dial request_cb function
  voicecall: add emergency call handling

 src/dbus.c      |    7 ++
 src/modem.c     |  207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/ofono.h     |    5 ++
 src/voicecall.c |  186 ++++++++++++++++++++++++++++++++++++++++---------
 4 files changed, 369 insertions(+), 36 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-12-20 13:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09  8:56 [PATCH 0/3] Emergency Calls (2nd round) Andras Domokos
2010-11-09  8:59 ` [RFC PATCH 1/3] modem: add modem online-offline watch Andras Domokos
2010-11-09 10:31   ` Marcel Holtmann
2010-11-09 14:26   ` Denis Kenzior
2010-11-09  8:59 ` [RFC PATCH 2/3] modem: add EmergencyMode property Andras Domokos
2010-11-09 14:37   ` Denis Kenzior
2010-11-10 14:14     ` Andras Domokos
2010-11-10 14:25       ` Denis Kenzior
2010-11-10 17:59         ` Marcel Holtmann
2010-11-09  9:00 ` [RFC PATCH 3/3] voicecall: add emergency call handling Andras Domokos
2010-11-09 14:52   ` Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2010-12-20 13:21 [PATCH 0/4] Emergency Calls Andras Domokos
2010-12-20 13:22 ` [RFC PATCH 3/3] voicecall: add emergency call handling Andras Domokos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox