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

Matthew Nicholson reviewboard at asterisk.org
Mon Oct 3 10:32:47 CDT 2011


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



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

    Currently this is only used in the framehook and could be a local variable there. I don't know if you have other plans for this in the future though.



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

    Should this be "dsp_detect_flag | DSP_FAXMODE_DETECT_SQUELCH" ('|' instead of '||')?



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

    Not necessary. Details ref is removed in destroy_faxdetect().



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

    This is done in destroy_gateway().


- Matthew


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/6d0d2037/attachment-0001.htm>


More information about the asterisk-dev mailing list