Emergency Calls (4th round)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 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 | 1 reply | |
| 2/4 | modem: add EmergencyMode propertysrc/ src/ | +138 | 2 replies | |
| 2/4 | modem: add EmergencyMode propertysrc/ src/ src/ | +149 | 3 replies | |
| 3/4 | modem: move dial_request_cb functionsrc/ | +35 | 0 replies | |
| 4/4 | voicecall: add emergency call handlingsrc/ | +110 | 3 replies | |
| 4/4 | voicecall: add emergency call handlingsrc/ | +111 | 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 (4th 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)
Note: emergency calls with SIM card (network registered or unregistered) and without SIM card are supported.
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 | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/ofono.h | 12 ++++ src/voicecall.c | 175 +++++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 334 insertions(+), 33 deletions(-)