George Joseph
d1c9621852
res_phoneprov: Refactor phoneprov to allow pluggable config providers
...
This patch makes res_phoneprov more modular so other modules (like pjsip)
can provide configuration information instead of res_phoneprov relying solely
on users.conf and sip.conf. To accomplish this a new ast_phoneprov public API
is now exposed which allows config providers to register themselves, set
defaults (server profile, etc) and add user extensions.
* ast_phoneprov_provider_register registers the provider and provides callbacks
for loading default settings and loading users.
* ast_phoneprov_provider_unregister clears the defaults and users.
* ast_phoneprov_add_extension should be called once for each user/extension
by the provider's load_users callback to add them.
* ast_phoneprov_delete_extension deletes one extension.
* ast_phoneprov_delete_extensions deletes all extensions for the provider.
Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/3970/
........
Merged revisions 424963 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-10-09 17:45:23 +00:00
..
2014-09-22 17:41:45 +00:00
2014-05-09 22:49:26 +00:00
2014-07-28 18:58:43 +00:00
2014-06-19 20:13:20 +00:00
2014-05-09 22:49:26 +00:00
2014-06-13 18:24:49 +00:00
2014-09-11 22:16:54 +00:00
2014-07-20 22:06:33 +00:00
2014-04-23 15:02:39 +00:00
2013-08-22 08:26:55 +00:00
2013-09-09 23:29:44 +00:00
2014-06-20 15:27:43 +00:00
2014-06-25 18:57:04 +00:00
2014-06-20 15:27:43 +00:00
2014-06-20 15:27:43 +00:00
2014-06-20 15:27:43 +00:00
2014-09-18 16:47:59 +00:00
2014-10-03 19:39:49 +00:00
2014-06-09 03:50:45 +00:00
2013-08-23 18:07:40 +00:00
2014-08-13 16:07:22 +00:00
2014-08-07 15:30:19 +00:00
2014-10-03 17:39:50 +00:00
2014-08-20 22:49:32 +00:00
2014-05-09 22:49:26 +00:00
2014-08-27 15:31:35 +00:00
2014-08-06 12:55:28 +00:00
2014-10-09 16:36:29 +00:00
2014-08-14 19:20:51 +00:00
2014-08-14 15:54:47 +00:00
2014-10-03 17:39:50 +00:00
2014-10-09 17:45:23 +00:00
2014-09-05 17:55:35 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2014-07-24 13:00:59 +00:00
2014-09-18 14:45:04 +00:00
2014-08-06 12:55:28 +00:00
2014-10-03 17:39:50 +00:00
2014-10-07 18:33:45 +00:00
2014-07-24 21:01:37 +00:00
2014-09-05 17:36:35 +00:00
2014-09-05 20:11:35 +00:00
2014-08-21 14:52:06 +00:00
2014-07-20 22:06:33 +00:00
2014-08-06 12:55:28 +00:00
2014-05-09 22:49:26 +00:00
2014-06-27 23:21:44 +00:00
2014-07-18 17:40:54 +00:00
2014-10-06 15:38:42 +00:00
2014-09-16 16:32:49 +00:00
2014-08-21 14:52:06 +00:00
2014-09-18 16:37:47 +00:00
2014-08-07 18:51:16 +00:00
2014-08-05 13:59:53 +00:00
2014-07-20 22:06:33 +00:00
2014-10-03 19:39:49 +00:00
2013-09-10 18:05:47 +00:00
2014-07-07 01:10:55 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2014-05-09 22:49:26 +00:00
2013-10-24 19:42:21 +00:00
2014-08-05 21:44:09 +00:00
2014-08-06 12:55:28 +00:00
2014-03-25 15:47:17 +00:00
2014-08-13 07:52:56 +00:00
2014-07-04 15:26:58 +00:00
2014-07-24 13:00:59 +00:00
2014-08-11 18:32:37 +00:00
2013-09-30 18:55:27 +00:00
2013-09-30 18:55:27 +00:00
2013-09-30 18:55:27 +00:00
2014-10-05 00:48:06 +00:00
2014-07-20 22:06:33 +00:00
2014-10-06 18:38:25 +00:00
2014-08-06 12:55:28 +00:00
2014-06-19 20:13:20 +00:00
2014-06-24 02:50:15 +00:00
2014-05-28 22:54:12 +00:00
2014-05-22 15:52:30 +00:00
2014-08-13 16:07:22 +00:00
2014-08-06 12:55:28 +00:00
2014-08-06 12:55:28 +00:00
2014-09-06 22:21:17 +00:00
2014-06-30 04:00:19 +00:00
2014-08-28 00:15:03 +00:00
2014-10-06 12:38:37 +00:00
2014-08-06 12:55:28 +00:00
2013-09-30 18:55:27 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2014-10-03 15:54:44 +00:00
2014-10-08 14:54:29 +00:00
2014-08-20 13:04:30 +00:00
2014-07-18 19:55:24 +00:00
2014-08-06 12:55:28 +00:00
2014-09-19 15:18:01 +00:00
2014-08-06 12:55:28 +00:00
2014-07-18 21:25:14 +00:00
2014-08-06 12:55:28 +00:00
2014-08-06 12:55:28 +00:00
2014-10-08 18:24:15 +00:00
2014-08-07 19:26:32 +00:00
2014-05-09 22:49:26 +00:00
2014-10-03 17:39:50 +00:00
2014-08-11 09:54:20 +00:00
2014-08-06 12:55:28 +00:00
2014-09-29 20:26:50 +00:00
2014-02-07 20:01:45 +00:00
2014-09-18 16:37:47 +00:00
2014-06-26 12:24:25 +00:00
2014-08-21 14:39:27 +00:00
2014-09-18 19:22:39 +00:00
2013-10-03 18:00:15 +00:00
2014-07-31 11:49:40 +00:00