Hi Klaus Maybe there is a better way but indeeed when I did this I implemented a new pjsua_acc_set_online_status It is a bit messy since I added some new feature to the rpid implementation so these elements are added at the same time as other xml elements are built. I think there are probably better ways to do this. Are there not ways to extend the presence packages in pjsip, I think I saw that once. /Johan On 27/05/2010 19:00, pjsip-request at lists.pjsip.org wrote: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. PUBLISH arbitrary presence body with pjsua-lib (Klaus Darilion) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 27 May 2010 18:48:34 +0200 > From: Klaus Darilion<klaus.mailinglists@xxxxxxxxx> > To: pjsip embedded/DSP SIP discussion<pjsip at lists.pjsip.org> > Subject: PUBLISH arbitrary presence body with pjsua-lib > Message-ID:<4BFEA262.20001 at pernau.at> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Hi! > > For testing some rpesence stuff I want to PUBLISH application generated > presence XML documents. Unfortunately I couldn't find a function which > allows this, even pjsua_acc_set_online_status2 is rather limited. > > How can I easily PUBLISH any content? Any workaround? > > If this not possible yet I vote for a pjsua_acc_set_online_status3() > function which takes the whole XML body as parameter. > > Thanks > Klaus > > > > ------------------------------ > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > End of pjsip Digest, Vol 33, Issue 39 > ************************************* > >