[asterisk-dev] [Code Review] 2428: Add channel event distribution to app_stasis

opticron reviewboard at asterisk.org
Fri Apr 19 10:28:29 CDT 2013



> On April 19, 2013, 9:12 a.m., Mark Michelson wrote:
> > trunk/include/asterisk/astobj2.h, lines 1888-1891
> > <https://reviewboard.asterisk.org/r/2428/diff/4/?file=36165#file36165line1888>
> >
> >     What's the compilation error?

The compilation issue occurs in utils/ since things there use pieces of main/ without being able to handle init/uninit of things like astobj2 and don't provide necessary symbols that the main Asterisk binary provides.  utils/ is a weird place.


> On April 19, 2013, 9:12 a.m., Mark Michelson wrote:
> > trunk/res/res_stasis.c, lines 430-431
> > <https://reviewboard.asterisk.org/r/2428/diff/4/?file=36170#file36170line430>
> >
> >     This would feel a bit more clear if you return watching_apps instead of watching_apps_iter->c.

Fixed.


- opticron


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


On April 19, 2013, 10:28 a.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2428/
> -----------------------------------------------------------
> 
> (Updated April 19, 2013, 10:28 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-21180
>     https://issues.asterisk.org/jira/browse/ASTERISK-21180
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Add publication of AMI-equivalent channel event messages to users of app_stasis using JSON blobs.
> 
> 
> Diffs
> -----
> 
>   trunk/include/asterisk/astobj2.h 385982 
>   trunk/include/asterisk/stasis_channels.h 385982 
>   trunk/main/astobj2.c 385982 
>   trunk/main/manager_channels.c 385982 
>   trunk/main/stasis_channels.c 385982 
>   trunk/res/res_stasis.c 385982 
>   trunk/res/res_stasis_websocket.c 385982 
> 
> Diff: https://reviewboard.asterisk.org/r/2428/diff/
> 
> 
> Testing
> -------
> 
> Tested with a hacked together app_stasis app which dumps incoming messages.
> 
> 
> Thanks,
> 
> opticron
> 
>

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


More information about the asterisk-dev mailing list