pjsua_buddy_add calls pjsua_buddy_subscribe_pres itself. You dont have to call pjsua_buddy_subscribe_pres after pjsua_buddy_add. One reason of unknown status could be parsing errors in PIDF document. You can check the document coming from the server and check the PJSUA logs. On Mon, Mar 25, 2013 at 6:55 PM, Manisha Khare <MK0065294 at techmahindra.com>wrote: > > Hi all, > > I am trying to subscribe the presence of my buddy, but everytime i am > getting PJSUA_BUDDY_STATUS_UNKNOWN. after doing pjsua_buddy_add i am > subscribing presence using pjsua_buddy_subscribe_pres. but still i am > getting PJSUA_BUDDY_STATUS_UNKNOWN. > > even in iPjsua i am getting the same status. > > Can anybody help me in this. For the record i am using iptel.org as a SIP > server. > > Thanks > Manisha > ============================================================================================================================Disclaimer: > This message and the information contained herein is proprietary and > confidential and subject to the Tech Mahindra policy statement, you may > review the policy at <a href="http://www.techmahindra.com/Disclaimer.html > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href=" > http://tim.techmahindra.com/tim/disclaimer.html"> > http://tim.techmahindra.com/tim/disclaimer.html</a> internally within > Tech > Mahindra.============================================================================================================================ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130325/7d213806/attachment-0001.html>