Please consider switching to libcall-ui
I've split the call-ui into libcall-ui so it can be shared between calls and shell without forcing both to use the same versions.
Example usage is in the repos demo and in phosh!780 (closed) 's PhoshCall class. Usage in calls should be similar (just that the interface is backed by CallsCall and CallsBestMatch instead of the DBus interface).