Hello All,

I think I am just missing a small amount of information here.   I am trying to get the resource list sever to work but I think my problem is not knowing what data to put into the xcap table.

I have a user [email protected] that wants to subscribe to [email protected]  So in the table I put:

username: 201

domain: mydomain.uk

doc: (an xml document see below)

doc_type: 4

etag: a.1234

source: 1

doc_uri: sip:[email protected]

port: 5060

Can anyone tell me what I am doing wrong please.  when I call rls_handle_subscribe() it return with $rc == 10.

XML doc:

<?xml version="1.0" encoding="UTF-8"?>
   <rls-services xmlns="urn:ietf:params:xml:ns:rls-services"
      xmlns:rl="urn:ietf:params:xml:ns:resource-lists"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <service uri="sip:[email protected]">
       <list name="my-list">
          <rl:entry uri="[email protected]"/>
          <rl:entry uri="[email protected]"/>
           </list>
           <packages>
              <package>presence</package>
           </packages>
        </service>
   </rls-services>


--
Kind regards,

Adrian Fretwell

Sibthorpe
Nottinghamshire
UK.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to