]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent duplicate sorcery wizards from being applied to sorcery object types.
authorMark Michelson <mmichelson@digium.com>
Tue, 25 Mar 2014 17:52:39 +0000 (17:52 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 25 Mar 2014 17:52:39 +0000 (17:52 +0000)
commit7d174a1dafc18fa74984d1eb8a7e55471ac8b4c8
tree0b7287eaced2bb04dd95f2cbe9233a2efef7663b
parent665461ef70c65ceaabe1c7772a70408c0d352746
Prevent duplicate sorcery wizards from being applied to sorcery object types.

This commit contains several changes to sorcery:

1) Application of sorcery configuration based on module name is automatically performed
when sorcery is opened for a module.
2) Sorcery will not attempt to apply the same wizard to an object type more than once.
3) Sorcery gives more exact results when attempting to apply a wizard, whether as the
default or based on configuration.

Sorcery unit tests still pass for me after making these changes.

Review: https://reviewboard.asterisk.org/r/3326

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@411159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/sorcery.conf.sample
include/asterisk/sorcery.h
main/bucket.c
main/sorcery.c
res/res_mwi_external.c
res/res_pjsip/config_system.c
res/res_pjsip/pjsip_configuration.c
tests/test_sorcery.c
tests/test_sorcery_astdb.c
tests/test_sorcery_realtime.c