[ opensips-Bugs-2351116 ] Error in creating RLS service document

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2351116 ] Error in creating RLS service document

SourceForge.net
Bugs item #2351116, was opened at 2008-11-26 17:00
Message generated for change (Comment added) made by dan_pascu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2351116&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: trunk
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nathan (rmnathan)
>Assigned to: Dan (dan_pascu)
Summary: Error in creating RLS service document

Initial Comment:
Hi
I tried latest codes from trunk svn of opensips.I  looked at the get_resource_list() in the subscribe.c has changed lot.
Instead of resource-list document , rls-services document is used to get the list.
I used openxcap to create resource-list document. But now when i tried to create rls-service document in openxcap am getting following error

Exception rendering:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/web2/stream.py", line 407, in _read
    self._gotData(result)
  File "/usr/lib/python2.5/site-packages/twisted/web2/stream.py", line 418, in _gotData
    result.callback(None)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 178, in _finished_reading
    d = self.authenticate(request)
  File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 116, in authenticate
    request.xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)
  File "/usr/lib/python2.5/site-packages/xcap/uri.py", line 200, in parseNodeURI
    return XCAPUri(xcap_root, resource_selector, default_realm)
  File "/usr/lib/python2.5/site-packages/xcap/uri.py", line 180, in __init__
    if not self.user.domain:
exceptions.AttributeError: 'NoneType' object has no attribute 'domain'

While trying to store(uri = "/xcap-root/rls-services/global/index") the following rls-service document
<?xml version="1.0" encoding="UTF-8"?>
 <rls-services xmlns="urn:ietf:params:xml:ns:rls-services"
  xmlns:rl="urn:ietf:params:xml:ns:resource-lists"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <service uri="sip:s3-1@192.168.166.150">
         <resource-list>http://xcap-root@192.168.166.150/resource-lists/users/sip:s3-          1@192.168.166.150/resource-list.xml/~~/resource-lists/list[@name=%22default%22]
        </resource-list>
        <packages> <package>presence</package> </packages>  
  </service>
 
  <service uri="sip:s3-1_lis1@192.168.166.150">
   <list name="s3-1">
    <entry uri="sip:c3-1@192.168.166.150"/>
   </list>
   <packages>
    <package>presence</package>
   </packages>
  </service>
 </rls-services>


Is there any anything(syntax) I might be missing?

Thanks in advance

Nathan

----------------------------------------------------------------------

>Comment By: Dan (dan_pascu)
Date: 2008-11-27 10:41

Message:
This is not the place to report openxcap issues. openxcap has it's own
tracker. post there (you already did) and follow the advices you get,
instead of posting the same issue to every tracker you know of on every
related project.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-11-26 17:09

Message:
You have opened a ticket on OpenXCAP site with the same question. You are
running an old server version as it was explained to you. Please upgrade
your server to 1.0.6.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2351116&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel