[reSIProcate] generate generic pidf

slgodin at gmail.com slgodin at gmail.com
Fri Jul 15 20:32:37 CDT 2016


Right - there are only methods for setting simple presence.  You would need to add your own methods.

Scott

Sent from my iPhone

> On Jul 15, 2016, at 9:00 PM, Mateus Bellomo <mateusbellomo at gmail.com> wrote:
> 
> Yes, it is at [1]. But the examples are all generated hard coded style: it is created a Data type with the xml passed as string. This is the only way of doing this? I thought I could do this using methods from [2].
> 
> 
> [1] https://github.com/resiprocate/resiprocate/blob/master/resip/stack/test/testGenericPidfContents.cxx
> [2] https://github.com/resiprocate/resiprocate/blob/master/resip/stack/GenericPidfContents.hxx
> 
> 2016-07-15 21:56 GMT-03:00 <slgodin at gmail.com>:
>> I believe there is a testGenericPidfContents file under resip/test with lots of examples.
>> 
>> Scott
>> 
>> Sent from my iPhone
>> 
>>> On Jul 15, 2016, at 8:08 PM, Mateus Bellomo <mateusbellomo at gmail.com> wrote:
>>> 
>>> Hello,
>>> 
>>> I need to generate a pidf with new kind of tuples. In fact I would like to generate a tuple like this:
>>> 
>>> <dm:person id="p1234">
>>>    <rpid: activities/>
>>> </dm:person>
>>> 
>>> Using GenericPidfContents [1] I was able to add some namespaces at presence tag, but now I need also to add this extra tuples.
>>> 
>>> Any help would be greatly appreciated.
>>> 
>>> Thanks.
>>> 
>>> [1] https://github.com/resiprocate/resiprocate/blob/master/resip/stack/GenericPidfContents.hxx
>>> _______________________________________________
>>> resiprocate-devel mailing list
>>> resiprocate-devel at resiprocate.org
>>> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160715/33fd3e99/attachment.htm>


More information about the resiprocate-devel mailing list