[asterisk-dev] [Code Review] 2383: Refactor Dialing to publish Stasis-Core messages

Matt Jordan reviewboard at asterisk.org
Wed Apr 3 12:27:20 CDT 2013



> On April 3, 2013, 5:03 p.m., opticron wrote:
> > /trunk/main/stasis_channels.c, line 119
> > <https://reviewboard.asterisk.org/r/2383/diff/8/?file=35400#file35400line119>
> >
> >     This should check for !snapshot as well.

Fixed


> On April 3, 2013, 5:03 p.m., opticron wrote:
> > /trunk/main/stasis_channels.c, line 108
> > <https://reviewboard.asterisk.org/r/2383/diff/8/?file=35400#file35400line108>
> >
> >     This doesn't need an ast_ prefix since it isn't shared outside this translation unit.

Fixed


- Matt


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


On April 2, 2013, 9:38 p.m., Matt Jordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2383/
> -----------------------------------------------------------
> 
> (Updated April 2, 2013, 9:38 p.m.)
> 
> 
> Review request for Asterisk Developers and David Lee.
> 
> 
> Bugs: ASTERISK-21196
>     https://issues.asterisk.org/jira/browse/ASTERISK-21196
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> As part of the CDR work for Asterisk 12 (see https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+CDR+Specification), we need Dial information published over Stasis-Core. This patch refactors app_dial to publish the necessary events.
> 
> The Dial based events are slightly different in Asterisk 12 than in other previous versions:
>  * Dial is now two events, DialBegin and DialEnd. This matches the nomenclature of other AMI events. See https://wiki.asterisk.org/wiki/display/AST/AMI+1.4+Specification for more information.
>  * Dial events now occur at the beginning of a dial operation and when the status of the dial operation is known. Previously, it occurred on application exit, which occurred after bridging.
> 
> Note that other applications will need refactoring as well (such as the Dial Framework, Queue, FollowMe, etc.) - however, in order to limit the scope of the work, I've kept it only to app_dial at this point.
> 
> 
> Diffs
> -----
> 
>   /trunk/include/asterisk/channel.h 384513 
>   /trunk/include/asterisk/stasis_channels.h PRE-CREATION 
>   /trunk/main/channel.c 384513 
>   /trunk/main/channel_internal_api.c 384513 
>   /trunk/main/dial.c 384513 
>   /trunk/main/features.c 384513 
>   /trunk/main/manager_channels.c 384513 
>   /trunk/main/pbx.c 384513 
>   /trunk/main/stasis_channels.c PRE-CREATION 
>   /trunk/pbx/pbx_realtime.c 384513 
>   /trunk/tests/test_stasis_channels.c PRE-CREATION 
>   /trunk/apps/app_userevent.c 384513 
>   /trunk/CHANGES 384513 
>   /trunk/apps/app_dial.c 384513 
> 
> Diff: https://reviewboard.asterisk.org/r/2383/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Matt Jordan
> 
>

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


More information about the asterisk-dev mailing list