> On June 23, 2014, 4:36 p.m., Matt Jordan wrote:
> > /trunk/res/res_fax.c, line 4084
> > <https://reviewboard.asterisk.org/r/3666/diff/1/?file=60383#file60383line4084>
> >
> >     This call can fail. If it does, emit an error and bail appropriately.
> 
> Jonathan Rose wrote:
>     Problem is, there is currently no way to detect whether 
> generate_filenames_string returned NULL due to an empty list or if it was 
> actually due to an allocation failure. Currently the CLI output doesn't try 
> to distinguish between the two, but I suppose at the very least I should add 
> some NULL checking.

Nevermind, I already had NULL checking for the event. I'll go ahead and repost 
the review. If we want to pursue this further, I'll need to change how 
generate_filenames_string works.


- Jonathan


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


On June 23, 2014, 2:42 p.m., Jonathan Rose wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3666/
> -----------------------------------------------------------
> 
> (Updated June 23, 2014, 2:42 p.m.)
> 
> 
> Review request for Asterisk Developers, Matt Jordan and Mark Michelson.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> More CLI to AMI command conversions, this time focusing on everyone's 
> favorite method for sending documents, FAX!
> 
> FAXSessions replicates the functionality of fax show sessions, and is more or 
> less a 1:1 duplication.
> FAXSession replicates the functionality of fax show session. Output is 
> slightly stripped down from the CLI variant in order to keep things 
> consistent across multiple FAX modules and not just spandsp.
> FAXStats replicates the functionality of fax show stats, but only provides 
> the fields that res_fax would normally provide in fax show stats and not any 
> of the technology specific fields.
> 
> 
> Diffs
> -----
> 
>   /trunk/res/res_fax_spandsp.c 416868 
>   /trunk/res/res_fax.c 416868 
>   /trunk/include/asterisk/res_fax.h 416868 
> 
> Diff: https://reviewboard.asterisk.org/r/3666/diff/
> 
> 
> Testing
> -------
> 
> Created some simple transmit/receive fax sessions by originating calls 
> to/from faxsend/faxreceive extensions and then ran each of these commands.
> Did the above with and without action_id included to make sure it would be 
> reproduced across events and responses.
> Checked the output of documentation for events and actions for sanity.
> 
> 
> Thanks,
> 
> Jonathan Rose
> 
>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to