I am trying to get Bria and Snom to use the same XCAP documents.  I am having issues getting to play well with together with OpenXCAP.
<br />
<br />Currently the only way to get Bria xcap config to authenticate with OpenXCAP you have to manually set the username to be the OpenSIPS subscriber.  If you tell Bria to &quot;Use SIP credentials&quot; OpenXCAP thinks the username is actually &quot;sip&quot; because it is taking the &quot;sip&quot; from the uri &quot;sip:XXXXXXX@xyz.com&quot;.  Yet for some reason when a Snom phone sends its username info OpenXCAP takes the whole sip uri as the username successfully, but the authentication still fails because no user exists that has the full uri &quot;sip:xxxx@xyz.com&quot;
<br />
<br />I am wondering what can be done when it comes to OpenXCAP user authentication.  Below you will see 3 displays.  
<br />
<br />The first is a Bria client that can authenticate when the username is manually entered (works fine).
<br />The second is a Snom client that tries to authenticate with the sip uri (no good)
<br />The third is a Bria client that tries to authenticate when the &quot;Use SIP credentials&quot; is set (no good)
<br />
<br />
<br />Good Bria Auth
<br />--------------------------------------------------------------------------------------------
<br />
<br />####
<br />T 2010/11/27 23:13:49.740070 75.XX.XX.XX:51638 -&gt; 173.XX.XX.XX:80 [AP]
<br />GET /xcap-root@irock.com/resource-lists/users/9012XX2XX/contacts-resource-list.xml HTTP/1.1.
<br />Host: xcap.ae.com.
<br />Accept: */*.
<br />.
<br />
<br />##
<br />T 2010/11/27 23:13:49.742264 173.XX.XX.XX:80 -&gt; 75.XX.XX.XX:51638 [AP]
<br />HTTP/1.1 401 Unauthorized.
<br />Date: Sun, 28 Nov 2010 05:13:49 GMT.
<br />Content-Length: 141.
<br />Content-Type: text/html.
<br />WWW-Authenticate: digest nonce=&quot;200168871397238953776527501139563679082698914645735932561&quot;, opaque=&quot;4da449c730ab8be594dffa4095ea7f30-MjAwMTY4ODcxMzk3MjM4OTUzNzc2NTI3NTAxMTM5NTYzNjc5MDgyNjk4OTE0NjQ1NzM1OTMyNTYxLDc1LjY1LjguMTU4LDEyOTA5MjEyMjk=&quot;, realm=&quot;irock.com&quot;, algorithm=MD5, qop=&quot;auth&quot;.
<br />Server: OpenXCAP/2.0.0.
<br />.
<br />&lt;html&gt;&lt;head&gt;&lt;title&gt;Unauthorized&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Unauthorized&lt;/h1&gt;&lt;p&gt;You are not authorized to access this resource.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
<br />#
<br />T 2010/11/27 23:13:49.808204 75.XX.XX.XX:51638 -&gt; 173.XX.XX.XX:80 [AP]
<br />GET /xcap-root@irock.com/resource-lists/users/9012XX2XX/contacts-resource-list.xml HTTP/1.1.
<br />Authorization: Digest username=&quot;9012XX2XX&quot;, realm=&quot;irock.com&quot;, nonce=&quot;200168871397238953776527501139563679082698914645735932561&quot;, uri=&quot;/xcap-root@irock.com/resource-lists/users/9012XX2XX/contacts-resource-list.xml&quot;, cnonce=&quot;Mjg0NjI2&quot;, nc=00000001, qop=&quot;auth&quot;, response=&quot;e8236a7d007ddab5f22d862dad939f02&quot;, opaque=&quot;4da449c730ab8be594dffa4095ea7f30-MjAwMTY4ODcxMzk3MjM4OTUzNzc2NTI3NTAxMTM5NTYzNjc5MDgyNjk4OTE0NjQ1NzM1OTMyNTYxLDc1LjY1LjguMTU4LDEyOTA5MjEyMjk=&quot;, algorithm=&quot;MD5&quot;.
<br />Host: xcap.ae.com.
<br />Accept: */*.
<br />.
<br />
<br />#
<br />T 2010/11/27 23:13:49.811928 173.XX.XX.XX:80 -&gt; 75.XX.XX.XX:51638 [A]
<br />HTTP/1.1 200 OK.
<br />Content-Length: 1277.
<br />Accept-Ranges: bytes.
<br />Server: OpenXCAP/2.0.0.
<br />ETag: &quot;0a777fc8e2fa5738dac84cd37a09728e&quot;.
<br />Date: Sun, 28 Nov 2010 05:13:49 GMT.
<br />Content-Type: application/resource-lists+xml.
<br />
<br />
<br />--------------------------------------------------------------------------------------------
<br />
<br />
<br />Bad Snom Request
<br />--------------------------------------------------------------------------------------------
<br />
<br />GET /xcap-root%40irock.com/resource-lists/users/sip%3a9012XX2XX%40irock.com/contacts-resource-list.xml HTTP/1.1.
<br />Host: xcap.ae.com.
<br />Content-Length: 0.
<br />Authorization: Digest username=&quot;sip:9012XX2XX@irock.com&quot;,realm=&quot;irock.com&quot;,nonce=&quot;706537289489428161442329100350740932242275198240602726865&quot;,uri=&quot;/xcap-root%40irock.com/resource-lists/users/sip%3a9012XX2XX%40irock.com/contacts-resource-list.xml&quot;,qop=auth,nc=00000001,cnonce=&quot;72a71f02&quot;,response=&quot;f60f4577371ec3cf8e3fdfdc194df2ac&quot;,opaque=&quot;36dd9c567f00c16f8bc118f0817ba07b-NzA2NTM3Mjg5NDg5NDI4MTYxNDQyMzI5MTAwMzUwNzQwOTMyMjQyMjc1MTk4MjQwNjAyNzI2ODY1LDc1LjY1LjguMTU4LDEyOTA5MjE4MjQ=&quot;.
<br />Accept-Language: en.
<br />Connection: Keep-Alive.
<br />Keep-Alive: 5.
<br />User-Agent: Mozilla/4.0 (compatible; snom360-SIP 8.4.18 1.1.3-m).
<br />.
<br />
<br />##
<br />T 2010/11/27 23:23:44.144617 173.XX.XX.XX:80 -&gt; 75.XX.XX.XX:2076 [AP]
<br />HTTP/1.1 401 Unauthorized.
<br />Date: Sun, 28 Nov 2010 05:23:44 GMT.
<br />Content-Length: 141.
<br />Content-Type: text/html.
<br />WWW-Authenticate: digest nonce=&quot;139414618774781493440636305424629766704451120358098653186&quot;, opaque=&quot;d930569724b82196640444742ca8683b-MTM5NDE0NjE4Nzc0NzgxNDkzNDQwNjM2MzA1NDI0NjI5NzY2NzA0NDUxMTIwMzU4MDk4NjUzMTg2LDc1LjY1LjguMTU4LDEyOTA5MjE4MjQ=&quot;, realm=&quot;irock.com&quot;, algorithm=MD5, qop=&quot;auth&quot;.
<br />Server: OpenXCAP/2.0.0.
<br />.
<br />&lt;html&gt;&lt;head&gt;&lt;title&gt;Unauthorized&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Unauthorized&lt;/h1&gt;&lt;p&gt;You are not authorized to access this resource.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
<br />
<br />
<br />
<br />--------------------------------------------------------------------------------------------
<br />
<br />
<br />
<br />
<br />
<br />Bad Bria Request
<br />--------------------------------------------------------------------------------------------
<br />
<br />
<br />GET /xcap-root@irock.com/resource-lists/users/sip:9012XX2XX@irock.com/resource-list.xml HTTP/1.1.
<br />Authorization: Digest username=&quot;sip&quot;, realm=&quot;irock.com&quot;, nonce=&quot;50095226763860567326458028738337048298233814822458738089&quot;, uri=&quot;/xcap-root@irock.com/resource-lists/users/sip:9012XX2XX@irock.com/resource-list.xml&quot;, cnonce=&quot;Mjg1NzE2&quot;, nc=00000001, qop=&quot;auth&quot;, response=&quot;089dd6ca050f6212c6803d74a032009a&quot;, opaque=&quot;7a655f7cb5ce8376f21b8fdaf8a3ffe5-NTAwOTUyMjY3NjM4NjA1NjczMjY0NTgwMjg3MzgzMzcwNDgyOTgyMzM4MTQ4MjI0NTg3MzgwODksNzUuNjUuOC4xNTgsMTI5MDkyMjMyMA==&quot;, algorithm=&quot;MD5&quot;.
<br />Host: xcap.ae.com.
<br />Accept: */*.
<br />If-None-Match: &quot;44a8ee0920c465b4397a1de5f3518b5d&quot;.
<br />.
<br />
<br />#
<br />T 2010/11/27 23:32:00.468693 173.XX.XX.XX:80 -&gt; 75.XX.XX.XX:51739 [AP]
<br />HTTP/1.1 401 Unauthorized.
<br />Date: Sun, 28 Nov 2010 05:32:00 GMT.
<br />Content-Length: 141.
<br />Content-Type: text/html.
<br />WWW-Authenticate: digest nonce=&quot;331761275047467742060996448408084816202194629691680164782&quot;, opaque=&quot;4e6f75781025f661095515876322a7c6-MzMxNzYxMjc1MDQ3NDY3NzQyMDYwOTk2NDQ4NDA4MDg0ODE2MjAyMTk0NjI5NjkxNjgwMTY0NzgyLDc1LjY1LjguMTU4LDEyOTA5MjIzMjA=&quot;, realm=&quot;irock.com&quot;, algorithm=MD5, qop=&quot;auth&quot;.
<br />Server: OpenXCAP/2.0.0.
<br />.
<br />&lt;html&gt;&lt;head&gt;&lt;title&gt;Unauthorized&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Unauthorized&lt;/h1&gt;&lt;p&gt;You are not authorized to access this resource.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;