[SIP SIMPLE client] Some watcher in allowed and blocked?

Iñaki Baz Castillo ibc at aliax.net
Thu Jul 9 16:47:03 CEST 2009


Hi, if I add a wwatcher (alice at domain.net) as allowed and later as
blocked, I get the following document:

-------------------------------------------------------
Presence rules document:
<?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 domain.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:rule id="pres_blacklist">
    <cp:conditions>
      <cp:identity>
        <cp:one id="sip:alice at domain.net"/>
      </cp:identity>
    </cp:conditions>
    <cp:actions>
      <pr:sub-handling>block</pr:sub-handling>
    </cp:actions>
    <cp:transformations/>
  </cp:rule>
</cp:ruleset>

Allowed watchers:
        alice at domain.net
Blocked watchers:
        alice at domain.net
Polite-blocked watchers:
-------------------------------------------------------


Wouldn't make sense to remove a watcher from "allowed" if it's added
to "blocked" (and viceversa)?


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




More information about the SIPBeyondVoIP mailing list