[asterisk-dev] [Code Review] Voicemail check cleanup

Mark Michelson mmichelson at digium.com
Thu Feb 25 17:21:48 CST 2010


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


The bug fixes look fine to me. The only comments I have now are in the unit test that was added.


/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3576>

    Though the return of system() is saved here, the value is not inspected.



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3579>

    It appears that this file does not get deleted when the test is finished.



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3577>

    Though the return of system is saved, the value is never inspected.



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3580>

    It appears this file does not get deleted when the test finishes.



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3582>

    All the indices of expected_results in the ast_test_status_update call are off by one.



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/525/#comment3575>

    Minor nitpick: Any reason the second line is indented further in than the first one?


- Mark


On 2010-02-24 10:04:33, Tilghman Lesher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/525/
> -----------------------------------------------------------
> 
> (Updated 2010-02-24 10:04:33)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> A few cleanups to fix a few bugs.
> 
> - Urgent voicemails were not attached, because the attachment code looked in the wrong folder.
> - Urgent voicemails were sometimes counted twice when displaying the count of new messages.
> - Backends were inconsistent as to which voicemails each API counted.
> 
> 
> This addresses bugs 15654 and 16448.
>     https://issues.asterisk.org/view.php?id=15654
>     https://issues.asterisk.org/view.php?id=16448
> 
> 
> Diffs
> -----
> 
>   /trunk/apps/app_voicemail.c 248394 
> 
> Diff: https://reviewboard.asterisk.org/r/525/diff
> 
> 
> Testing
> -------
> 
> Unit test written, tested, and included.
> 
> 
> Thanks,
> 
> Tilghman
> 
>




More information about the asterisk-dev mailing list