Matthew Jordan
31707b1d69
main: Initialize dialplan providing core components prior to module pre-load
...
It is possible to pre-load pbx_config. As a result, pbx_config - which will
load and parse the dialplan - will attempt to use various dialplan components,
such as device state providers and presence state providers, prior to them
being initialized by the core. This would lead to a crash, as the components
had not created their Stasis cache entries.
This patch moves a number of core component initializations before the module
pre-load. This guarantees that if someone does pre-load pbx_config - or other
pbx modules - that the Stasis caches for the various core components are
created.
(closes issue ASTERISK-23320)
Reported by: xrobau
(closes issue ASTERISK-23265)
Reported by: Andrew Nagy
Tested by: Andrew Nagy, Rusty Newton
........
Merged revisions 408855 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-02-22 23:31:10 +00:00
..
2013-10-23 20:10:30 +00:00
2013-08-28 23:15:43 +00:00
2013-09-18 20:04:14 +00:00
2013-11-23 17:26:57 +00:00
2012-06-26 13:23:12 +00:00
2012-06-15 16:20:16 +00:00
2013-08-01 17:07:52 +00:00
2013-12-19 16:52:43 +00:00
2012-07-11 17:16:50 +00:00
2012-04-17 18:57:40 +00:00
2012-07-11 17:16:50 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2014-02-22 23:31:10 +00:00
2010-07-14 20:48:59 +00:00
2013-08-22 08:26:55 +00:00
2013-08-20 15:36:10 +00:00
2013-09-09 23:29:44 +00:00
2014-01-09 20:34:19 +00:00
2013-11-23 12:40:46 +00:00
2012-06-15 16:20:16 +00:00
2013-08-09 20:29:09 +00:00
2013-08-23 18:07:40 +00:00
2014-01-31 23:40:51 +00:00
2013-12-17 23:25:49 +00:00
2013-12-18 20:33:37 +00:00
2013-08-05 16:59:13 +00:00
2013-12-18 20:33:37 +00:00
2013-12-03 17:35:54 +00:00
2012-09-25 19:29:14 +00:00
2013-10-03 14:58:16 +00:00
2014-02-03 01:31:53 +00:00
2014-01-24 23:33:26 +00:00
2013-10-03 21:46:07 +00:00
2014-02-21 15:46:20 +00:00
2013-08-28 16:09:12 +00:00
2014-01-14 18:14:02 +00:00
2013-09-20 22:44:11 +00:00
2014-02-20 21:04:28 +00:00
2013-12-18 20:33:37 +00:00
2013-12-18 19:28:05 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2013-10-24 17:00:27 +00:00
2013-06-29 00:18:57 +00:00
2013-12-19 16:33:09 +00:00
2014-02-04 20:15:22 +00:00
2013-12-18 20:33:37 +00:00
2013-07-14 02:05:04 +00:00
2013-05-24 20:44:07 +00:00
2012-10-18 14:17:40 +00:00
2012-03-22 19:51:16 +00:00
2013-12-18 20:33:37 +00:00
2013-05-24 20:44:07 +00:00
2013-09-10 18:05:47 +00:00
2013-10-01 16:44:22 +00:00
2014-01-17 17:16:14 +00:00
2014-01-27 01:25:23 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2013-10-03 14:58:16 +00:00
2014-01-17 21:33:26 +00:00
2014-02-14 21:29:31 +00:00
2014-01-17 21:33:26 +00:00
2013-12-17 18:26:09 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2014-01-17 20:51:19 +00:00
2012-12-11 22:25:21 +00:00
2013-09-10 18:05:47 +00:00
2012-06-15 16:20:16 +00:00
2013-10-24 19:42:21 +00:00
2014-02-21 17:47:58 +00:00
2012-09-14 19:53:43 +00:00
2012-01-30 21:21:16 +00:00
2013-10-31 16:06:14 +00:00
2013-09-09 20:13:40 +00:00
2014-02-13 15:51:22 +00:00
2013-08-23 21:49:47 +00:00
2013-12-17 23:25:49 +00:00
2014-01-31 23:40:51 +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-02-21 18:19:31 +00:00
2012-04-28 01:33:49 +00:00
2013-12-03 16:39:13 +00:00
2013-12-18 19:28:05 +00:00
2013-07-29 17:51:25 +00:00
2013-08-30 19:22:59 +00:00
2013-10-04 21:41:58 +00:00
2013-10-04 21:41:58 +00:00
2013-09-19 23:20:43 +00:00
2013-09-06 19:26:48 +00:00
2014-02-22 02:31:04 +00:00
2013-12-18 20:33:37 +00:00
2012-06-15 16:20:16 +00:00
2010-09-07 19:09:08 +00:00
2013-08-17 14:39:27 +00:00
2012-06-15 16:20:16 +00:00
2014-02-21 18:37:24 +00:00
2013-12-20 21:18:00 +00:00
2014-02-11 20:17:42 +00:00
2013-06-22 14:03:22 +00:00
2014-02-07 20:17:50 +00:00
2013-09-30 18:55:27 +00:00
2012-09-21 17:14:59 +00:00
2012-10-11 15:49:02 +00:00
2013-05-28 17:47:29 +00:00
2014-02-21 18:04:54 +00:00
2013-12-20 19:06:57 +00:00
2013-05-08 20:25:28 +00:00
2014-02-01 16:26:57 +00:00
2013-09-30 18:55:27 +00:00
2013-10-02 17:12:49 +00:00
2014-02-21 18:04:54 +00:00
2014-02-14 21:44:57 +00:00
2014-01-12 22:07:01 +00:00
2013-11-22 20:10:46 +00:00
2013-07-19 18:00:35 +00:00
2014-01-12 22:07:01 +00:00
2013-01-19 20:54:07 +00:00
2014-01-14 21:46:50 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2013-10-25 23:58:32 +00:00
2014-02-04 18:16:09 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2013-12-13 20:17:22 +00:00
2013-06-20 16:29:35 +00:00
2013-08-20 15:36:10 +00:00
2014-02-07 20:01:45 +00:00
2013-11-22 17:12:29 +00:00
2014-01-30 20:36:21 +00:00
2012-06-15 16:20:16 +00:00
2014-01-24 22:34:23 +00:00
2013-04-26 20:32:11 +00:00
2013-10-03 18:00:15 +00:00
2013-12-11 13:06:30 +00:00