Saul/Adrian,
<br />
<br />I did paste the URL into a browser and everything worked out fine. When I get home I will do more testing with the Snom phone because I have no clue why I am seeing that double url.
<br />
<br />Also here is my OpenXCAP config
<br />
<br />;
<br />; Configuration file for OpenXCAP
<br />;
<br />; Copyright (c) 2007-2009 AG Projects
<br />; http://ag-projects.com
<br />
<br />[Server]
<br />
<br />; IP address and port to listen for requests
<br />; 0.0.0.0 means any address of this host
<br />address = 17X.XXX.XXX.XXX
<br />port = 443
<br />;port = 80
<br />; The XCAP Root URI; must not contain any port number. If the scheme is
<br />; https, then the server will listen for requests in TLS mode.
<br />
<br />; This is a comma/space separated list of XCAP root URIs. The first is the
<br />; primary XCAP root URI, while the others (if specified) are aliases.
<br />; The primary root URI is used when generating xcap-diff
<br />
<br />root = https://xcap.ae.com/xcap-root
<br />;root = http://xcap.ae.com/xcap-root
<br />; The backend to be used for storage and authentication. Current supported
<br />; values are Database and OpenSIPS. OpenSIPS backend inherits all the settings
<br />; from the Database backend but performs extra actions related to the
<br />; integration with OpenSIPS for which it read the settings from [OpenSIPS]
<br />; section
<br />
<br />backend = OpenSIPS
<br />
<br />; Validate XCAP documents against XML schemas
<br />document_validation = Yes
<br />
<br />
<br />[Logging]
<br />; directory where to put log files, default is /var/log/openxcap
<br />; if empty, like in the following line, logs will be printed to stdout
<br />directory= /var/log/openxcap
<br />
<br />; The following log_* parameters control what information is logged for
<br />; which errors. Their format is comma-separated list of HTTP error codes
<br />; that should enable the feature currently implemented: log_request_headers,
<br />; log_response_body, log_stacktrace
<br />
<br />; Some examples:
<br />
<br />; * log stack trace for 500 Internal Error only (default)
<br />log_stacktrace=500
<br />
<br />; * log stack trace (if available) for any error
<br />log_stacktrace=any
<br />
<br />; * log responses sent to the client for 400 and 409 errors (default is 500)
<br />log_response_body=400,409
<br />
<br />; * log headers sent by the client for 401 errors (default is 500)
<br />log_request_headers=401
<br />
<br />
<br />[Authentication]
<br />
<br />; The HTTP authentication type, this can be either 'basic' or 'digest'.
<br />; If you're using TLS, it's better to choose 'basic' because the data is
<br />; encrypted anyway.
<br />type = basic
<br />
<br />; Specify if the passwords are stored as plain text - Yes
<br />; or in a hashed format MD5('username:domain:password') - No
<br />cleartext_passwords = No
<br />
<br />; The default authentication realm
<br />default_realm = ae.com
<br />
<br />; A list of trusted peers from where XCAP requests are accepted without HTTP
<br />; authentication e.g. trusted_peers = 10.0.0.0/24, 192.168.0.1
<br />trusted_peers = 66.XX.XXX.XXX, 127.0.0.1, 17X.XXX.XXX.XXX
<br />
<br />
<br />[TLS]
<br />
<br />; Location of X509 certificate and private key that identify this server.
<br />; The path is relative to /etc/openxcap, or it can be given as an absolute
<br />; path.
<br />
<br />; Server X509 certificate
<br />certificate = tls/openxcapserver.crt
<br />
<br />; Server X509 private key
<br />private_key = tls/openxcapserver.key
<br />
<br />
<br />[Database]
<br />
<br />; The database connection URI for the datase with subscriber accounts
<br />authentication_db_uri = mysql://opensips:<a href="/user/SendEmail.jtp?type=node&node=5108810&i=0" target="_top" rel="nofollow">[hidden email]</a>/opensips
<br />
<br />; The database connection URI for the database that stores the XCAP documents
<br />storage_db_uri = mysql://opensips:<a href="/user/SendEmail.jtp?type=node&node=5108810&i=1" target="_top" rel="nofollow">[hidden email]</a>/opensips
<br />
<br />; Authentication and storage tables
<br />subscriber_table = subscriber
<br />xcap_table = xcap
<br />
<br />
<br />[OpenSIPS]
<br />
<br />; The address and port of the xml-rpc management interface
<br />xmlrpc_url = http://17X.XXX.XXX.XXX:8080
<br />
<br />; Publish xcap-diff event via OpenSIPS management interface
<br />enable_publish_xcapdiff = yes
<br />
<br />On May 27, 2010 1:35am, "Saúl Ibarra Corretgé [via OpenSIPS (Open SIP Server)]" <<a href="/user/SendEmail.jtp?type=node&node=5108810&i=2" target="_top" rel="nofollow">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><br />>
<br />>
<br />>
<br />>
<br />> Hi,
<br />>
<br />>
<br />>
<br />> On 27/5/10 4:21 AM, osiris123d wrote:
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > I set up Snom to work off of port 80 and the ngrep capture of port 80 on the
<br />>
<br />>
<br />> > openxcap server is
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > ####
<br />>
<br />>
<br />> > T 2010/05/26 20:28:39.863832 7X.XX.8.XX8:2108 -> 17X.XXX.XXX.XX4:80 [AP]
<br />>
<br />>
<br />> > ....?...;........(m..J....................d.b....
<br />>
<br />>
<br />> > ####
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > And the snom log says
<br />>
<br />>
<br />> > [1] 23/12/2001 18:01:08: webclient: request
<br />>
<br />>
<br />> > xcap.ae.com:80https://xcap.ae.com:[hidden email]/resource-lists/users/sip:[hidden email]/index
<br />>
<br />>
<br />> > stopped due to no response from server
<br />>
<br />>
<br />> > [5] 23/12/2001 18:01:08: XCAPclient: server did not provide an etag
<br />>
<br />>
<br />> > [5] 23/12/2001 18:01:08: XCAPclient: Retrieving directory failed with
<br />>
<br />>
<br />> > error-code 408 and message:
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > I am not able to get a clear ngrep capture but I can tell you for a fact
<br />>
<br />>
<br />> > that on the client side I am not sending a doubled up url of
<br />>
<br />>
<br />> > https://xcap.ae.comhttps://xcap.ae.com
<br />> >
<br />>
<br />>
<br />>
<br />> Looks like the Snom uses SSL anyway.
<br />>
<br />>
<br />>
<br />> > I believe the first line in the openxcap access.log verifies this.
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > 7X.XX.XX.XX8 'GET
<br />>
<br />>
<br />> > https://xcap.ae.com/xcap-root@.../resource-lists/users/sip:9XX27X2XX0@.../index
<br />> > HTTP/
<br />>
<br />>
<br />> > 1.1' 404 0 179 'Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)' -
<br />>
<br />>
<br />> > TRACEBACK (most recent call last):
<br />>
<br />>
<br />> > File
<br />>
<br />>
<br />> > "/usr/lib/python2.5/site-packages/twisted/web2/channel/http.py", line 412,
<br />>
<br />>
<br />> > in processRequest
<br />>
<br />>
<br />> > self.request.process()
<br />>
<br />>
<br />> > File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",
<br />>
<br />>
<br />> > line 299, in process
<br />>
<br />>
<br />> > d.callback(None)
<br />>
<br />>
<br />> > File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
<br />>
<br />>
<br />> > line 280, in callback
<br />>
<br />>
<br />> > self._startRunCallbacks(result)
<br />>
<br />>
<br />> > File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
<br />>
<br />>
<br />> > line 354, in _startRunCallbacks
<br />>
<br />>
<br />> > self._runCallbacks()
<br />>
<br />>
<br />> > --- ---
<br />>
<br />>
<br />> > File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
<br />>
<br />>
<br />> > line 371, in _runCallbacks
<br />>
<br />>
<br />> > self.result = callback(self.result, *args, **kw)
<br />>
<br />>
<br />> > File "/usr/lib/python2.5/site-packages/twisted/web2/server.py",
<br />>
<br />>
<br />> > line 296, in
<br />>
<br />>
<br />> > d.addCallback(lambda res, req: res.renderHTTP(req), self)
<br />>
<br />>
<br />> > File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
<br />>
<br />>
<br />> > 335, in renderHTTP
<br />>
<br />>
<br />> > d = self.authenticate(request)
<br />>
<br />>
<br />> > File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
<br />>
<br />>
<br />> > 225, in authenticate
<br />>
<br />>
<br />> > xcap_uri = parseNodeURI(uri, AuthenticationConfig.default_realm)
<br />>
<br />>
<br />> > File "/usr/lib/pymodules/python2.5/xcap/authentication.py", line
<br />>
<br />>
<br />> > 94, in parseNodeURI
<br />>
<br />>
<br />> > raise ResourceNotFound("XCAP root not found for URI: %s" %
<br />>
<br />>
<br />> > node_uri)
<br />>
<br />>
<br />> > xcap.errors.ResourceNotFound: XCAP root not found for URI:
<br />>
<br />>
<br />> > https://xcap.ae.comhttps://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX27X2XX0@.../index
<br />> >
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />> > I am running the OpenXCAP 1.2.0
<br />>
<br />>
<br />> >
<br />>
<br />>
<br />>
<br />> Can you do a quick test? Paste the URL on your browser and check the
<br />>
<br />>
<br />> logs. I tested a similar URL myself and couldn't get that traceback.
<br />>
<br />>
<br />>
<br />>
<br />> --
<br />>
<br />>
<br />> Saúl Ibarra Corretgé
<br />>
<br />>
<br />> AG Projects
<br />>
<br />>
<br />>
<br />> _______________________________________________
<br />>
<br />>
<br />> Users mailing list
<br />>
<br />>
<br />> [hidden email]
<br />>
<br />>
<br />> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> View message @ http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5107199.html
<br />>
<br />>
<br />>
<br />>
<br />> To unsubscribe from Re: OpenXCAP and Presence with SNOM version 8.2.29, click here.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5108810.html">Re: Re: OpenXCAP and Presence with SNOM version 8.2.29</a><br>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br>