[SR-Users] Does xcap server of kamailio support partial update of xcap document?
lau.testi at gmail.com
Wed Sep 7 11:24:34 CEST 2011
thank you for your quick reply. We have already tried with node
selector '~~' after doc uri in the http XCAP PUT request. But We got
the error "ERROR: xcap_server [xcap_misc.c:60]: http uri too long"
then "ERROR: xcap_server [xcap_misc.c:736]: error setting xcap uri data...".
I think that it can be a limitation of the MAX URI length which
actually it's set to 128. Maybe also something else.
We'll try to increase the max length definition and see what happen.
Any other suggestion?
Thank you much again.
On Wed, Sep 7, 2011 at 10:37 AM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> On 9/6/11 3:25 PM, laura testi wrote:
>> I am using the XCAP server of kamailio for contact list and presence
>> rules. It seems it only support to update the whole xcap doc of the
>> user but not the partial update. Can anyone tell me if the kamailio's
>> xcap server support the partial update of a user's doc? for example,
>> to remove a contact from the contact list or add a contact to the
>> contact list without PUT or DELETE the whole xcap document of this
>> user? If yes, what's the syntax of the HTTP request?
> it should work using the node selector '~~' and then XPath format to point
> the part to be updated. This is actually in the HTTP URL, rfc4825 has some
> examples, iirc.
> Daniel-Constantin Mierla -- http://www.asipto.com
> Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
> http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-users