For those fearless of battery drain, you can enable this function by remote provisioning xml :) tested and working..
Just create your xml, put it somewhere on a webserver and put the correct url into your Linphone, eventually restart the app.. <?xml version="1.0" encoding="UTF-8"?> <config xmlns="http://www.linphone.org/xsds/lpconfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.linphone.org/xsds/lpconfig.xsd lpconfig.xsd"> <section name="proxy_0"> <entry name="publish" overwrite="true">1</entry> </section> </config> Eventually turn it back off with setting to "0" in xml, and restart Linphone again. Guillaume, I am very very looking forward to those news and nice features here :) You guys rock! On 20.04.2015 11:10, Guillaume Bienkowski wrote: > We have a plan for presence UI, later this year, yes. > > Stay tuned ;) > > Guillaume Bienkowski > [email protected] > <mailto:[email protected]> > > > >> Le 20 avr. 2015 à 10:26, Alex Fliker <[email protected] >> <mailto:[email protected]>> a écrit : >> >> Glad to hear the explanation, I was curious too. Are you planning >> implementing the UI part? I understand battery concers, but you can >> just give to the user a warning during the activation of the option. >> >> >> Best regards, >> >> Alex >> >> On April 20, 2015 10:14:12 AM EEST, Guillaume Bienkowski >> <[email protected] >> <mailto:[email protected]>> wrote: >> >> There’s no reason for a rooted device to be needed. Linphone fully >> supports the presence feature. >> It is just that we haven’t implemented the UI part, so there’s no reason >> to activate the presence protocol in background, since it implies a high >> amount of supplementary SIP messages, which draws the battery. >> >> Guillaume Bienkowski >> [email protected] >> <mailto:[email protected]> >> >> >> >> Le 20 avr. 2015 à 00:53, Filip Malenka >> <[email protected]> a écrit : >> >> Ok Guys, I just got Linphone on Android to "publish" >> presence.. It works only on a rooted android though.. >> I edited /data/data/org.linphone/files/.linphonerc and changed >> publish=1 >> in the [proxy_0] section. Default is 0. I had to exit Linphone >> before it, because the value got overwritten to 0 everytime. >> Does anybody know where to change this default value to 1 in >> the source files and compile a modified android version? >> I already tried adding it to linphonerc_defaults and >> linphonerc_factory, but no change, it defaults always to 0. >> Maybe I used wrong sections, I have put it into [proxy_0] and >> this section does not exist prior to setting up an account.. >> If I could compile the "publish=1" version I could install on >> non-rooted android devices as well.. >> >> On 19.04.2015 22:09, Filip Malenka wrote: >> >> I just tried presence using CSipSimple and I got my mobile >> phone to appear "onlince" by setting the CSipSimple >> "enable publish" to on. Doesn't this publishing presence >> exist in Linphone? >> >> On 19.04.2015 21:43, Filip Malenka wrote: >> >> Sorry for bothering again with this issue, but I am >> lost here.. >> >> Is presence on android >> - not implemented? >> - implemented but not "activated"? How to activate? >> - already prebuild into linphone android and working >> over "push notifications"? (out-of-the-box)? Why >> doesn't it work even over sip.linphone.org >> <http://sip.linphone.org/> servers? >> - depending on another app? >> - android specific setting about SIP contacts? Any >> group settings? Contact specific fields? >> - Where can I set the Buddies? Or any presence related >> setting? >> >> I see only "Add contact" and I can add a phone number >> and a sip address.. Linphone interface offers no >> setting to subscribe or publish presence information >> to specific contacts whatsoever. All the android UAs >> appear offline.. >> >> Please guys, I beg you, how is presence working on >> Linphone android? >> On 09.04.2015 00:09, Filip Malenka wrote: >> >> Hi all, >> >> did anybody get presence working on Linphone Android? >> On other desktop linphone clients (linux/windows) >> there is the option >> "publish presence information". >> Where do I set this on Linphone Android? >> How can I subscribe on Android to presence of >> other useragents? >> Now I did experiment with the "Push >> notificatinons" and edited >> kamalio.cfg, but nothing changed.. Do push >> notifications have to do with >> presence? What do they do? >> >> At the moment, I am registered on my Android >> phone, but useragent is >> recognized as offline from all other clients (icon >> greyed out). >> >> Presence is working fine for me on other clients >> (Linux <> Windows). >> >> Thank you! >> Filip. >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> Linphone-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/linphone-users >> >> >> >> ------------------------------------------------------------------------ >> >> Linphone-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/linphone-users >> >> _______________________________________________ >> Linphone-users mailing list >> [email protected] <mailto:[email protected]> >> https://lists.nongnu.org/mailman/listinfo/linphone-users > > > > _______________________________________________ > Linphone-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/linphone-users > _______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
