extracting presence info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can get to the <tuple> nodes via pjsua_buddy_info::pjsua_pres_status::info[0..8]].tuple_node, but I don't think the pjsua api exposes the rest of the presence body.? You'd have to go pretty deep into the stack to change this.

If you have control of the server, stick your presence data inside a tuple node.

-m@



>I am working on the presence feature of an iPhone/iPad client. I am able to
>subscribe to a users presence service and get notifications. From
>on_buddy_state() i get callback with the information of
>info.status_text.ptr and info.sub_state_name.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111222/fe373ba4/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux