Hello All,
I am using Kamailio 3.3 with Presence/RLS and integrated XCAP. When
my client tries to "PUT" the resource list for the user, the server is
returning a 500 Server Error response. Attached is the TCP trace for
the put and the corresponding response from the server. I also see the
following error in the server logs:
Oct 3 12:13:04 RCS-Presence /usr/local/sbin/kamailio[17593]: ERROR:
<script>: ===== xhttp: put received sip:8475551001@10.50.251.12
Oct 3 12:13:04 RCS-Presence /usr/local/sbin/kamailio[17593]: ERROR:
xcap_server [xcap_misc.c:109]: invalid http uri - shorter than
xcap-root
Oct 3 12:13:04 RCS-Presence /usr/local/sbin/kamailio[17593]: ERROR:
xcap_server [xcap_server.c:560]: cannot parse xcap uri [0]
Maybe it's a client/server configuration issue. What is the expected
http uri. How do I print out the received HTTP URI And the XCAP root.
Any debugging help is appreciated.
TCP trace:
PUT /xcap-root/resource-lists/users/8475551001/index HTTP/1.1
Host: 10.50.251.12:5060
Content-Length: 2037
Connection: Keep-Alive
User-Agent: XDM-client/OMA1.1
X-3GPP-Intended-Identity: 8475551001
Content-Type: application/resource-lists+xml
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="rcs">
<display-name>All Contacts</display-name>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22doubango%22%5D"
/>
<entry uri="8475551001" />
</list>
<list name="rcs_blockedcontacts">
<display-name>Blocked Contacts</display-name>
</list>
<list name="rcs_revokedcontacts">
<display-name>Revoked Contacts</display-name>
</list>
<list name="oma_allcontacts">
<display-name>OMA All Contacts</display-name>
</list>
<list name="oma_blockedcontacts">
<display-name>OMA Blocked Contacts</display-name>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22rcs_blockedcontacts%22%5D"
/>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22rcs_revokedcontacts%22%5D"
/>
</list>
<list name="oma_buddylist">
<display-name>OMA BuddyList</display-name>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22rcs%22%5D"
/>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22oma_pocbuddylist%22%5D"
/>
</list>
<list name="oma_grantedcontacts">
<display-name>OMA Granted Contacts</display-name>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22rcs%22%5D"
/>
<external
anchor="http://10.50.251.12:5060/xcap-root/resource-lists/users/8475551001/index/~~/resource-lists/list%5B@name=%22oma_buddylist%22%5D"
/>
</list>
<list name="oma_pocbuddylist">
<display-name>OMA POC BuddyList</display-name>
</list>
<list name="doubango">
<display-name>My Default Contacts</display-name>
</list>
</resource-lists>
HTTP/1.1 500 Server error
Via: SIP/2.0/TCP 10.51.2.181:49889
Server: kamailio (3.3.1 (x86_64/linux))
Content-Length: 0
Thanks,
Sangeeta
--
Sangeeta Shah