[asterisk-bugs] [Asterisk 0018423]: Device state providers: Chicken and egg problem - initialization of extension state

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Dec 4 06:55:42 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18423 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18423
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.37 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-04 06:55 CST
Last Modified:              2010-12-04 06:55 CST
====================================================================== 
Summary:                    Device state providers: Chicken and egg problem -
initialization of extension state
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-04 06:55 oej            Regression                => No              
2010-12-04 06:55 oej            SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list