On Thursday, October 09, 2014 11:00:34 AM Dmitriy Purgin wrote: > Hi Kimmo, > > do you manage waiting and held calls using this approach? e.g. one > active, one incoming, then held.
Nope. It is just a generic (maemo legacy) "there are call(s)" info mainly intendeded for use with emergency call policies etc (derived by listening to ofono on dbus). If at least one call is incoming -> state = "ringing". If at least one call is emergency -> type = "emergency". For more detailed info something else needs to be used. Simo > oFono provides you with line > identification helping to distinguish between calls. > > Cheers > Dmitriy > > 2014-10-09 10:22 GMT+06:00 Kimmo Lindholm <kimmo.lindh...@eke.fi>: > > Hi, > > > > I use following dbus approach; > > "com.nokia.mce", "/com/nokia/mce/signal", "com.nokia.mce.signal", > > "sig_call_state_ind" > > > > Looking for strings "ringing", "active", "none" with small > > state-machine. > > > > When someone calls to the phone, "ringing" -> answered "active" -> > > not answered/hangup "none" Making a outgoing call "active" --> hup > > "none" > > > > -kimmo > > > > ________________________________________ > > Lähettäjä: devel-boun...@lists.sailfishos.org > > [devel-boun...@lists.sailfishos.org] käyttäjän > > Dmitriy Purgin [dpur...@gmail.com] puolesta Lähetetty: 8. lokakuuta > > 2014 12:05 > > Vastaanottaja: Sailfish OS Developers > > Aihe: Re: [SailfishDevel] Call events > > > > Hi, > > > > the telephony is provided by oFono which has a convenient DBus > > interface, [1]. You might as well use libqofono-qt5 [2] binding > > which > > is much easier, but won't be approved by harbour unless you put it > > as > > a private library of your application. > > > > Cheers > > > > [1] https://git.kernel.org/cgit/network/ofono/ofono.git/tree/doc > > [2] https://github.com/nemomobile/libqofono > > > > 2014-10-08 14:00 GMT+06:00 Kaj-Michael Lang <mil...@tal.org>: > >> Is there some, official harbour approved, way to get notified about > >> incoming/outgoing calls start/stop so my app can react to these > >> events ? > >> > >> > >> -- > >> Kaj-Michael Lang <mil...@tal.org> > >> > >> _______________________________________________ > >> SailfishOS.org Devel mailing list > >> To unsubscribe, please send a mail to > >> devel-unsubscr...@lists.sailfishos.org> > > _______________________________________________ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > > _______________________________________________ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org