Thanks for your response. To make a new call from CLI with node.js, i finally used "pkexec --user mobian env DISPLAY=:0 XAUTHORITY=/home/mobian/.Xauthority calls -l $NUMBER", and it works - even with the lock screen on...
I rewrote my contact app Cockatoo (which is now very similar with the old one on Firefox OS) and my Cactus (calendar) webapp.
These apps are still in dev, but you can already test and use them if you want (cf. https://alsatux.com/Pinephone).
I must admit : dbus is a lot more complicated for me, and i don't have an eternity to find the good commands.
So if someone knows how to retrieve the phone number when a call is coming, i could then easily open the browser to Cockatoo URL, then retrieve the contact associated...
I rewrote my contact app Cockatoo (which is now very similar with the old one on Firefox OS) and my Cactus (calendar) webapp.
These apps are still in dev, but you can already test and use them if you want (cf. https://alsatux.com/Pinephone).
I must admit : dbus is a lot more complicated for me, and i don't have an eternity to find the good commands.
So if someone knows how to retrieve the phone number when a call is coming, i could then easily open the browser to Cockatoo URL, then retrieve the contact associated...