Re: [reSIProcate] RFC 4661 support
For the XML body itself:
You should use OctetContents for a generic XML body. Take a look in resip/stack/test for many examples of how to do various things in stack. In particular testPidf.cxx and substitute Pidf class with OctetContents. The dum directory also has a test subdir for DUM specific things.
repro is a proxy, so it's not the right place for this.
You can add the message body after calling dum.makeSubscription and before calling send.
Scott
On Fri, Jan 18, 2013 at 2:27 PM, resip stack
<resipdev@xxxxxxxxx> wrote:
Hello Scott,
thanks for the reply.
I am looking towards adding a XML body using the resip::stack::contents.cxx file on the outbound SUBSCRIBE request.
Can I directly use the contents.cxx or use DUM to add this content.
Do you have any suggestios on how I can do this using DUM or repro? Any example or pointers would be helpful.
Thanks