MMCall objects from CallAdded signal

Bob Ham bob.ham at puri.sm
Tue Jul 17 16:41:35 UTC 2018


Hi all,

I'm trying to use voice calls with the libmm-glib API but having trouble
figuring out how to get an MMCall object when a new call is added.

When my application starts up, it lists existing calls using
mm_modem_voice_list_calls().  This apparently gives me a list of MMCall
objects, which is what I want.

I also want to set a signal on something that will give me an MMCall
object when a new call is created.  There is the "call-added" signal on
the MmGdbusModemVoice interface, which MMModemVoice implements.
However, this signal only provides a D-Bus object path as an argument
and I can't find a way to create an MMCall object from a D-Bus object path.

I've looked for any code that uses the API to deal with added calls but
I can't find anything.  The generated libmm-glib objects are less than
clear.

Can anyone tell me whether there is any way to use the API to get MMCall
objects for added calls?

Thanks,

Bob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20180717/18fe1dfa/attachment.sig>


More information about the ModemManager-devel mailing list