aboutsummaryrefslogtreecommitdiffstats
path: root/main/say.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-21Fix a crash when saying certain numbers in Chinesemmichelson1-8/+0
This commit fixes a crash that was occurring when attempting to say a number between 10000 and 100000 due to dividing by 0. This also removes some places where a "zero" is spoken when it should not be. (closes issue #14291) Reported by: dant Patches: say.c-14291.diff uploaded by dant (license 670) Tested by: dant git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169794 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-16Merged revisions 168828 via svnmerge from tilghman1-0/+109
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168828 | tilghman | 2009-01-16 12:41:35 -0600 (Fri, 16 Jan 2009) | 6 lines Fix the conjugation of Russian and Ukrainian languages. (related to issue #12475) Reported by: chappell Patches: vm_multilang.patch uploaded by chappell (license 8) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168832 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-10That's all, folks. Not going to update the Makefile until res_jabber isseanbright1-356/+356
converted (snuffy, you there? :)) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137110 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 132112 via svnmerge from tilghman1-19/+75
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132112 | tilghman | 2008-07-18 14:06:10 -0500 (Fri, 18 Jul 2008) | 6 lines Fix for Taiwanese number syntax (closes issue #12319) Reported by: CharlesWang Patches: saynumber-tw-1.4.18.1.patch uploaded by CharlesWang (license 444) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132113 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-18Merged revisions 123769 via svnmerge from tilghman1-143/+429
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines Add support for saying numbers in Hebrew. (closes issue #11662) Reported by: greenfieldtech Patches: say.c.patch-12042008 uploaded by greenfieldtech (license 369) Hebrew-Sounds.ods uploaded by greenfieldtech (with signficant changes to the spreadsheet by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123770 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-04Whitespace changes onlytilghman1-60/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105840 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19Change verbosity into debug for Hebrew (and various whitespace fixes)tilghman1-381/+382
(Closes issue #12011) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103805 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21Merged revisions 94420 via svnmerge from mmichelson1-13/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r94420 | mmichelson | 2007-12-21 09:45:14 -0600 (Fri, 21 Dec 2007) | 5 lines Fixing Portuguese syntax for saying dates and times. Also some coding guidelines cleanup. (closes issue #11599, reported and patched by caio1982, coding guidelines cleanup by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21remove a bunch of useless #include "options.h"rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89511 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20Add support for new recorded character soundstilghman1-2/+3
Closes issue #5208 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19another bunch of include removals (errno.h and asterisk/logger.h)rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89425 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16Start untangling header inclusion in a way that does not affectrizzo1-4/+0
build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-08Merged revisions 89125 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11203) ........ r89125 | qwell | 2007-11-08 17:52:35 -0600 (Thu, 08 Nov 2007) | 4 lines Properly say the seconds here.. Issue 11203, fix described by vma. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89126 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Merged revisions 88283 via svnmerge from qwell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11147) ........ r88283 | qwell | 2007-11-02 11:51:08 -0500 (Fri, 02 Nov 2007) | 4 lines We need to make sure to specify a language to ast_fileexists, otherwise it may fail for anything besides en Issue 11147, fix discovered by both citats and myself (independently), with input from Corydon76 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88284 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15Merged revisions 85686 via svnmerge from russell1-6/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85686 | russell | 2007-10-15 15:21:27 -0500 (Mon, 15 Oct 2007) | 7 lines Add a small fix for the tw version of saying dates. (closes issue #7827) Reported by: sharkey Patches: say.nits.patch uploaded by sharkey (license 172) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85718 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Change simple uses of snprintf to ast_copy_string. This was provided byrussell1-37/+37
mvanbaak as a part of issue #10843, but this part didn't apply because of a patch I applied right beforehand. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Corydon posted this janitor project to the bug tracker and mvanbaak providedrussell1-162/+162
a patch for it. It replaces a bunch of simple calls to snprintf with ast_copy_string (closes issue #10843) Reported by: Corydon76 Patches: 2007092900_10843.diff uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Simplify code by using the -= and %= operators.russell1-52/+52
(closes issue #10848) Reported by: opticron Patches: saymod.diff uploaded by opticron (license 267) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84172 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-28Merged revisions 84078 via svnmerge from tilghman1-6/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84078 | tilghman | 2007-09-28 09:13:47 -0500 (Fri, 28 Sep 2007) | 2 lines Correct pronunciations of numbers for .nl (Closes issue #10837) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84079 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-05Merged revisions 81599 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81599 | russell | 2007-09-05 15:53:41 -0500 (Wed, 05 Sep 2007) | 11 lines Fix an issue that can occur when you do an attended transfer to parking. If you complete the transfer before the announcement of the parking spot finishes, then the channel being parked will hear the remainder of the announcement. These changes make it so that will not happen anymore. Basically, res_features sets a flag on the channel is playing the announcement to so that the file streaming core knows that it needs to watch out for a channel masquerade, and if it occurs, to abort the announcement. (closes BE-182) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81600 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-30Merged revisions 77795 via svnmerge from qwell1-15/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #10083) ........ r77795 | qwell | 2007-07-30 15:17:08 -0500 (Mon, 30 Jul 2007) | 6 lines Applications like SayAlpha() should not hang up the channel if you request an "unknown" character such as a comma. Instead, skip the character and move on. Issue 10083, initial patch by jsmith, modified by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77796 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Do a massive conversion for using the ast_verb() macrorussell1-2/+2
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Merge in ast_strftime branch, which changes timestamps to be accurate to the ↵tilghman1-286/+277
microsecond, instead of only to the second git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75706 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Add support for Thai language in say.cqwell1-0/+350
Issue 9417, patch by dome, with some cleanup done by me. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Convert so more logging to ast_debug (issue #10045, dimas)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71557 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Conversions to ast_debug()russell1-60/+30
(issue #9984, patches from eliel and dimas) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71338 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Merged revisions 69392 via svnmerge from kpfleming1-30/+49
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines use ast_localtime() in every place localtime_r() was being used ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Merged revisions 69358 via svnmerge from russell1-8/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69358 | russell | 2007-06-14 16:08:23 -0500 (Thu, 14 Jun 2007) | 3 lines Fix some problems with saying dates and times for the "tw" langauge (issue #9964, ljmid) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-08Merged revisions 68401 via svnmerge from file1-6/+18
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r68401 | file | 2007-06-07 20:17:04 -0400 (Thu, 07 Jun 2007) | 10 lines Merged revisions 68397 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68397 | file | 2007-06-07 20:15:33 -0400 (Thu, 07 Jun 2007) | 2 lines Don't call ast_waitstream_full when the control file descriptor and audio file descriptor are not set, simply call ast_waitstream! (issue #8530 reported by rickead2000) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68354 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r68354 | russell | 2007-06-07 18:14:45 -0500 (Thu, 07 Jun 2007) | 11 lines Merged revisions 68351 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) | 3 lines Fix a problem where saying a character wouldn't properly break out when the caller pressed '#' (issue #8113, reported by patbaker82, patch from jamesgolovich (hey, long time no see!) and patbaker82) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Issue 9869 - replace malloc and memset with ast_calloc, and other coding ↵tilghman1-7/+7
guidelines changes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25Merged revisions 66159 via svnmerge from tilghman1-26/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r66159 | tilghman | 2007-05-25 09:41:27 -0500 (Fri, 25 May 2007) | 10 lines Merged revisions 66127 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r66127 | tilghman | 2007-05-25 08:46:35 -0500 (Fri, 25 May 2007) | 2 lines Issue 9791 - Fix pronunciation of seconds in Dutch ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66161 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-02Add Hungarian language support to say.c and say.conf.russell1-0/+158
(issue #7077, patch by adomjan) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62792 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-14test my new trunk access ;)junky1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61661 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-06move declaration to the beginning of a blockrizzo1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57993 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-03Merged revisions 57620 via svnmerge from dhubbard1-0/+389
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r57620 | dhubbard | 2007-03-02 18:59:24 -0600 (Fri, 02 Mar 2007) | 1 line submitted patch for Georgian language, issue 9010, submitted by Alexander Shaduri ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57621 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23Cosmetic changes. Make main source files better conform to coding guidelines ↵file1-33/+33
and standards. (issue #8679 reported by johann8384) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Merged revisions 46857 via svnmerge from russell1-4/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46857 | russell | 2006-11-01 18:01:48 -0500 (Wed, 01 Nov 2006) | 2 lines fix saying one hundred and two hundred in hebrew (issue #7810, eldadran) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46863 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01This introduces Brazilian Portuguese via 7663murf1-74/+211
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46773 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26fix various spelling mistakes in comments (issue #8237, jmls)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03bug #8076 check option_debug before printing to debug channel.mogorman1-31/+61
patch provided in bugnote, with minor changes. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+6420
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b