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
..
2013-08-16 18:34:31 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2014-06-19 20:13:20 +00:00
2013-12-18 20:33:37 +00:00
2014-06-20 17:06:42 +00:00
2014-01-12 22:24:27 +00:00
2014-07-24 21:01:37 +00:00
2013-08-23 18:07:40 +00:00
2014-07-18 17:55:38 +00:00
2014-07-24 17:50:46 +00:00
2014-07-20 22:06:33 +00:00
2013-12-19 17:45:21 +00:00
2014-07-17 19:02:22 +00:00
2013-08-23 18:07:40 +00:00
2014-04-15 23:21:19 +00:00
2013-07-25 04:06:32 +00:00
2013-08-22 18:52:41 +00:00
2013-10-22 17:06:21 +00:00
2014-07-20 22:06:33 +00:00
2014-08-07 15:30:19 +00:00
2014-03-07 15:47:55 +00:00
2013-08-05 16:59:13 +00:00
2013-10-03 20:22:17 +00:00
2014-06-07 00:42:50 +00:00
2013-12-03 17:35:54 +00:00
2014-07-20 22:06:33 +00:00
2013-05-21 18:00:22 +00:00
2014-01-12 22:13:12 +00:00
2013-09-27 14:08:23 +00:00
2014-03-07 15:47:55 +00:00
2014-09-05 22:03:45 +00:00
2013-12-18 20:33:37 +00:00
2014-10-09 17:45:23 +00:00
2013-04-15 16:22:03 +00:00
2014-07-20 22:06:33 +00:00
2014-01-28 20:47:15 +00:00
2013-08-30 13:40:27 +00:00
2014-07-20 22:06:33 +00:00
2014-09-18 14:45:04 +00:00
2013-07-08 14:26:40 +00:00
2014-03-07 15:47:55 +00:00
2014-07-20 22:06:33 +00:00
2014-08-07 15:30:19 +00:00
2014-05-22 12:01:37 +00:00
2014-09-05 20:11:35 +00:00
2014-03-17 22:54:32 +00:00
2013-12-11 19:19:24 +00:00
2014-07-22 16:20:58 +00:00
2014-05-22 12:01:37 +00:00
2014-05-22 12:01:37 +00:00
2013-09-17 17:55:21 +00:00
2013-09-13 22:19:23 +00:00
2014-09-16 16:32:49 +00:00
2014-08-04 21:00:51 +00:00
2014-09-18 16:37:47 +00:00
2014-08-07 18:51:16 +00:00
2014-07-20 22:06:33 +00:00
2014-10-03 17:39:50 +00:00
2014-09-19 12:45:53 +00:00
2014-06-26 12:21:14 +00:00
2014-07-03 17:16:55 +00:00
2014-07-20 22:06:33 +00:00
2013-05-08 21:01:33 +00:00
2014-08-05 21:44:09 +00:00
2013-04-08 13:27:45 +00:00
2013-11-02 04:12:36 +00:00
2014-07-14 14:55:30 +00:00
2014-08-11 18:50:46 +00:00
2013-06-24 13:49:20 +00:00
2014-08-05 21:44:09 +00:00
2013-07-01 16:01:24 +00:00
2014-07-20 22:06:33 +00:00
2014-07-25 16:47:17 +00:00
2014-04-15 23:21:19 +00:00
2013-08-22 21:29:16 +00:00
2014-06-19 20:13:20 +00:00
2014-06-24 02:50:15 +00:00
2013-08-30 20:58:59 +00:00
2014-07-04 13:26:37 +00:00
2013-08-23 15:42:27 +00:00
2014-05-22 15:52:30 +00:00
2013-07-03 17:58:45 +00:00
2014-04-18 16:44:48 +00:00
2014-10-09 17:45:23 +00:00
2013-08-02 13:54:31 +00:00
2013-08-01 13:49:34 +00:00
2014-07-18 16:28:10 +00:00
2014-03-28 18:32:50 +00:00
2014-01-06 17:45:25 +00:00
2014-07-07 16:08:47 +00:00
2014-03-08 16:50:36 +00:00
2014-08-07 14:35:09 +00:00
2014-08-07 19:26:32 +00:00
2014-09-18 15:55:13 +00:00
2014-10-03 17:39:50 +00:00
2014-09-18 15:13:29 +00:00
2014-09-16 11:10:37 +00:00
2013-08-22 22:33:48 +00:00
2014-08-28 00:15:03 +00:00
2014-06-30 19:51:28 +00:00
2013-08-17 14:39:27 +00:00
2013-05-30 17:05:53 +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-07-21 08:41:29 +00:00
2014-07-20 22:06:33 +00:00
2014-04-02 18:57:29 +00:00
2013-06-24 13:49:20 +00:00
2014-07-20 22:06:33 +00:00
2014-04-29 15:10:24 +00:00
2013-04-22 16:22:00 +00:00
2013-11-23 17:48:28 +00:00
2014-08-22 16:44:21 +00:00
2014-01-14 23:44:57 +00:00
2014-03-07 15:47:55 +00:00
2014-07-18 21:48:46 +00:00
2014-03-07 15:47:55 +00:00
2014-08-11 18:37:14 +00:00
2014-08-20 13:04:30 +00:00
2013-08-01 13:49:34 +00:00
2014-06-13 18:24:49 +00:00
2013-11-22 20:10:46 +00:00
2014-03-05 01:05:02 +00:00
2014-01-12 22:07:01 +00:00
2013-07-19 18:00:35 +00:00
2013-05-08 13:39:08 +00:00
2014-08-06 12:55:28 +00:00
2013-04-26 20:05:15 +00:00
2014-09-18 19:22:39 +00:00
2014-10-03 17:39:50 +00:00
2014-07-03 17:16:55 +00:00
2013-12-17 23:38:02 +00:00
2013-04-25 18:25:31 +00:00
2013-08-28 16:07:30 +00:00
2013-06-17 03:00:38 +00:00
2014-02-07 20:01:45 +00:00
2014-07-20 22:06:33 +00:00
2013-12-19 17:13:53 +00:00
2014-08-21 14:39:27 +00:00
2014-08-27 15:31:35 +00:00
2013-03-28 23:59:20 +00:00
2014-07-20 22:06:33 +00:00
2014-07-24 13:00:59 +00:00
2014-07-22 16:20:58 +00:00