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

opticron reviewboard at asterisk.org
Thu May 30 13:45:12 CDT 2013


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



/trunk/main/manager.c
<https://reviewboard.asterisk.org/r/2577/#comment17107>

    As an afterthought, the function should probably just assert that the two pointers are non-NULL.


- opticron


On May 30, 2013, 11:56 a.m., Jason Parker wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2577/
> -----------------------------------------------------------
> 
> (Updated May 30, 2013, 11:56 a.m.)
> 
> 
> 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/f7ae8ef2/attachment.htm>


More information about the asterisk-dev mailing list