10-30-2020, 07:09 AM
Both ModemManager and oFono use dbus interfaces that you should be able to interact with. ModemManager has mmcli as a thin command line wrapper round the dbus interface. I don't know if oFono has an equivalent, or expects you to use something like dbus-send instead. I'm not sure either of these will let you subscribe to signals either, so you may need to do that yourself for detecting incoming stuff. On the 'making a new call' front they will create the call, but it'll be up to you to make the audio routing changes needed for you to be able to hear and be heard.