[asterisk-dev] [Code Review] 2480: Properly initiate device state providers

Olle E Johansson reviewboard at asterisk.org
Mon Apr 29 13:16:24 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2480/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-17065
    https://issues.asterisk.org/jira/browse/ASTERISK-17065


Repository: Asterisk


Description
-------

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-trunk fixes this by re-initializing all hints using the new device state provider after registration of a new device state provider.


Diffs
-----

  /trunk/include/asterisk/pbx.h 386860 
  /trunk/main/devicestate.c 386860 
  /trunk/main/pbx.c 386860 

Diff: https://reviewboard.asterisk.org/r/2480/diff/


Testing
-------


Thanks,

Olle E Johansson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130429/584c1685/attachment.htm>


More information about the asterisk-dev mailing list