[OpenSIPS-Devel] [opensips] Clusterer (#599)

Eseanu Marius Cristian notifications at github.com
Wed Aug 12 17:18:03 CEST 2015


Improved clusterer api usage for dialog and ratelimit.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/599

-- Commit Summary --

  * clusterer: Added initial infrastructure
  * clusterer: improved load_info function
  * clusterer: added persistent mode
  * event_virtual: created new module: event_virtual, added parse and match functions
  * event_virtual: Added raise function
  * event_virtual: Added free function; fixed printing of the virtual socket
  * event_virtual: Added comments, minor changes to socket printing
  * event_virtual: Added documentation
  * Expose unset_dlg_profile() to Request Route.
  * Added b64encode, b64decode, and xor string transformations
  * proper error message when ldap tls fails to start
  * adds better error reporting and fixes typos
  * Fixed generated callid
  * exposed get_domain_ucontacts; get_all_ucontacts now calls get_domain_ucontacts
  * added record and contact labels; currently no usage
  * fixed db/schema Makefile bug; regenerated files that were affected by this bug
  * fix db/schmea Makefile bug V2
  * Fixed typo in encoding the callid
  * Also build sqlite files on all Makefile rule
  * fix 32 bit warning
  * More verbous logging.
  * fix inline functions to comply with gnu11
  * emergency -- change configuration of the module for a new table
  * emergency -- change configuration of the module for a new table
  * core API: Add detection for async script function usage
  * db_mysql: Improve error handling in async mode
  * avpops: Proper handling for async with non-async drivers
  * config parser: Exit if no more memory available
  * db_virtual: Do not crash if no DB URLs are defined
  * added new proto_bin moudle
  * add travis file
  * Fixed crash when failing to find a send socket
  * Set async to be disabled by default
  * Removed async forcing code
  * Remove obsolete BIN interface functions
  * clusterer:Added clusterer api
  * dialog:added clusterer api usage for replication
  * ratelimit: removed bin_send
  * usrloc: clusterer_api is used for replication
  * bin_interface: changed bin_register_cb function
  * clusterer: added register and send_to API functions
  * dialog: use clusterer api for replication
  * ratelimit: use clusterer api for replication
  * usrloc: improved clusterer api usage for replication

-- File Changes --

    A .travis.yml (5)
    M Makefile.defs (3)
    M bin_interface.c (173)
    M bin_interface.h (26)
    M cfg.y (31)
    M context.h (18)
    M daemonize.h (2)
    M db/db_insertq.h (9)
    M db/schema/Makefile (6)
    A db/schema/emergency_service_provider.xml (98)
    M db/schema/opensips-emergency.xml (1)
    M dprint.h (10)
    M forward.h (9)
    M ip_addr.h (2)
    M main.c (11)
    M mem/meminfo.h (2)
    M modules/avpops/avpops.c (35)
    M modules/avpops/avpops_db.c (22)
    M modules/avpops/avpops_db.h (2)
    M modules/avpops/avpops_impl.c (51)
    M modules/benchmark/benchmark.h (4)
    M modules/cachedb_redis/cachedb_redis_utils.h (2)
    A modules/clusterer/Makefile (8)
    A modules/clusterer/api.h (70)
    A modules/clusterer/clusterer.c (1476)
    A modules/clusterer/clusterer.h (86)
    A modules/clusterer/doc/clusterer.xml (39)
    A modules/clusterer/doc/clusterer_admin.xml (543)
    M modules/compression/compression_helpers.h (4)
    M modules/db_mysql/dbase.c (32)
    M modules/db_text/dbt_file.c (3)
    M modules/db_virtual/db_virtual.c (14)
    M modules/dialog/dialog.c (97)
    M modules/dialog/dlg_handlers.c (8)
    M modules/dialog/dlg_hash.c (2)
    M modules/dialog/dlg_hash.h (4)
    M modules/dialog/dlg_profile.c (4)
    M modules/dialog/dlg_repl_profile.h (32)
    M modules/dialog/dlg_replication.c (405)
    M modules/dialog/dlg_replication.h (13)
    M modules/dialog/doc/dialog_admin.xml (1)
    M modules/dispatcher/ds_fixups.h (2)
    M modules/emergency/doc/emergency_admin.xml (453)
    M modules/emergency/emergency_methods.c (682)
    M modules/emergency/emergency_methods.h (50)
    M modules/emergency/hash.c (46)
    M modules/emergency/http_emergency.c (14)
    M modules/emergency/http_emergency.h (2)
    M modules/emergency/notifier_emergency.c (90)
    M modules/emergency/report_emergency.c (273)
    M modules/emergency/report_emergency.h (18)
    M modules/emergency/sip_emergency.c (44)
    M modules/emergency/subscriber_emergency.c (50)
    M modules/emergency/subscriber_emergency.h (2)
    M modules/emergency/xml_parser.c (122)
    M modules/emergency/xml_parser.h (6)
    A modules/event_virtual/Makefile (8)
    A modules/event_virtual/README (95)
    A modules/event_virtual/doc/event_virtual.xml (39)
    A modules/event_virtual/doc/event_virtual_admin.xml (100)
    A modules/event_virtual/event_virtual.c (532)
    A modules/event_virtual/event_virtual.h (40)
    M modules/ldap/ldap_connect.c (28)
    A modules/proto_bin/Makefile (6)
    A modules/proto_bin/README (170)
    A modules/proto_bin/doc/proto_bin.xml (40)
    A modules/proto_bin/doc/proto_bin_admin.xml (222)
    A modules/proto_bin/proto_bin.c (906)
    A modules/proto_bin/proto_bin.h (6)
    M modules/proto_ws/ws.c (2)
    M modules/ratelimit/ratelimit.c (40)
    M modules/ratelimit/ratelimit.h (8)
    M modules/ratelimit/ratelimit_helper.c (383)
    M modules/seas/ha.h (4)
    M modules/seas/statistics.h (14)
    M modules/tm/t_funcs.h (6)
    M modules/topology_hiding/topo_hiding_logic.c (22)
    M modules/usrloc/dlist.c (581)
    M modules/usrloc/dlist.h (9)
    M modules/usrloc/hslot.c (2)
    M modules/usrloc/hslot.h (1)
    M modules/usrloc/ucontact.c (6)
    M modules/usrloc/ucontact.h (3)
    M modules/usrloc/udomain.c (4)
    M modules/usrloc/ul_mod.c (36)
    M modules/usrloc/urecord.c (9)
    M modules/usrloc/urecord.h (2)
    M modules/usrloc/ureplication.c (120)
    M modules/usrloc/ureplication.h (12)
    M modules/usrloc/usrloc.c (33)
    M modules/usrloc/usrloc.h (33)
    M net/net_tcp_proc.c (8)
    M net/proto_tcp/proto_tcp.c (2)
    M net/trans.c (2)
    M parser/parse_to.h (2)
    M resolve.h (4)
    M route.c (48)
    M route.h (1)
    M route_struct.c (18)
    M route_struct.h (1)
    M scripts/mysql/call_center-create.sql (2)
    A scripts/mysql/emergency-create.sql (25)
    M scripts/opensipsctl (2)
    M scripts/opensipsctlrc (2)
    M socket_info.c (1)
    M socket_info.h (10)
    M transformations.c (101)
    M transformations.h (3)
    M ut.h (4)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/599.patch
https://github.com/OpenSIPS/opensips/pull/599.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/599
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150812/94b22a2b/attachment-0001.htm>


More information about the Devel mailing list