[asterisk-dev] [Code Review] 3378: [main/say.c] SayNumber for Polish language tries to play empty files for numbers divisible by 100

zvision reviewboard at asterisk.org
Wed Mar 26 17:43:30 CDT 2014


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

(Updated March 26, 2014, 5:43 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 411243


Bugs: ASTERISK-23509
    https://issues.asterisk.org/jira/browse/ASTERISK-23509


Repository: Asterisk


Description
-------

SayNumber diaplan application tries to play an invalid/empty sound file (digits/) for numbers divisible by 100 when Polish language is selected.
First it plays a correct sound (digits/100, for example) and then it tries to play an empty file. The number spelled is correct,
but Asterisk gives WARNINGs about a missing file.

The problem is an incorrect check while playing tenths sound - it tries to play a tenths sound when number is 0.

The patch fixes the problem and clarifies a bit other checks.


Diffs
-----

  http://svn.asterisk.org/svn/asterisk/branches/1.8/main/say.c 410948 

Diff: https://reviewboard.asterisk.org/r/3378/diff/


Testing
-------

Tested by listening to various number sequences, everything seems to be fine.


Thanks,

zvision

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140326/8ff651db/attachment.html>


More information about the asterisk-dev mailing list