diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-10-10 14:31:02 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-10-10 14:31:02 +0000 |
commit | b8aed5b14dd34027ba5dcc372f2ca7a013c67837 (patch) | |
tree | f03e864c187fc5d8f942005d6f9bb1d21a54311f /bootstrap.sh | |
parent | 23ffd68e7009b58fcdd00ebff53188b334c95fe0 (diff) |
res/res_phoneprov: Bail on registration if res_phoneprov didn't load
If res_phoneprov failed to fully load (due to not being configured), the
providers container will be NULL. If a module attempts to register a phone
provisioning provider, it should check for the presence of the container.
If there is no providers container, it should return an error.
This patch makes the ast_phoneprov_provider_register function do that...
otherwise this would be a silly commit message.
........
Merged revisions 425220 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@425221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'bootstrap.sh')
0 files changed, 0 insertions, 0 deletions