<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin: 0;"><br></p><div style="margin: 0;">Hi Sir/Madam,</div><div style="margin: 0;"><br></div><div style="margin: 0;">I set up Ubuntu 10.04 + opensue3.1, then the xcap module work fine.</div><div style="margin: 0;"><br></div><div style="margin: 0;">Then seems the last version xcap module could NOT send the "GET" message with digest, when get 401 response.</div><div style="margin: 0;"><br></div><div style="margin: 0;">Is there any parameter which should be set, in order to fix it? </div><div style="margin: 0;"><br></div><div style="margin: 0;">Thanks!</div><div style="margin: 0;"><br></div><div style="margin: 0;"><p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">GET /xcap-root/xcap-caps/global/index HTTP/1.1</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">Connection: close</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">Host: 192.168.3.92:5060</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">User-Agent: Jitsi/2.10.5550</span></p>
<p style="margin: 0px; color: rgb(127, 0, 0);"><br></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">HTTP/1.1 401 Unauthorized</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Via: SIP/2.0/TCP 192.168.3.2:64456</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">WWW-Authenticate: Digest realm="xcap", nonce="Y2EQdGNhD0i+lrl8o8tcSAWCWQzjYC/T"</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Server: kamailio (3.1.6 (x86_64/linux))</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Content-Length: 0</span></p>
<p style="margin: 0px; color: rgb(0, 0, 127);"><br></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">GET /xcap-root/xcap-caps/global/index HTTP/1.1</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">Connection: close</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">Host: 192.168.3.92:5060</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">User-Agent: Jitsi/2.10.5550</span></p>
<p style="margin: 0px;"><span style=" color:#7f0000; background-color:#fbeded;">Authorization: Digest username="alice", realm="xcap", nonce="Y2EQdGNhD0i+lrl8o8tcSAWCWQzjYC/T", uri="/xcap-root/xcap-caps/global/index", response="67298bcc13442ced04641cf2bb9855f2", algorithm="MD5"</span></p>
<p style="margin: 0px; color: rgb(127, 0, 0);"><br></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">HTTP/1.1 200 ok</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Via: SIP/2.0/TCP 192.168.3.2:64456</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Content-Type: application/xcap-caps+xml</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Server: kamailio (3.1.6 (x86_64/linux))</span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">Content-Length: 694</span></p>
<p style="margin: 0px; color: rgb(0, 0, 127);"><br></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;"><?xml version='1.0' encoding='UTF-8'?></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;"><xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps'></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  <auids></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>rls-services</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>pidf-manipulation</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>xcap-caps</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>resource-lists</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>pres-rules</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <auid>org.openmobilealliance.pres-rules</auid></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  </auids></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  <extensions></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  </extensions></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  <namespaces></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <namespace>urn:ietf:params:xml:ns:rls-services</namespace></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <namespace>urn:ietf:params:xml:ns:pidf</namespace></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <namespace>urn:ietf:params:xml:ns:xcap-caps</namespace></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <namespace>urn:ietf:params:xml:ns:resource-lists</namespace></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">    <namespace>urn:ietf:params:xml:ns:pres-rules</namespace></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;">  </namespaces></span></p>
<p style="margin: 0px;"><span style=" color:#00007f; background-color:#ededfb;"></xcap-caps></span></p></div><p style="margin: 0;"><br></p><div style="margin: 0;">BR,</div><div style="margin: 0;">Sparkle Zou</div><div style="margin: 0;"><br></div><div style="margin: 0;"><br></div><p>At 2022-10-30 16:20:05, "SparkleZou" <sparklezou@126.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">Hi Sir/Madam,</div><div style="margin:0;">I'm trying to set up the presence service according to the manual <a href="http://kb.asipto.com/kamailio:presence:k31-made-simple" _src="http://kb.asipto.com/kamailio:presence:k31-made-simple">http://kb.asipto.com/kamailio:presence:k31-made-simple</a> </div><div style="margin:0;"><br></div><div style="margin:0;">Also refer to the doc <a href="https://kamailio.org/docs/modules/devel/modules/xcap_server.html" _src="https://kamailio.org/docs/modules/devel/modules/xcap_server.html">https://kamailio.org/docs/modules/devel/modules/xcap_server.html</a> </div><div style="margin:0;"><br></div><div style="margin:0;">Seems the Kamailio cfg fine.  but when to get the xcap data, get the 401 response.</div><div style="margin:0;"><br></div><div style="margin:0;">Please see the attached log. Is there any more should be configured?</div><div style="margin:0;"><br></div><div style="margin:0;">Thanks!</div><div style="margin:0;"><br></div><div style="margin:0;">BR,</div><div style="margin:0;">Sparkle Zou</div></div></blockquote></div>