[asterisk-dev] [Code Review] New dialplan application VMSayname with unit test

David Vossel dvossel at digium.com
Wed Feb 24 17:50:06 CST 2010


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


Mark got most of the big stuff. Here are a couple of code style things I saw.


/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/530/#comment3550>

    you could just combine this into the if statement



/trunk/apps/app_voicemail.c
<https://reviewboard.asterisk.org/r/530/#comment3547>

    return res ? AST_TEST_FAIL : AST_TEST_PASS;


- David


On 2010-02-24 16:19:09, Jeff Peeler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/530/
> -----------------------------------------------------------
> 
> (Updated 2010-02-24 16:19:09)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This patch adds a new application, VMSayName, which plays the greeting for a given voicemail user specified by extension and optionally context. If the greeting does not exist, currently the extension is played back.
> 
> 
> This addresses bug 14973.
>     https://issues.asterisk.org/view.php?id=14973
> 
> 
> Diffs
> -----
> 
>   /trunk/apps/app_voicemail.c 248659 
> 
> Diff: https://reviewboard.asterisk.org/r/530/diff
> 
> 
> Testing
> -------
> 
> A unit test has been created to test the code paths used for playback in the case when the greeting is present and when it is not. Because the application is really just a wrapper function, the unit test is what needs to be examined more so than anything else.
> 
> 
> Thanks,
> 
> Jeff
> 
>




More information about the asterisk-dev mailing list