Emergency Calls (2nd round)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | modem: add modem online-offline watchsrc/ src/ | +54 | 2 replies | |
| 2/3 | modem: add EmergencyMode propertysrc/ src/ | +57 | 4 replies | |
| 3/3 | voicecall: add emergency call handlingsrc/ | +100 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)