RES: [Users] an example of xcap_table entry?

Hildebrando Trannin hildebrando at inovax.com.br
Thu Mar 22 18:30:26 CET 2007


Hi,

You can get the document that's similar to a RFC from XCAP at
http://www.ietf.org/internet-drafts/draft-ietf-simple-xcap-12.txt. I'm
writing below a simple xml example that I think can help you populate XCAP
column in XCAP_XML table.

Regards,
	Hildebrando


Presence Rules - Type 1

<?xml version="1.0" encoding="UTF-8"?>
   <cr:ruleset xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
   xmlns:cr="urn:ietf:params:xml:ns:common-policy">
    <cr:rule id="1">
     <cr:conditions>
      <cr:identity>
       <cr:id>gustavo at voip.maritaca</cr:id>
       <cr:id>danilo at voip.maritaca</cr:id>
       <cr:id>alexandre at voip.maritaca</cr:id>
       <cr:id>vitor at voip.maritaca</cr:id>
      </cr:identity>
     </cr:conditions>
     <cr:actions>
       <pr:sub-handling>allow</pr:sub-handling>
     </cr:actions>
     <cr:transformations>
        <pr:provide-person>true</pr:provide-person>
        <pr:provide-services><pr:all-services/></pr:provide-services>
        <pr:provide-devices><pr:all-devices/></pr:provide-devices>
     </cr:transformations>
    </cr:rule>
   </cr:ruleset>

-----Mensagem original-----
De: users-bounces at openser.org [mailto:users-bounces at openser.org] Em nome de
Juha Heinanen
Enviada em: quarta-feira, 21 de março de 2007 17:25
Para: users at openser.org
Assunto: [Users] an example of xcap_table entry?

is there somewhere an example off xcap_table entry that would show who
is allowed to subscribe the presence of an AoR?

-- juha

_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users





More information about the Users mailing list