[Home]

Summary:ASTERISK-17065: [patch] Device state providers: Chicken and egg problem - initialization of extension state
Reporter:Olle Johansson (oej)Labels:patch
Date Opened:2010-12-04 06:55:40.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Core/General
Versions:13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:(We might need a new category - Core/extension and device states )

When the dialplan loads, all hints are initialized to a first state. If a device state provider is not loaded at the time, like meetme (or the new device state provider in chan_sip/Pinana), the hints are not initialized to the initial state. This affects all hints that have an initial state, like a registration in chan_sip, which is a state for "presence" subscriptions using SIMPLE in chan_sip.

The patch in /svn/asterisk/team/oej/pinana-initialize-devstate-1.4 fixes this by re-initializing all hints using the new device state provider after registration of a new device state provider.
Comments:By: Olle Johansson (oej) 2013-04-29 12:35:41.327-0500

2,5 years later I believe this is still not fixed.

By: Olle Johansson (oej) 2013-04-29 13:22:20.928-0500

Created trunk version of the code and put up on reviewboard.