[OpenSIPS-Devel] [OpenSIPS/opensips] 0b3d86: [presence] added some more API functions

Bogdan Andrei IANCU noreply at github.com
Mon Dec 2 18:28:13 EST 2019

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0b3d86d21f68de5c47835f594f36eb482225356a
  Author: Bogdan-Andrei Iancu <bogdan at 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

More information about the Devel mailing list