Emergency Calls (3rd round)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | modem: add modem online-offline watchsrc/ src/ | +54 | 0 replies | |
| 2/4 | modem: add EmergencyMode propertysrc/ src/ | +136 | 0 replies | |
| 3/4 | modem: move dial_request_cb functionsrc/ | +35 | 0 replies | |
| 4/4 | voicecall: add emergency call handlingsrc/ | +110 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Emergency Calls (3rd round)
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
- advertise "EmergencyMode" property change on D-Bus (first call)
- set modem online if it's in offline mode (minimal setup)
- 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 call request make the emergency call
- when an emergency call ends decrement emergency mode
- set modem offline if it was set online due to the emergency call (last call)
- advertise "Online" property change on D-Bus
- advertise "EmergencyMode" property change on D-Bus (last call)
Andras Domokos (4):
modem: add modem online-offline watch
modem: add EmergencyMode property
modem: move dial_request_cb function
voicecall: add emergency call handling
src/modem.c | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/ofono.h | 12 ++++ src/voicecall.c | 175 ++++++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 332 insertions(+), 33 deletions(-)