Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bb57cc1c375b9325138154eb415cebc2fa971ec0 https://github.com/OpenSIPS/opensips/commit/bb57cc1c375b9325138154eb415cebc2fa971ec0 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths: M modules/permissions/address.c M modules/permissions/address.h M modules/permissions/partitions.c M modules/permissions/partitions.h M modules/permissions/permissions.c M modules/permissions/permissions.h Log Message: ----------- permissions: Integrate with 'db_default_url' * DB partitions now inherit their DB URL (if not given explicitly) from 'db_url' -> 'db_default_url' * the above is similar for the 'table_name' property (inherit from the 'address_table' modparam) * rewrite the 'partitions' parser: no more coding style limitations * backwards-compatible: the 'db_url' is still mandatory if you are not specifying a partition definition! This is due to the fact that the module has a non-DB based usage mode Part of a series of patches for #2117 Commit: 657a8b53f07120e3233059a79f05fa7694ebbc5d https://github.com/OpenSIPS/opensips/commit/657a8b53f07120e3233059a79f05fa7694ebbc5d Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dialplan/dialplan.c Log Message: ----------- dialplan MI 'dp_show_partition': Indicate client-side errors Commit: 2e8164368b31da9292f08623eac6934ef2057e22 https://github.com/OpenSIPS/opensips/commit/2e8164368b31da9292f08623eac6934ef2057e22 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dialplan/dialplan.c M modules/dialplan/dialplan.h M modules/dialplan/dp_db.c M modules/dialplan/dp_db.h M str.h Log Message: ----------- dialplan: Integrate with 'db_default_url' * DB partitions now inherit their DB URL (if not given explicitly) from 'db_url' -> 'db_default_url' * the above is similar for the 'table_name' property (inherit from the 'address_table' modparam) * rewrite the 'partitions' parser: no more coding style limitations * backwards-compatible: at least one partition must be specified (even through simply defining a global 'db_default_url') before the module can start Part of a series of patches for #2117 Commit: 6443ad5829c15f8ae7dad8bb9f0e4f418702b1ad https://github.com/OpenSIPS/opensips/commit/6443ad5829c15f8ae7dad8bb9f0e4f418702b1ad Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dialplan/doc/dialplan_admin.xml Log Message: ----------- dialplan docs: Update partition, db_url and table_name Commit: 180674b833ef9e82cb3f97105add2ada6843ddc1 https://github.com/OpenSIPS/opensips/commit/180674b833ef9e82cb3f97105add2ada6843ddc1 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dialplan/doc/dialplan_admin.xml M modules/permissions/doc/permissions_admin.xml Log Message: ----------- permissions docs: Update partition, db_url and address_table Commit: cc2f4a8c49402f99502a58940d2fbb51daed6e47 https://github.com/OpenSIPS/opensips/commit/cc2f4a8c49402f99502a58940d2fbb51daed6e47 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dispatcher/dispatcher.c Log Message: ----------- dispatcher: Fix a bug with the 'default' partition This commit allows the "default" partition to be populated just like the other ones: modparam("dispatcher", "partition", "default: db_url = mysql://opensips:opensipsrw@127.0.0.1/opensips_3_2; table_name = v1_dispatcher") Commit: 198687e17d13a06b0868676252292643c6d549c4 https://github.com/OpenSIPS/opensips/commit/198687e17d13a06b0868676252292643c6d549c4 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-07 (Tue, 07 Jul 2020) Changed paths: M modules/dispatcher/dispatcher.c Log Message: ----------- dispatcher: Add useful debug log Commit: c7d668bad5b2b41a9c9065e1539914f0629ccf64 https://github.com/OpenSIPS/opensips/commit/c7d668bad5b2b41a9c9065e1539914f0629ccf64 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/dispatcher/dispatch.c M modules/dispatcher/dispatcher.c Log Message: ----------- dispatcher: Integrate with 'db_default_url' * both 'db_url' and a partition DB URL will inherit their starting value from the 'db_default_url' global * add the option to point the default partition to a known one, in order to avoid unwanted loading of the default table. Example: modparam("dispatcher", "partition", "default: trunks") modparam("dispatcher", "partition", "trunks: db_url = ...") Commit: 89a618be1f005d1bc80d528bc41de73fff24533a https://github.com/OpenSIPS/opensips/commit/89a618be1f005d1bc80d528bc41de73fff24533a Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/dispatcher/doc/dispatcher_admin.xml Log Message: ----------- dispatcher docs: Update partition, db_url and table_name Commit: efee3438773a83c1a05edc8b05ba45f53a83c5a6 https://github.com/OpenSIPS/opensips/commit/efee3438773a83c1a05edc8b05ba45f53a83c5a6 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/dialplan/dialplan.c M modules/dialplan/doc/dialplan_admin.xml M modules/dialplan/dp_db.c Log Message: ----------- dialplan: Allow re-pointing the default partition This is useful in situations where script writers do not intend to cache the default 'dialplan' table, rather only the named partitions. Example syntax: db_default_url = "mysql://opensips:opensipsrw@127.0.0.1/opensips" ... modparam("dialplan", "partition", " pstn: table_name = dialplan_pstn") modparam("dialplan", "partition", "default: pstn") Commit: c8d442df627aaf569a774c434e3cedc949bba17a https://github.com/OpenSIPS/opensips/commit/c8d442df627aaf569a774c434e3cedc949bba17a Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- drouting: Improve confusing error logs Commit: 24f9e7b294903bdb439a4e681ee0950d1d0837f6 https://github.com/OpenSIPS/opensips/commit/24f9e7b294903bdb439a4e681ee0950d1d0837f6 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/proto_smpp/proto_smpp.c Log Message: ----------- proto_smpp: Inherit DB URL from 'db_default_url' Commit: 990d18f79735f547ed36da58236dea9c24221493 https://github.com/OpenSIPS/opensips/commit/990d18f79735f547ed36da58236dea9c24221493 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/proto_smpp/proto_smpp.c Log Message: ----------- proto_smpp: Fix crash on startup Commit: ff7b5849751d11537d989afe2b17ef35ebd2a133 https://github.com/OpenSIPS/opensips/commit/ff7b5849751d11537d989afe2b17ef35ebd2a133 Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c Log Message: ----------- b2b entities/logic: Inherit `db_default_url` if possible If there is still no DB URL, simply start without DB support (just as before) Commit: 11560e35ee4b65c68f021cad3d89c1f430b3914e https://github.com/OpenSIPS/opensips/commit/11560e35ee4b65c68f021cad3d89c1f430b3914e Author: Liviu Chircu <li...@opensips.org> Date: 2020-07-08 (Wed, 08 Jul 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c M modules/dialplan/dialplan.c M modules/dialplan/dialplan.h M modules/dialplan/doc/dialplan_admin.xml M modules/dialplan/dp_db.c M modules/dialplan/dp_db.h M modules/dispatcher/dispatch.c M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml M modules/drouting/drouting.c M modules/permissions/address.c M modules/permissions/address.h M modules/permissions/doc/permissions_admin.xml M modules/permissions/partitions.c M modules/permissions/partitions.h M modules/permissions/permissions.c M modules/permissions/permissions.h M modules/proto_smpp/proto_smpp.c M str.h Log Message: ----------- Merge branch 'bugfix/db-default-url-inheritance' Compare: https://github.com/OpenSIPS/opensips/compare/ad472dc29a0f...11560e35ee4b _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel