[OpenSIPS-Devel] SF.net SVN: opensips:[5942] trunk/modules/presence_xml/xcap_auth.c

Iñaki Baz Castillo ibc at aliax.net
Fri Aug 7 15:45:11 CEST 2009


2009/8/7 Anca Vamanu <anca at opensips.org>:
> The XCAP pres-rules document interpretation part was not changed and I don't
> think that there are problems in there. Can you send me the pres rules
> document after deleting bob from alice pres rules?

It's a simple pres-rules document generated by AG xcapclient
application. After deleting bob it looks like:

<?xml version='1.0' encoding='UTF-8'?>
<cp:ruleset xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="urn:ietf:params:xml:ns:common-policy">
  <cp:rule id="pres_whitelist">
    <cp:conditions>
      <cp:identity>
        <cp:one id="sip:alice at example.net"/>
        <cp:one id="sip:eyebeam at example.net"/>
        <cp:one id="sip:yass at example.net"/>
      </cp:identity>
    </cp:conditions>
    <cp:actions>
      <pr:sub-handling>allow</pr:sub-handling>
    </cp:actions>
    <cp:transformations>
      <pr:provide-services>
        <pr:all-services/>
      </pr:provide-services>
      <pr:provide-persons>
        <pr:all-persons/>
      </pr:provide-persons>
      <pr:provide-devices>
        <pr:all-devices/>
      </pr:provide-devices>
      <pr:provide-all-attributes/>
    </cp:transformations>
  </cp:rule>
</cp:ruleset>





-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list