[asterisk-dev] [Code Review] 3417: Add AMI events for all device state and presence state changes

Mark Michelson reviewboard at asterisk.org
Wed Apr 23 18:02:38 CDT 2014


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

(Updated April 23, 2014, 11:02 p.m.)


Review request for Asterisk Developers.


Changes
-------

This places the topic forwarders for presence state and device state into loadable modules. This way, you can simply not load the respective module if you do not wish to have device state or presence state messages forwarded to the manager.


Repository: Asterisk


Description
-------

AMI does not emit events when device state or presence state changes. The closest things that exist currently are the ExtenstionStatus and PresenceStatus events, which inform about device state and presence state events as they pertain to hints in the dialplan. These new events are raised for every device state change or presence state change in Asterisk.


Diffs (updated)
-----

  /trunk/res/res_manager_presencestate.c PRE-CREATION 
  /trunk/res/res_manager_devicestate.c PRE-CREATION 
  /trunk/main/presencestate.c 412583 
  /trunk/main/devicestate.c 412583 

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


Testing
-------

See /r/3418


Thanks,

Mark Michelson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140423/69332127/attachment.html>


More information about the asterisk-dev mailing list