[SR-Users] OpenXcap always returns full resource list

Fabian Bernhard fbernhard at gmail.com
Wed Apr 25 14:04:31 CEST 2012


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 at 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 at 192.168.1.134">
<display-name>Test 1</display-name>
</entry>
<entry uri="sip:test122 at 192.168.1.134">
<display-name>Test 1</display-name>
</entry>
</list>
<list name="Family">
<entry uri="sip:test2 at 192.168.1.134">
<display-name>Test 2</display-name>
</entry>
<entry uri="sip:test222 at 192.168.1.134">
<display-name>Test 2</display-name>
</entry>
</list>
<list name="Friends">
<entry uri="sip:test3 at 192.168.1.134">
<display-name>Test 3</display-name>
</entry>
<entry uri="sip:test322 at 192.168.1.134">
<display-name>Test 3</display-name>
</entry>
</list>
<list name="Blocked" />
</resource-lists>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120425/0c5e9e9a/attachment.htm>


More information about the sr-users mailing list