--- say_intl.txt 2004-04-25 13:14:05.000000000 +0200 +++ say_da.txt 2004-04-25 13:27:08.000000000 +0200 Index: say.c =================================================================== RCS file: /usr/cvsroot/asterisk/say.c,v retrieving revision 1.16 diff -u -r1.16 say.c --- say.c 20 Feb 2004 17:43:46 -0000 1.16 -+++ say.c 25 Apr 2004 10:43:57 -0000 ++++ say.c 25 Apr 2004 11:27:08 -0000 @@ -27,6 +27,9 @@ #define DIGITS_DIR AST_SOUNDS "/digits/" @@ -318,7 +269,7 @@ - snprintf(fn, sizeof(fn), "digits/%d", num); + return ast_say_digits_full(chan, 0,ints, language, audiofd, ctrlfd); + -+ if (!strncasecmp(options, "n",1)) cn = -1; ++ if (options && !strncasecmp(options, "n",1)) cn = -1; + + while(!res && (num || playh || playa )) { + /* The grammer for Danish numbers is the same as for English except @@ -387,7 +338,7 @@ + + } else { + if (num < 1000000) { -+ res = ast_say_number_full_da(chan, num / 1000, ints, language, options, audiofd, ctrlfd); ++ res = ast_say_number_full_da(chan, num / 1000, ints, language, "n", audiofd, ctrlfd); + if (res) + return res; + num = num % 1000; @@ -395,7 +346,7 @@ + } else { + if (num < 1000000000) { + int millions = num / 1000000; -+ res = ast_say_number_full_da(chan, millions, ints, language, options, audiofd, ctrlfd); ++ res = ast_say_number_full_da(chan, millions, ints, language, "c", audiofd, ctrlfd); + if (res) + return res; + if (millions == 1)