[SR-Users] Does xcap server of kamailio support partial update of xcap document?

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 7 10:37:55 CEST 2011


Hello,

On 9/6/11 3:25 PM, laura testi wrote:
> Hi,
> 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.

Cheers,
Daniel

-- 
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 mailing list