[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:56:58 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18423 
====================================================================== 
Reported By:                oej
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   18423
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.37 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1048 
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:56 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:56 oej            Reviewboard Link          =>
https://reviewboard.asterisk.org/r/1048
======================================================================




More information about the asterisk-bugs mailing list