Skip to content

Emergency Calls (2nd round)

Andras Domokos ofono 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3modem: add modem online-offline watchsrc/modem.c src/ofono.h+54 -02 replies
2/3modem: add EmergencyMode propertysrc/modem.c src/ofono.h+57 -04 replies
3/3voicecall: add emergency call handlingsrc/voicecall.c+100 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Emergency Calls (2nd round)

From: Andras Domokos <[email protected]>

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(-)