[SR-Users] OpenXcap always returns full resource list

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 26 10:49:33 CEST 2012


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 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 
> <http://192.168.1.134:5060/xcap-root/resource-lists/users/sip:test4@192.168.1.134/index/%7E%7E/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 <mailto:sip%3Atest1 at 192.168.1.134>">
> <display-name>Test 1</display-name>
> </entry>
> <entry uri="sip:test122 at 192.168.1.134 
> <mailto:sip%3Atest122 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 <mailto:sip%3Atest2 at 192.168.1.134>">
> <display-name>Test 2</display-name>
> </entry>
> <entry uri="sip:test222 at 192.168.1.134 
> <mailto:sip%3Atest222 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 <mailto:sip%3Atest3 at 192.168.1.134>">
> <display-name>Test 3</display-name>
> </entry>
> <entry uri="sip:test322 at 192.168.1.134 
> <mailto:sip%3Atest322 at 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120426/b05fef06/attachment-0001.htm>


More information about the sr-users mailing list