[asterisk-dev] [Code Review] Add AMI actions for changing custom device state and generate manager events when device states changes

Olle E Johansson oej at edvina.net
Thu Feb 4 04:03:34 CST 2010


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

Review request for Asterisk Developers.


Summary
-------

Patch by Haakon

This patch adds a "DeviceStateChanged" event to AMI. And also introduces AMI commands DeviceStateSet and DeviceStateGet to controll device states from AMI, if func_devicestate is compiled in.


This addresses bug 16732.
    https://issues.asterisk.org/view.php?id=16732


Diffs
-----

  /trunk/include/asterisk/manager.h 244686 
  /trunk/main/devicestate.c 244686 
  /trunk/main/manager.c 244686 
  /trunk/funcs/func_devstate.c 244686 
  /trunk/CHANGES 244686 
  /trunk/configs/manager.conf.sample 244686 

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


Testing
-------

Tested by contributor. 


Thanks,

Olle E




More information about the asterisk-dev mailing list