[OpenSIPS-Devel] [OpenSIPS/opensips] efee34: dialplan: Allow re-pointing the default partition
Liviu Chircu
noreply at github.com
Wed Jul 8 12:23:05 EST 2020
Branch: refs/heads/bugfix/db-default-url-inheritance
Home: https://github.com/OpenSIPS/opensips
Commit: efee3438773a83c1a05edc8b05ba45f53a83c5a6
https://github.com/OpenSIPS/opensips/commit/efee3438773a83c1a05edc8b05ba45f53a83c5a6
Author: Liviu Chircu <liviu at 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")
More information about the Devel
mailing list