[asterisk-dev] [Code Review] Allow dialplan control of faxdetection via faxdetect framehook / options in func CHANNEL

Kevin Fleming reviewboard at asterisk.org
Mon Oct 3 08:44:36 CDT 2011


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

Ship it!


I haven't thoroughly checked for possible locking issues, but this code appears to follow the 'gateway detect' framehook code pretty closely, so it looks like it is right. I'll give this a provisional 'Ship It', but I'd like to see a review by Matt Nicholson as well.

Very nice work :-)


/trunk/res/res_fax.c
<https://reviewboard.asterisk.org/r/1116/#comment8635>

    Repeated 'seconds' here.



/trunk/res/res_fax.c
<https://reviewboard.asterisk.org/r/1116/#comment8636>

    Is this '!=' correct here? It seems backwards.



/trunk/res/res_fax.c
<https://reviewboard.asterisk.org/r/1116/#comment8637>

    There is already a reference to 'faxdetect' in use here (the one created by fax_detect_new()) which hasn't been released. Why is another reference necessary?
    
    On the line 'fr_hook.data = faxdetect;' that reference is *transferred* to the fr_hook structure.


- Kevin


On Oct. 2, 2011, 2:13 p.m., irroot wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1116/
> -----------------------------------------------------------
> 
> (Updated Oct. 2, 2011, 2:13 p.m.)
> 
> 
> Review request for Asterisk Developers, Russell Bryant, Matthew Nicholson, dimas, may213, Leif Madsen, and dafe_von_cetin.
> 
> 
> Summary
> -------
> 
> Hi there the patch that was going around circa 2008 to implement this in 1.4/1.6 app_fax has been moved to trunk [1.10]
> ive made some cleanups and moved it into res_fax res_fax_spandsp this is the framework and not production code
> unfortunately i have no means of testing it at the moment and require help.
> 
> i have cleaned the code up substantially it is related to R459
> 
> hope this is found useful and aids in the goal to get it in 1.10.
> 
> Adds application FaxGateway / FaxDetect
> Adds alternate bridge to Dial with new option.
> 
> 
> This addresses bug ASTERISK-18569.
>     https://issues.asterisk.org/jira/browse/ASTERISK-18569
> 
> 
> Diffs
> -----
> 
>   /trunk/addons/chan_ooh323.c 338905 
>   /trunk/funcs/func_channel.c 338905 
>   /trunk/include/asterisk/res_fax.h 338905 
>   /trunk/res/res_fax.c 338905 
> 
> Diff: https://reviewboard.asterisk.org/r/1116/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> irroot
> 
>

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


More information about the asterisk-dev mailing list