[OpenSIPS-Devel] [OpenSIPS/opensips] cf48b8: Revert "dialog: load dialogs on child init"

Răzvan Crainea noreply at github.com
Thu Aug 22 07:30:11 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cf48b8f3a342289047138736d2db55e23442fae4
      https://github.com/OpenSIPS/opensips/commit/cf48b8f3a342289047138736d2db55e23442fae4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h

  Log Message:
  -----------
  Revert "dialog: load dialogs on child init"

This reverts commit 3ddae43445cd6f3e3f6d4e9480f1e8c35801d008.


  Commit: 21c013edd500fc9eb8794355c9e8336e4ca77ed1
      https://github.com/OpenSIPS/opensips/commit/21c013edd500fc9eb8794355c9e8336e4ca77ed1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  Revert "dialog: Fix broken stats after a restart+reload"

This reverts commit aa2f534e18dc0830a160bb90d4cc3a116386953d.


  Commit: 795395fd93248a3993a51c44825f2aea4ac794b6
      https://github.com/OpenSIPS/opensips/commit/795395fd93248a3993a51c44825f2aea4ac794b6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: use static holders for statistics loaded at startup

This prevents OpenSIPS from crashing because the statistics were not yet
initialized. This fix is needed due to the revert of the previous two
commits, related to the start of OpenSIPS on child init.


  Commit: b29931e4fb1ae528fd896d68038cf5ad4395c4cf
      https://github.com/OpenSIPS/opensips/commit/b29931e4fb1ae528fd896d68038cf5ad4395c4cf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M main.c
    M modules/aaa_radius/aaa_radius.c
    M modules/acc/acc_mod.c
    M modules/alias_db/alias_db.c
    M modules/auth/auth_mod.c
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_db/authdb_mod.c
    M modules/avpops/avpops.c
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_sca/b2b_sca.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/call_center.c
    M modules/call_control/call_control.c
    M modules/carrierroute/carrierroute.c
    M modules/cfgutils/cfgutils.c
    M modules/cgrates/cgrates.c
    M modules/clusterer/clusterer_mod.c
    M modules/compression/compression.c
    M modules/cpl_c/cpl.c
    M modules/db_berkeley/db_berkeley.c
    M modules/db_cachedb/db_cachedb.c
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_http/db_http.c
    M modules/db_mysql/db_mysql.c
    M modules/db_oracle/db_oracle.c
    M modules/db_perlvdb/perlvdb.c
    M modules/db_postgres/db_postgres.c
    M modules/db_sqlite/db_sqlite.c
    M modules/db_text/dbtext.c
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_virtual/db_virtual.c
    M modules/dialog/dialog.c
    M modules/dialplan/dialplan.c
    M modules/dispatcher/dispatcher.c
    M modules/diversion/diversion.c
    M modules/dns_cache/dns_cache.c
    M modules/domain/domain_mod.c
    M modules/domainpolicy/domainpolicy_mod.c
    M modules/drouting/drouting.c
    M modules/emergency/emergency_methods.c
    M modules/enum/enum_mod.c
    M modules/event_datagram/event_datagram.c
    M modules/event_flatstore/event_flatstore.c
    M modules/event_jsonrpc/event_jsonrpc.c
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_route/event_route.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/event_virtual.c
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/exec/exec_mod.c
    M modules/fraud_detection/fraud_detection.c
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch_scripting/fss_mod.c
    M modules/gflags/gflags.c
    M modules/group/group_mod.c
    M modules/h350/h350_mod.c
    M modules/httpd/httpd.c
    M modules/identity/identity.c
    M modules/imc/imc.c
    M modules/jabber/jabber.c
    M modules/json/json.c
    M modules/jsonrpc/jsonrpc.c
    M modules/ldap/ldap_mod.c
    M modules/load_balancer/load_balancer.c
    M modules/lua/siplua.c
    M modules/mangler/mangler.c
    M modules/mathops/mathops.c
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_html/mi_html.c
    M modules/mi_http/mi_http.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/msilo.c
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c
    M modules/options/mod_options.c
    M modules/osp/osp_mod.c
    M modules/path/path_mod.c
    M modules/peering/peering.c
    M modules/perl/perl.c
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/pike.c
    M modules/presence/presence.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/presence_mwi.c
    M modules/presence_xcapdiff/presence_xcapdiff.c
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua/pua.c
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/qos/qos.c
    M modules/rabbitmq/rabbitmq.c
    M modules/rabbitmq_consumer/rabbitmq_consumer.c
    M modules/ratelimit/ratelimit.c
    M modules/regex/regex_mod.c
    M modules/registrar/reg_mod.c
    M modules/rest_client/rest_client.c
    M modules/rls/rls.c
    M modules/rr/rr_mod.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/sip_i/sip_i.c
    M modules/sipcapture/sipcapture.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siprec/siprec.c
    M modules/sl/sl.c
    M modules/sngtc/sngtc.c
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/sst.c
    M modules/statistics/statistics.c
    M modules/stun/stun.c
    M modules/textops/textops.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tm/tm.c
    M modules/topology_hiding/topology_hiding.c
    M modules/tracer/tracer.c
    M modules/uac/uac.c
    M modules/uac_auth/uac_auth.c
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/registrant.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/ul_mod.c
    M modules/uuid/uuid.c
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/xcap_client.c
    M modules/xml/xml.c
    M modules/xmpp/xmpp.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  add dependencies function in module_exports

Add a new function in module_exports that is run to determine what kind
of dependencies (of other modules) a module has. This function is ran
before running the initialization phase of the module.


  Commit: 35ab1f24cc8df076a873ee705b22013e46aa1f34
      https://github.com/OpenSIPS/opensips/commit/35ab1f24cc8df076a873ee705b22013e46aa1f34
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  fix returned code for strip and prefix functions

Instead of returning 0, which halts the script, return 1 or -1 in case
of error.


Compare: https://github.com/OpenSIPS/opensips/compare/527f718cc22c...35ab1f24cc8d



More information about the Devel mailing list