Dear list,

we are running Kamailio 3.2 together with the included OpenXcap server.

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?

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>