Hello,

On 4/25/12 2:04 PM, Fabian Bernhard wrote:
Dear list,

we are running Kamailio 3.2 together with the included OpenXcap server.
by the "included openxcap" server do you mean the xcap_server module?

  * http://kamailio.org/docs/modules/stable/modules_k/xcap_server.html

I try to retrieve only part of a certain resource list using XPath, but the server always returns the full list, see example below. I was so far not able to retrieve only part of a resource list, independent of the XPath expression I'm using.

Do I make something wrong or is this a bug?

Can you try with the master branch (which is upcoming 3.3.0, development being frozen already and we are in testing phase for it)? Just to be sure it is not a feature we added afterwards - I cannot look right now in the sources.

Cheers,
Daniel


Thanks and regards,

Fabian


fubeh@orion:~$ curl --digest -u test4:XXXX http://192.168.1.134:5060/xcap-root/resource-lists/users/sip:test4@192.168.1.134/index/~~/resource-lists/list%5b@name=Family%5d
<?xml version="1.0"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="Business">
<entry uri="sip:test1@192.168.1.134">
<display-name>Test 1</display-name>
</entry>
<entry uri="sip:test122@192.168.1.134">
<display-name>Test 1</display-name>
</entry>
</list>
<list name="Family">
<entry uri="sip:test2@192.168.1.134">
<display-name>Test 2</display-name>
</entry>
<entry uri="sip:test222@192.168.1.134">
<display-name>Test 2</display-name>
</entry>
</list>
<list name="Friends">
<entry uri="sip:test3@192.168.1.134">
<display-name>Test 3</display-name>
</entry>
<entry uri="sip:test322@192.168.1.134">
<display-name>Test 3</display-name>
</entry>
</list>
<list name="Blocked" />
</resource-lists>


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda