No subject


Thu Jan 29 11:41:19 CET 2009


----------------------- snip -----------------------------------------------
   101 SUBSCRIBE sip:alice at net1.test;pres-list=Default from 10.0.0.5:6060
From: sip:alice at net1.test  To: sip:alice at net1.test;pres-list=Default

   May 31 20:34:50 [2906] DBG:core:parse_headers: flags=ffffffffffffffff

   Event:presence

   May 31 20:34:50 [2906] DBG:core:parse_headers: flags=ffffffffffffffff

   May 31 20:34:50 [2906] DBG:core:parse_headers: flags=ffffffffffffffff

   May 31 20:34:50 [2906] DBG:presence:search_event: start event= [presence]

   May 31 20:34:50 [2906] DBG:rls:rls_handle_subscribe: 'To' header ALREADY
PARSED: <sip:alice at net1.test;pres-list=Default>

   May 31 20:34:50 [2906] DBG:rls:get_resource_list: Searched RL document
for user sip:alice at net1.test

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_submit_query: discon reset
for 135940880

   May 31 20:34:50 [2906] DBG:core:db_do_query: SYNC-DBG - SELECT
successfully executed!

   May 31 20:34:50 [2906] DBG:core:db_new_result: allocate 28 bytes for
result set at 0x81a6ce8

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_store_result: SYNC-DBG -
SELECT result was stored!

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_get_columns: 2 columns
returned from the query

   May 31 20:34:50 [2906] DBG:core:db_allocate_columns: allocate 32 bytes
for result columns at 0x819fdd0

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x819fdd8)[0]=[doc]

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_get_columns: use DB_BLOB
result type

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x819fde0)[1]=[etag]

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_get_columns: use DB_STRING
result type

   May 31 20:34:50 [2906] DBG:core:db_allocate_rows: allocate 48 bytes for
result rows and values at 0x81a74a8

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_str2val: converting BLOB
[<?xml version="1.0" encoding="utf-8"?>

   <rls-services xmlns:rl="urn:ietf:params:xml:ns:resource-lists"
xmlns="urn:ietf:params:xml:ns:rls-services">

     <service uri="sip:alice at net1.test;pres-list=Default">

 
<resource-list>http://xcap.net1.test/xcap-root/resource-lists/users/sip%3aal
ice%40net1.test/index/~~/resource-lists/list%5b at name=%22Default%22%5d</resou
rce-list>
       <packages>

         <package>presence</package>

       </packages>

     </service>

   </rls-services>]

   May 31 20:34:50 [2906] DBG:db_mysql:db_mysql_str2val: converting STRING
[435b206f65bbf886c2c3873f154d363d]

   May 31 20:34:50 [2906] DBG:rls:get_resource_list: rls_services document:

   <?xml version="1.0" encoding="utf-8"?>

   <rls-services xmlns:rl="urn:ietf:params:xml:ns:resource-lists"
xmlns="urn:ietf:params:xml:ns:rls-services">

     <service uri="sip:alice at net1.test;pres-list=Default">

 
<resource-list>http://xcap.net1.test/xcap-root/resource-lists/users/sip%3aal
ice%40net1.test/index/~~/resource-lists/list%5b at name=%22Default%22%5d</resou
rce-list>
       <packages>

         <package>presence</package>

       </packages>

     </service>

   </rls-services>
   May 31 20:34:50 [2906] DBG:rls:get_resource_list: service uri
sip:alice at net1.test not found in rl document for user sip:alice at net1.test

----------------------- snip -----------------------------------------------

The last line obviously shows the problem:
  get_resource_list: service uri sip:alice at net1.test not found in rl
document for user sip:alice at net1.test

What "service uri" is missing in the resource-list document? 
The SUBSCRIBE request is addressed to sip:alice at net1.test (see 1st line) 
The resource-list document in the XCAP-table for user alice looks as
follows:

  <?xml version="1.0" encoding="utf-8"?>

  <resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">

    <list name="Default">

      <display-name>All Contacts</display-name>

    <entry uri="sip:bob at net1.test"
xmlns="urn:ietf:params:xml:ns:resource-lists">
    <display-name>bob</display-name>

  </entry></list>

  </resource-lists> 
  
What is wrong with that document?
Maybe anyone can help.

regards
Franz




More information about the Users mailing list