[asterisk-dev] [Code Review] 2577: Replace ast_manager_publish_message() with ast_manager_publish_event()

Jason Parker reviewboard at asterisk.org
Thu May 30 11:56:40 CDT 2013


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

Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

Replace ast_manager_publish_message() (and publish_system_message()) with ast_manager_publish_event().  The former was unused and not very useful.  The new function allows you to post an event name, security level, and json blob to be sent out AMI.


Diffs
-----

  /trunk/include/asterisk/manager.h 390018 
  /trunk/main/asterisk.c 390018 
  /trunk/main/manager.c 390018 

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


Testing
-------

It compiles.  FullyBooted still gets sent out.


Thanks,

Jason Parker

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


More information about the asterisk-dev mailing list