Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0b3d86d21f68de5c47835f594f36eb482225356a
      
https://github.com/OpenSIPS/opensips/commit/0b3d86d21f68de5c47835f594f36eb482225356a
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/presence/bind_presence.c
    M modules/presence/bind_presence.h
    M modules/presence/event_list.h
    M modules/presence/notify.c
    M modules/presence/notify.h
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h

  Log Message:
  -----------
  [presence] added some more API functions

* presence API - notify_all_on_publish() - the function may be used to trigger 
notification (NTOTIFY'es) to all subscribers/wachers registered for a given 
presentity. This is basically a virtual PUBLISH (without any SIP request, but 
with the same behavior)
* event API - build_notify_body() - the function provides a substitute for the 
presentity information. Upon a subscribe, instead of pushing a notify with a 
body built from the published presentities, you can dynamically build with this 
function whatever body you want to be returned with the body



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to