[OpenSIPS-Users] [presence] Understanding "refresh type" field in refreshWatchers MI command

Iñaki Baz Castillo ibc at aliax.net
Wed Jul 15 22:25:52 CEST 2009


Presence module:

1.5. Exported MI Functions

1.5.1.  refreshWatchers 
 Triggers sending Notify messages to watchers if a change in watchers
 authorization or in published state occurred. 
 Name: refreshWatchers 
 Parameters:
   presentity_uri : the uri of the user who made the change and whose watchers
                    should be informed
   event : the event package
   refresh type : it distinguishes between the two different types of events
                  that can trigger a refresh: 
     - a change in watchers authentication: refresh type= 0 ;
     - a statical update in published state (either through direct update in
       db table or by modifying the pidf manipulation document, if
       pidf_manipulation parameter is set): refresh type!= 0.


I don't understand what the "refresh type" is for. Any explanation please?
Thanks a lot.



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



More information about the Users mailing list