[OpenSIPS-Devel] pres_rules: Does presence_xml uses "sphere" element?

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 14 16:14:17 CEST 2009


Hi, according to RFC 4745 (Common Policy for Private Preferences) an
user can publish a <sphere> element, i.e:

  <sphere><home/></sphere>

These attribute "sphere" could appear as a condition in the pres-rules
document (rfc4480#section-3.11):

     <rule id="f3g44r2">
       <conditions>
         <sphere value="work"/>
         <identity>
           <one id="sip:andrew at example.com"/>
         </identity>
       </conditions>
       <actions/>
       <transformations/>
     </rule>

So the presence agent should check if the current sphere value for the
presentity matches the sphere value in the rule conditions.
Of course this is really complex since there could be multiple PUBLISH
at the same time, each one with different "sphere" value.

For me it's too much "exotic", but does OpenSIPS consider it?


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



More information about the Devel mailing list