[asterisk-dev] [Code Review] 2549: Add dial (begin / end) events to app_queue and app_followme

Jason Parker reviewboard at asterisk.org
Tue May 21 09:54:15 CDT 2013



> On May 20, 2013, 11:04 p.m., Matt Jordan wrote:
> > /trunk/apps/app_queue.c, line 4565
> > <https://reviewboard.asterisk.org/r/2549/diff/1/?file=38282#file38282line4565>
> >
> >     EXITCONTEXT isn't something 'known' currently. I'm not against it, but it doesn't really map cleanly to a hangup cause code, and what the dial end message conveys is the final status of the relationship between the caller/callee during dialing, not why the caller attempted to bail.
> >     
> >     tl;dr:
> >     Why not just CANCEL?

Matt, I sent you an email about this comment last night.  Disregard.  Fixed.


- Jason


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


On May 17, 2013, 9:19 p.m., Jason Parker wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2549/
> -----------------------------------------------------------
> 
> (Updated May 17, 2013, 9:19 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-21550 and ASTERISK-21551
>     https://issues.asterisk.org/jira/browse/ASTERISK-21550
>     https://issues.asterisk.org/jira/browse/ASTERISK-21551
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Since they're silly, and don't use the dial API.
> 
> There is a change in app_dial that addresses an incorrect (backwards) begin event and a missing end event that I noticed.
> 
> 
> Diffs
> -----
> 
>   /trunk/apps/app_dial.c 388998 
>   /trunk/apps/app_followme.c 388998 
>   /trunk/apps/app_queue.c 388998 
>   /trunk/include/asterisk/dial.h 388998 
>   /trunk/main/dial.c 388998 
> 
> Diff: https://reviewboard.asterisk.org/r/2549/diff/
> 
> 
> Testing
> -------
> 
> For app_queue, I get the same number of begin events as I do end events.  I get the number I would expect in all cases I've tried (including the forwarding logic).
> 
> 
> Thanks,
> 
> Jason Parker
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130521/6add0b8c/attachment-0001.htm>


More information about the asterisk-dev mailing list