Support fetching and dialing emergency calls in the dummy plugin
This is a stub for emergency calls so @CoderThomasB can use that for World/Phosh/phosh!904 (merged) . Everything is hard-coded but it should be enough to progress on the shell side.
TODO:
-
expose DBus interface -
move hardcoded number bits to the dummy plugin
Usage
$ gdbus call -e -o /org/gnome/Calls -d org.gnome.Calls -m org.gnome.Calls.EmergencyCalls.GetEmergencyContacts
([('112', 'Firefighter', 0, @a{sv} {}), ('110', 'Police', 0, {})],)
$ gdbus call -e -o /org/gnome/Calls -d org.gnome.Calls -m org.gnome.Calls.EmergencyCalls.CallEmergencyContact "112"
()
Everything is stubbed so no actual calls are performed.
Closes: #344 (closed)
Edited by Guido Günther